Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-21-2009, 03:19 PM   #1
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
/etc/init.d/gdm restart - from logged in user


I need to restart gdm from a user that is logged into the GUI account. Meaning I have the command in a gnome-panel button:

sudo /etc/init.d/gdm restart

when I run this command the session logs out but never back in. Is there a way around this problem?

Last edited by waffe; 07-21-2009 at 03:56 PM.
Old 07-21-2009, 10:05 PM   #2
Registered: Aug 2003
Location: Tokyo, Japan
Distribution: Gentoo
Posts: 130

Rep: Reputation: 22
Wouldn't sufficiently "ending" the X-session take you back to gdm? I know my display manager (kdm) does when the session ends.

And I will have to ask the obligatory question of "why" since the user is already logged in, and can, at best, only relogin (maybe with different credentials) from gdm.


gdm, restart

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome/gdm startup apps: Why are some children of gdm and others children of init? sixerjman Linux - Software 1 07-04-2009 11:48 AM
gdm was logged Tom Douglas Linux - Software 2 02-23-2008 09:47 AM
Problems with GDM (GDM user does not exist error) utkarshrawat Linux - Software 1 09-25-2007 09:39 AM
gdm crashes but ok after restart ArchNGEL Linux - Software 6 07-31-2005 03:48 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 09:34 PM

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration