Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-03-2004, 01:54 PM
|
#1
|
LQ Newbie
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21
Rep:
|
How can I recover gracefully when xwindows dies?
I left for work this morning with Licq (linux icq) running on my Fedora xwindows gui (the default one that isn't gnome).
When I got to work I started icq without thinking about it, and started getting error messages that icq is already running on another machine (my home one, in fact). My win2k at work handles this with no trouble, but when I got home for lunch there were 600+ error windows on my linux xwindows screen!
Further, xwindows was exhibiting really weird behavior...going to an all white screen, then a screen that was white but with hundreds of licq error message minimized icons on it, etc, and was unresponsive.
I was still able to swap to command line mode with ctrl-alt-F1 or ctrl-alt-F2, but wasn't sure what to do from there.
Eventually I ran ps -A | more to see what was running, and then killed the licq_bin process, but that closed licq without getting rid of the 600 or so error message popups.
Without knowing what else to do, I had to reboot to fix things.
What should I have done instead? How can I fix it when things go wrong on the GUI side of things without using the old Windows-world standby of having to reboot the machine?
Thanks,
Warren Wright
Dallas, TX
|
|
|
02-03-2004, 02:00 PM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
If you can get to the command line you can always blow away X. A killall X should do it just fine.
|
|
|
02-03-2004, 02:28 PM
|
#3
|
LQ Newbie
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21
Original Poster
Rep:
|
Quote:
Originally posted by jtshaw
If you can get to the command line you can always blow away X. A killall X should do it just fine.
|
Could I somehow restart it at that point so a ctrl-alt-F7 would take me back and let me logon again?
Thanks,
Warren
|
|
|
02-03-2004, 02:45 PM
|
#4
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
If you run a login manager like kdm or xdm then killing it and restarting it will do that. For example, if you run kdm (type ps -A | grep kdm to see if it is running) then a killall -s QUIT kdm will kill it and typing kdm will restart it again.
|
|
|
02-03-2004, 03:03 PM
|
#5
|
Member
Registered: Sep 2003
Location: Chicago
Distribution: Slackware-current
Posts: 63
Rep:
|
you could also just do a :
and restart the X server
|
|
|
02-03-2004, 05:03 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
hi - doesnt <ctrl><alt><backspace> also kill X?
|
|
|
02-04-2004, 12:28 PM
|
#7
|
Member
Registered: Sep 2003
Location: Chicago
Distribution: Slackware-current
Posts: 63
Rep:
|
Quote:
Originally posted by h/w
hi - doesnt <ctrl><alt><backspace> also kill X?
|
yes, actually it would be a little less work to ctrl+alt+bs, but if X is being unresponsive, it may take awhile to catch the signal, where-as as soon as u flip to a tty killall -HUP X will restart X almost immediatly.. either way you still have to wait for the system to stop being sluggish enough to acknowledge the keypress sequence :-P
oh btw, as soon as you restart X (using whichever method u prefer), you can flip back to terminal 7 (alt+F7) and the login screen should be waiting for you
Last edited by Sm0k3; 02-04-2004 at 12:31 PM.
|
|
|
02-04-2004, 04:08 PM
|
#8
|
LQ Newbie
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21
Original Poster
Rep:
|
Thanks. I'll take those suggestions home and play with them until they are familiar so next time I can recover without forcing a total reboot.
It was a bit ironic and funny that after telling my wife about the linux installation and about the stability possible I asked her to turn licq off for me so I could use it at work and she reported back a total white-screen and unresponsive GUI similar to what we'd see so often with the old Win98 installation that was there.
I expect those kind of things in the early days thoough, when I'm a newbie and the linux box is still being configured in major ways.
Later,
Warren
|
|
|
All times are GMT -5. The time now is 03:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|