Can you run StartX on a root account?
Even after this, I’m unable to run startx unless I use root account. First a clarification, X is not a window manager, it is a windowing system.
What does the StartX command do in xinit?
If no specific client program is given on the command line, xinit will look for a file in the user’s home directory called .xinitrc to run as a shell script to start up client programs. If no such file exists, xinit will use the following as a default:
What does StartX mean to be a default runlevel?
If the display manager is not started by default in the default runlevel, you can start X a different way, after logging on to a text-mode console, by running startx from the command line. What does it mean to be a default runlevel?
What does the c command do in StartX?
C) Run (notice: startx is normally run with first the client command, then a double dash, and then a server command. As I said, most new systems do not have sensible defaults for startx alone.). …and you have a 80ies workstation screen: (You can have the menu by clicking on the “Xnest” desktop).
What happens when xinit is started by a non root user?
For some strange reason, xinit produces an error when it is started by a non-root user. The logs say this: However, I can stat and ls the file from the non-root user and the permission on it are 755
How to boot a machine without launching the X Server?
If for some reason you want to boot the machine without launching the X server (for example because there is a problem with it) you can use the boot manager and add `systemd.unit=multi-user.target` to force the multi-user target instead of the graphical one.
Is it possible to start X server on SSH?
Note that it will just do what you ask, launch the X server on the remote machine. By default you will not be able to interact with it with the distant keyboard or mouse. But it can do what you want if you configure it correctly. Re: [Solved] startx over SSH? (not VNC!)