Review your favorite Linux distribution.
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 05-11-2001, 03:53 PM   #1
LQ Newbie
Registered: May 2001
Posts: 29

Rep: Reputation: 15

After exiting Xwindows(hadn't noticed anything different
about the exit) I couldn't restart it:


produced, among other messages:

"fatal server error"
"cannot establish listening socket ..."

netstat -l
shows a socket X0 in /tmp/.X11-unix

how do I really shut it down so I can restart it?
Old 05-14-2001, 07:43 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Within X, you can do a ctrl-alt-backspace to restart it, if it says it is already running, try switching to it by doing a ctrl-alt-F7, i think this will at least get you back into X, if not from the command you can issue the top command, find the pid and then issue the kill command to kill X, then try to restart it that way.
Old 05-18-2001, 10:38 AM   #3
Registered: May 2001
Location: Indiana Usa
Distribution: Linux Mandrake 8.2Freq Kde only
Posts: 74

Rep: Reputation: 15
Talking OMG I know this one!

Hi I get this same problem. I found a solution for desperation. Probably not the correct way but it allows me to reboot. Type in this : shutdown -r now It works for me. Oh hey been on linux for 4 days so if it isn't right forgive me. Liz

[Edited by elizabetheanera on 05-18-2001 at 11:41 AM]
Old 05-18-2001, 10:46 AM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Well, your right on the shutdown -r now but he wanted to know how to restart X without you know, rebooting the machine. But yeah, I usually tend to reboot my Windows machine to resolve most problems, but once you get the hang of it, you can always work around a reboot in Linux.
Old 05-18-2001, 05:42 PM   #5
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
you can either (from the console) press alt-f7 to get back to X then press , as almighty moderator trickykid said, ctrl-alt-backspace. if that doesnt then try 'ps -e' to show all the processes and their pid's then 'kill <pid>'

if it still won;t die then send it the signal nine which will oblitarate it : 'kill -9 <pid>'

im not sure if this will work but to get it to restart you could try 'kill -HUP <pid>' . i know that that gets it to re-read its config files


P.S. how bout doing 'init 3' to go to console mode then do 'init 5' to go back. it should kill things as it changes


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
"service __ restart" bash command isn't working case1984 Linux - Newbie 9 04-10-2008 02:35 PM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 04:55 AM
"modprobe config already contains alias directive", must reconfigure at restart Desert Linux - Wireless Networking 1 07-22-2004 07:43 PM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 12:24 AM
Gnome 1.4: howto set ATX-shutdown/restart support in the "logout"-dialog? Debianewb Linux - Software 1 11-08-2002 07:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

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