How to start/stop gdm?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kelvinyh001

How to start/stop gdm?

Post by kelvinyh001 »

1) How to start/stop gdm?
2) if gdm says: waiting, what to do then?

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: How to start/stop gdm?

Post 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.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
kelvinyh001

Re: How to start/stop gdm?

Post 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?
DrHu

Re: How to start/stop gdm?

Post 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
kelvinyh001

Re: How to start/stop gdm?

Post by kelvinyh001 »

Thanks

I tried
sudo service --status-all

and get this
[ ? ] gdm

What does it mean by a [?]
User avatar
kc1di
Level 18
Level 18
Posts: 8173
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: How to start/stop gdm?

Post 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.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: How to start/stop gdm?

Post 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).
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
kelvinyh001

Re: How to start/stop gdm?

Post 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?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: How to start/stop gdm?

Post 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.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Locked

Return to “Beginner Questions”