I want no GDM at startup [SOLVED]

Sascha Effert fermat at uni-paderborn.de
Thu Mar 10 15:58:14 UTC 2011


Hello,

thanks for pointing me to /etc/init/gdm.conf. I changed it, so that gdm is only started in runlevel 5. Therefore I replaced the following:

<<<<< Original /etc/init/gdm.conf >>>>>>>>>>>>>

start on (filesystem
          and started dbus
          and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
               or stopped udevtrigger))

stop on runlevel [016]

<<<<< My /etc/init/gdm.conf >>>>>>>>>>>>>

start on (filesystem
          and started dbus
          and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
               or stopped udevtrigger)
          and runlevel [5])
stop on runlevel [012346]

====================================

The machines starts in runlevel 2, so I have no problem.

Thanks and solved.

bests

Sascha Effert

Am 10.03.2011 um 15:25 schrieb Tom H:

> On Thu, Mar 10, 2011 at 9:16 AM, Shaun Jones <mister.s.jones at gmail.com> wrote:
>> On Thu, Mar 10, 2011 at 8:07 AM, Tom H <tomh0665 at gmail.com> wrote:
>>> On Thu, Mar 10, 2011 at 8:47 AM, Sascha Effert <fermat at uni-paderborn.de>
>>> wrote:
>>>> 
>>>> I am getting crazy... I have a ubuntu server 10.10 and installed
>>>> xubuntu-desktop on top of it. Now I would like to get rid of gdm, so it
>>>> shall not be started whe I boot the machine. Following what I found at
>>>> google I called:
>>>> 
>>>> root at ubuntu-base:~# sudo update-rc.d -f gdm remove
>>>>  Removing any system startup links for /etc/init.d/gdm ...
>>>> root at ubuntu-base:~#
>>>> 
>>>> But on next boot gdm is started again.
>>> 
>>> GDM's an upstart job so "update-rc.d..." doesn't affect it.
>>> 
>>> Comment out the "start on" lines in "/etc/init/gdm.conf" or add "text"
>>> to "GRUB_CMDLINE_LINUX_DEFAULT" in "/etc/default/grub" and run
>>> "update-grub".
>> 
>> Can't you just change the runlevel ?
> 
> No.
> 
> But my two suggestions amount to the same thing.
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list