LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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


Hi,

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 02:56 PM.
 
Old 07-21-2009, 09:05 PM   #2
GaijinPunch
Member
 
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.
 
  


Reply

Tags
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 10:48 AM
gdm was logged Tom Douglas Linux - Software 2 02-23-2008 08:47 AM
Problems with GDM (GDM user does not exist error) utkarshrawat Linux - Software 1 09-25-2007 08:39 AM
gdm crashes but ok after restart ArchNGEL Linux - Software 6 07-31-2005 02: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 08:34 PM


All times are GMT -5. The time now is 10:25 PM.

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