Created
June 18, 2017 10:07
-
-
Save pigfrown/897692efb82351f64ff5c2bca4bd4f4e to your computer and use it in GitHub Desktop.
Starting an Xorg server via ssh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
By default on Arch Linux only console users can start xorg-server. | |
Edit/create /etc/X11/Xwrapper.config and add the following: | |
allowed_users=anybody | |
can now start xorg via ssh with the following command: | |
ssh -nqxT $HOSTNAME "startx -- vt7 < /dev/null > /path/to/log/xremotelog 2>&1" | |
vt7 is the virtual console to start the X server on. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need to rerun the nvidia-xconfig command everytime you add/remove a GPU