I have an Arch Linux
system which does not start X on boot. I want to initiate Xorg
on the server itself and do not want X over SSH
Usually the way to do this is the command 'startx'
You may wish to make SSH not allocate a TTY so you can exit the SSH session
Something like
ssh -nqxT hostname "startx -- vt7 < /dev/null > /path/to/logfile.log 2>&1"
You may run into trouble with your user not being allowed to start the display unless they are logged into a console, and will likely need to configure the system in other ways to allow that, possibly in the 'pam' configuration, or possibly /etc/X11/Xwrapper.config
lightdm
) - see wiki.archlinux.org/index.php/display_manager – ridgy Feb 11 '17 at 11:23