You are not logged in.
The problem: when I connect to PC1 via ssh and run tmux, I get:
/usr/lib/Xorg.wrap: Only console users are allowed to run the X server
Obviously, it tries to start X server.
This is being started by .bash_profile script from wiki
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi
The interesting part: before running tmux on PC1 there is no XDG_VTNR variable in environment (as expected).
Deleted the "exec startx" line from .bash_profile and started tmux - there is XDG_VTNR=1 (not expected).
Does anyone know, where I should continue debugging? Or does anyone else encountered this problem?
Thank you.
Offline