In most case I login to the server as a root and start the X server manually by calling the startx
function. After the I can use X11 forwarding. However I would like to know how can I start X11 as a service on boot time?
Asked
Active
Viewed 1,021 times
1 Answers
1
You can set the default runlevel in /etc/inittab
.
Runlevel 3, which is most probabyl set right now only starts multiuser without graphical systems.
If you change it to 5 it should start X11 on boot.

Florin Asăvoaie
- 7,057
- 23
- 35

Gerald Schneider
- 23,274
- 8
- 57
- 89
-
if the 3 in the `id:3:initdefault:` is changed, than the it will start the xserver on boot? – Mokus Aug 18 '14 at 10:41
-
As long as a display manager is installed it should, yes. – Gerald Schneider Aug 18 '14 at 10:58