LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-13-2007, 01:05 AM   #16
treaz
LQ Newbie
 
Registered: May 2007
Location: Bucharest, Romania
Distribution: Debian
Posts: 12

Rep: Reputation: 0

Quote:
Originally Posted by sycamorex View Post
On a serious note, now it won't stop at all

# etc/init.d/gdm stop
Stopping Gnome display manager: GDM

but it actually doesn't stop it, when I want to run the NVidia script it says that X is running

any help on this?
thanks
I know that there is a difference between gdm and x server. So if you stop gdm it makes sense that the xserver doesn't stop.
CTRL+ALT+BACKSPACE RESTARTS xserver (it doesn't stop it for good).
Going to another runlevel that doesn't intialize the xserver is kind of a last resort (maybe I want to run at the default runlevel).
My question is: what if I already started linux at a runlevel that initializes the xserver and I want to stop it without making a complete reboot.
 
Old 11-13-2007, 03:23 AM   #17
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by treaz View Post
I know that there is a difference between gdm and x server. So if you stop gdm it makes sense that the xserver doesn't stop.
No, it doesn't.
I'm not using gdm anymore (much too complex and buggy at the time I tried it) but kdm. Here kdm (and I guess gdm is the same) will spawn a child and launch X.
When you stop gdm, it should stop X.
Could be that he is in fact not running gdm and he stops nothing, or X doesn't respond to kill -TERM, really weird. Or X is not running, there are files that makes he thinks X is started while it's not.
Then stop it the hard way:

Code:
kill -KILL X
 
Old 11-13-2007, 03:27 PM   #18
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I think I know where the problem lies.
If I ctrl-alt-f2 and then try to stop X, then it doesn't.
However, if I stay in X and just open a terminal window and issue the command /etc/init.d/gdm stop then it seems to work.

My X is a very weird creature
thanks
 
  


Reply



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
Linux server will stop responding to telnet requests lab123 Linux - Security 3 10-25-2005 12:37 PM
Can't stop X server halldor_marson Linux - Hardware 3 06-20-2005 06:18 PM
Help me to stop X server Johnny77 Linux - Newbie 2 06-09-2004 09:39 PM
how to stop X server? Baklan Linux - Newbie 2 07-10-2003 06:07 PM
Install drivers. How to stop x-server? aroneous54 Linux - Software 11 05-07-2003 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration