[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Restarting X



On Thu, Jun 17, 2010 at 02:35:00PM -0400, H.S. wrote:
> On 17/06/10 01:22 PM, Camaleón wrote:
> > On Thu, 17 Jun 2010 17:53:49 +0100, James Allsopp wrote:
> > 
> >> When I'm testing things with X I l want to be able to log via SSH and
> >> restart X, how can I do that in a console? I'm using Gnome.
> > 
> > "/etc/init.d/gdm restart"? :-?
> 
> 
> Correct. This is what I always do, but with sudo (so, same thing):
> $> sudo /etc/init.d/gdm restart
> 
> Replace gdm with kdm or xdm or whatever display manager one is running.
> 
> BTW, I wonder why the OP needs to SSH to his machine unless he is
> already doing stuff remotely. On my machine if X messed up, I just
> switch to a console (CTRL+ALT+F1 or F2 or F3 ..) and give the command
> from there.

maybe the the keyboard is frozen? I have this happen on occasion with
gnome apps (my wife's machine, keep that stuff off my box please!
;-). A quick ssh and kill and it's all good. 

A

Attachment: signature.asc
Description: Digital signature


Reply to: