' /etc/init.d/xdm restart '
This would restart your login manager, assuming your running one. (gdm/kdm/xdm/slim)

I would recommend on finding out the root of your X locking up, rather than actually trying to band-aid it.

deface

On Jun 3, 2007, at 8:22 PM, Dale wrote:

Stratos Psomadakis wrote:
O/H Kevin O'Gorman έγραψε:

From time to time my X server will lock up, usually but not always
while I'm editing something in ooffice. It's always something that's
pretty heavily graphical.  When this happens, the only thing that
still works on my desktop is mouse motion.  No clicks actually
register, and even the three-finger salutes (BS and DEL) are feckless.

However, I can SSH into the machine from elsewhere and pretty much do anything else I want. I usually have to reboot the machine, because I haven't figured out how to restart X in gentoo. I'm sure it's pretty
simple, but I can't seem to find documentation on this particular
thing and it's not like the usual init.d services. Lots on startup, a
bit on shutdown, but nothing I see is about restart.

When this happens, sometimes X is using 100% of one of the CPU's, but I don't always check and haven't recently verified my impression that
sometimes all CPU's are at an idle (I have 4 hyperthreads).

Can somebody help me stop and restart X?  I'm using kdm for login.


maybe you can ssh to your machine and then:
ps -A | grep X
and see the pid of X...
and then kill [pid of X]...



Or, you can do a /etc/init.d/xdm restart .  Either should work.

On another note, you may want to find out why it is locking up. This should not be happening. Are you sure it is locked up or could it be that what you are doing is just using all the CPU processes and it is to busy to respond?

Maybe some serious guru will come in with a plan.

Dale

:-)  :-)  :-)


--
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.

Reply via email to