How do I kill X?

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

How do I kill X?

Postby xircon on Sat Jan 22, 2011 4:00 am

Trying to install the Liqourix kernel and need to run sgfxi, but am having problems and am getting help from their forum. Tried:

Code: Select all
/etc/init.d/gdm stop


But that doesn't work.

Cheers

Steve
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Linux Mint is funded by ads and donations.
 

Re: How do I kill X?

Postby Seca on Sat Jan 22, 2011 4:40 am

sudo /etc/init.d/gdm3 stop in lmde or sudo service gdm3 stop
User avatar
Seca
Level 1
Level 1
 
Posts: 42
Joined: Tue Oct 19, 2010 7:03 pm
Location: Cocoa, Florida

Re: How do I kill X?

Postby tdockery97 on Sat Jan 22, 2011 4:51 am

Or just plain ctrl+alt+F1
Image

HP Pavilion 17 Notebook, 8GB DDR3, 2.5GHZ A10-APU, Radeon HD 8650G
User avatar
tdockery97
Level 13
Level 13
 
Posts: 4909
Joined: Sun Jan 10, 2010 8:54 am
Location: Salem, Oregon

Re: How do I kill X?

Postby xircon on Sat Jan 22, 2011 4:58 am

Thanks, missed the 3 out!

Could somebody do me a favour? Kill X with /etc/init.d/gdm3 stop log in on ctr+alt+f1 and run:
Code: Select all
echo $DISPLAY


And tell me what it returns. Mine is returning 22:0.0, TechAdmin on the sgfxi forum thinks it should return null (nothing).

The link to the post helping me is http://techpatterns.com/forums/about1732-10.html

Cheers

Steve
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: How do I kill X?

Postby Seca on Sat Jan 22, 2011 5:35 am

Where are you running echo $DISPLAY? If running outside of gdm(within tty), there shouldn't be one because $DISPLAY shouldn't be set.
User avatar
Seca
Level 1
Level 1
 
Posts: 42
Joined: Tue Oct 19, 2010 7:03 pm
Location: Cocoa, Florida

Re: How do I kill X?

Postby xircon on Sat Jan 22, 2011 5:38 am

I kill gdm using the smxi script, log onto ctrl+alt+f1 then run echo $DISPLAY. It is returning 22:0.0, could you give it a go to confirm my problem?

:Edit:
I just did the above and it returns 09:0.0 rather than the 22 returned by smxi.
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: How do I kill X?

Postby Seca on Sat Jan 22, 2011 5:46 am

I didn't get anything when I tried.
User avatar
Seca
Level 1
Level 1
 
Posts: 42
Joined: Tue Oct 19, 2010 7:03 pm
Location: Cocoa, Florida

Re: How do I kill X?

Postby xircon on Sat Jan 22, 2011 5:48 am

Which is what I would expect, what the hell is different about my set-up? I am officially baffled!

What is your set-up? Mine is a Dell Inspiron N5010 with an ATI HD5000 series card (with HDMI output)
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: How do I kill X?

Postby Seca on Sat Jan 22, 2011 6:02 am

I don't know that it will make a difference but you could try Ctrl+Alt+F1 , log in, sudo /etc/init.d/gdm3 stop, and then run smxi.
User avatar
Seca
Level 1
Level 1
 
Posts: 42
Joined: Tue Oct 19, 2010 7:03 pm
Location: Cocoa, Florida

Re: How do I kill X?

Postby xircon on Sat Jan 22, 2011 7:08 am

Thanks Seca, that worked, I can now go back to trying to get fglrx & broadcom drivers to work on liqourix.

Cheers

Steve
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: How do I kill X?

Postby resuni on Sun Jan 23, 2011 7:29 pm

tdockery97 wrote:Or just plain ctrl+alt+F1

This doesn't actually kill X. It just switches to a full-screen tty. If you do that then type
Code: Select all
ps -ef |grep X
then you'll see that an X process is still running. You can even switch back to the desktop with Ctrl+Alt+F7. The thread is already solved but I just thought I'd mention that.
Image
User avatar
resuni
Level 1
Level 1
 
Posts: 40
Joined: Tue Dec 28, 2010 11:58 pm
Location: CO, USA

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 1 guest