Is it possible to disable gdm at start-up in Karmic (login in a shell after boot)? I know there are some changes from previous versions of Ubuntu.
It was already proposed to do
sudo update-rc.d -f gdm remove
But thats not right anymore
TIA
Christian
Is it possible to disable gdm at start-up in Karmic (login in a shell after boot)? I know there are some changes from previous versions of Ubuntu.
It was already proposed to do
sudo update-rc.d -f gdm remove
But thats not right anymore
TIA
Christian
Hi Christian,
Don't know if you've already found the solution, but here's what I came up with.
the issue is that GDM is run from Upstart instead of the old way...
I couldn't find the "official" way to do it, but, here goes:
1) edit the /etc/init/gdm.conf
2) comment out the "start on" line, so that it looks like this
This essentially prevents the service from starting up automatically.Code:#start on (filesystem # and started hal # and tty-device-added KERNEL=tty7 # and (graphics-device-added or stopped udevtrigger))
Now, you should be able to start gdm by calling
If you just want to start X without starting GDM,Code:$ sudo start gdm
Hope this helps!Code:$ startx
Marc
I had a hard time because I was following guides that were not tested on 9.10. In fact you don't need to mess with GDM's configuration as GRUB2 is the easiest way to get this done. Here are the steps:
1 - Edit the GRUB2 configuration defaults
2 - Change the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" toCode:$ sudo gedit /etc/default/grub
3 - Save and close the grub fileCode:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"
4 - Update grub so that the changes are propagated to grub's configuration file (to all current and future kernels)
That it! Simple right?Code:$ sudo update-grub
If you ever need to log into gnome, use the startx command. If you want GDM to start use the sudo gdm start command.
Hope this helps people from wasting hours of trying to disable GDM on 9.10 using older guides that suggest editing gdm.conf, moving gdm.conf, using update-rc.d, rcconf or sysv-rc-conf - none of those worked for me. This was the cleanest/best way I found of doing this.
Cheers!
![]()
My Top Bugs - Launchpad Profile - Wiki Page
Appreciate what the severe effort of many converging wills has produced.
A better method.
Check your current runlevel:
% runlevel
N 2
Edit /etc/init/gdm.conf, and change:
stop on runlevel [016]
to:
stop on runlevel [0216]
Better to manipulate the runlevels correctly, as in the long-term other services will probably start to use Upstart
http://soniahamilton.wordpress.com/
I did that , but now i haven't sound.
linux user: #498107
For people that the sound doesn't work:
-Put start-pulseaudio-x11 in the .xinitrc.
That's all!!
linux user: #498107
I can't seem to get GDM to reinstall properly. I somehow borked it, and the only manager that is working is KDM. The new Grub2 setup is very confusing, how does one go about installing GDM?
After a problem has been solved, remember to mark the thread SOLVED
VISIT my blog: U8UNTU ELIXIR -- Wisdom through Ubuntu
SUPPORT offline sharing of files with Ubuwiki
INDLOVU AMAZON STORE
I am also looking for a way to boot my old desktop (now being used as a server) into a lower runlevel. If I use this method:
Code:Check your current runlevel: % runlevel N 2 Edit /etc/init/gdm.conf, and change: stop on runlevel [016] to: stop on runlevel [0216]
With the lower runlevel I assume I will be able to use ssh and my NFS will still mount but how will I start up X and Gnome should I need to?
Bookmarks