Disable display manager on boot: Difference between revisions

From Rsewiki
No edit summary
 
Line 26: Line 26:
===failsafe boot - root shell===
===failsafe boot - root shell===


You need to remount disk in rw mode to fix problems
if you need failsafe boot and use the roor shell, you will need to remount the disk in rw mode to fix problems


  mount -n -o remount,rw /
  mount -n -o remount,rw /

Latest revision as of 10:56, 26 June 2012

On robots that is normally without a screen, there is no need to run a display manager and a graphic user interface.

This will save some memory and start less processes.

inspect /etc/init, there is a configuration entry for the installed display manager, e.g.

gdm.conf (gnome ubuntu)
kdm.conf (kubuntu)
lightdm.conf (xubuntu)

To start the display manager and graphic user interface when needed only, make a manual override file for the display manager:

sudo bash
echo "manual" > /etc/init/gdm.override
echo "manual" > /etc/init/kdm.override
echo "manual" > /etc/init/lightdm.override
exit

After reboot, there will be a text login only. To (re)start the display manager (graphic login screen) use the command

sudo gdm     or
sudo kdm
sudo ligntdm

failsafe boot - root shell

if you need failsafe boot and use the roor shell, you will need to remount the disk in rw mode to fix problems

mount -n -o remount,rw /