From: James Allsopp on
Hi,
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.

Thanks!
James
From: Camaleón on
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"? :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.17.17.22.10(a)gmail.com
From: H.S. on
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.


--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/hvdpsk$h9l$1(a)dough.gmane.org
From: Andrew Sackville-West on
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