關閉gdm的方法 (Disable gdm)
Refernece : http://superuser.com/questions/266040/how-do-you-disable-an-upstart-service-in-ubuntu-10-10
關閉gdm的方法
1. Ubuntu 10.10
$ apt-get install chkconfig
$ chkconfig --list | grep 'gdm'
gdm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
$ chkconfig -s gdm off
2. Ubuntu 11.04
$ sudo vim /etc/init/gdm.conf
start on (filesystem
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
stop on runlevel [016]
將stop on runlevel[016] 改成 runlevel[0126]就可以了
start on (filesystem
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
stop on runlevel [0216]
關閉gdm的方法
1. Ubuntu 10.10
$ apt-get install chkconfig
$ chkconfig --list | grep 'gdm'
gdm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
$ chkconfig -s gdm off
2. Ubuntu 11.04
$ sudo vim /etc/init/gdm.conf
start on (filesystem
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
stop on runlevel [016]
將stop on runlevel[016] 改成 runlevel[0126]就可以了
start on (filesystem
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
stop on runlevel [0216]
留言