Page 1 of 1

How to start/stop gdm?

Posted: Thu Jan 17, 2013 4:35 pm
by kelvinyh001
1) How to start/stop gdm?
2) if gdm says: waiting, what to do then?

Thanks

Re: How to start/stop gdm?

Posted: Thu Jan 17, 2013 4:39 pm
by AlbertP
GDM is not used by default in Mint versions 12 and later.

1. You can run these commands in one of the consoles (also called VTs or tty's) opened by Ctrl-Alt-F1 to F6:

Code: Select all

sudo service gdm stop
sudo service gdm start
2. After running the start command, press Ctrl-Alt-F7 or Ctrl-Alt-F8 (depending on the Mint version you use) to switch to the graphical environment, then GDM can continue.

Re: How to start/stop gdm?

Posted: Thu Jan 17, 2013 5:00 pm
by kelvinyh001
Hey thanks for the help.

after entering: service gdm stop && echo success || echo failure

it says:
stop: Unknown instance: failure

That means gdm is not stop, is it so?

Re: How to start/stop gdm?

Posted: Thu Jan 17, 2013 5:31 pm
by DrHu
I don't know why you want to echo
--try the command one at a time; checking the service commands man service shoudl give you other options such as status

Code: Select all

service gdm stop
http://www.ubuntugeek.com/service-comma ... erver.html

Re: How to start/stop gdm?

Posted: Fri Jan 18, 2013 4:02 am
by kelvinyh001
Thanks

I tried
sudo service --status-all

and get this
[ ? ] gdm

What does it mean by a [?]

Re: How to start/stop gdm?

Posted: Fri Jan 18, 2013 6:50 am
by kc1di
Which version of Mint are you using?

If it's mate gdm is not used mdm is
also some version used lightdm instead of gdm.

It may be that your version is not using gdm.
good luck.

Re: How to start/stop gdm?

Posted: Fri Jan 18, 2013 7:18 am
by AlbertP
Like I said only Mint 11 and before use gdm. You're using lightdm on Mint 12, mdm on 13/14 (and kdm on the KDE editions of them).

Re: How to start/stop gdm?

Posted: Fri Jan 18, 2013 10:02 am
by kelvinyh001
I have to run sudo apt-get install gnome-shell gnome-session gnome-tweak-tool gdm in order to install Cinnamon.

It ask me to choose gdm or kdm, which do I choose?

Re: How to start/stop gdm?

Posted: Fri Jan 18, 2013 1:13 pm
by AlbertP
If you already had KDM installed, then you also could just have kept your existing display manager and chosen Cinnamon using the gear icon at the bottom-right of the login window. Also you could have done sudo service start/stop kdm then, no need to install gdm.