Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Tmux error when started. (Read 3524 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Tmux error when started.

I installed Artix and stared i3 in the `startx` when I log in

Now when I run tmux I get the following error message:

Code: [Select]
    81 \[    20.241\] (WW) xf86OpenConsole: VT\_ACTIVATE failed: Operation not permitted                                                                                      
    82 \[    20.241\] (EE)
    83 Fatal server error:
    84 \[    20.241\] (EE) xf86OpenConsole: Switching VT failed
    85 \[    20.241\] (EE)
    86 \[    20.241\] (EE)
    87 Please consult the The [X.Org](https://X.Org) Foundation support
    88      at [http://wiki.x.org](http://wiki.x.org)
    89  for help.
    90 \[    20.241\] (EE) Please also check the log file at "/home/<user>/.local/share/xorg/Xorg.1.log" for additional information.
    91 \[    20.241\] (EE)
    92 \[    20.242\] (WW) xf86CloseConsole: KDSETMODE failed: Operation not permitted
    93 \[    20.242\] (WW) xf86CloseConsole: VT\_SETMODE failed: Operation not permitted
    94 \[    20.242\] (WW) xf86CloseConsole: VT\_ACTIVATE failed: Operation not permitted
    95 \[    20.242\] (EE) Server terminated with error (1). Closing log file.

I already tried to add the line `allowed_users=anybody` to the file `~/etc/X11/Xwrapper.config` but tmux does not start. How do I solve this issue


Update/Solution

Please check Chris's answer for the solution

here


Re: Tmux error when started.

Reply #2
I have added it to a paste bin here

https://ptpb.pw/TT86

I assume there is something of with the permission but I am not sure where this can be changed.

Re: Tmux error when started.

Reply #3
Is your user part of the "video" group?
Chris Cromer

Re: Tmux error when started.

Reply #4
Jep I have added the user to the video group. But Tmux show the same error message

Re: Tmux error when started.

Reply #5
Can you show us your .xinitrc file?
Chris Cromer

Re: Tmux error when started.

Reply #6
Looking over you xorg log, it says the intel module could notbe found. Have you installed your intel graphics card driver?
Chris Cromer

Re: Tmux error when started.

Reply #7
I have installed the driver
Code: [Select]
 xf86-video-intel 
. Do I have to initiate it in the openRC, too?

and here is my
Code: [Select]
.xinitfile 
 
Here

I might be wrong but I would say that I just start i3


Re: Tmux error when started.

Reply #9
I use the `bash_profile` file and call startx when I replace it with xinit I get an other permission denied message

the main error message is

parse_vt_settings: cannot open /dev/tty0 (permission denied)

my bash profile looks as follows

Code: [Select]
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
exec startx
exec nm-applet

Re: Tmux error when started.

Reply #10
Can you remove that from your .bash_profile? Try running xinit manually from the console after login. It is easier to find if the problem is with tmux and xorg rather than a problem with autostarting xorg.
Chris Cromer

Re: Tmux error when started.

Reply #11
I removed the `startx` line out of the file and ran `xinit` then I get the following error message


psatebin

Re: Tmux error when started.

Reply #12
Add this:
Code: [Select]
needs_root_rights=yes
to /etc/X11/Xwrapper.config

If that file already exists, show me the content please.
Chris Cromer

Re: Tmux error when started.

Reply #13
The file contains

`allowed_users=anybody`

 $ sudo cat /etc/X11/Xwrapper.config
allowed_users=anybody