[svlug] Gnome3 'r' from another tty
Andrew Wilcox
andrew.r.wilcox at gmail.com
Tue Mar 27 23:40:38 PST 2012
From: Ehud Kaldor <ehud.kaldor at gmail.com>
Date: Tue, 27 Mar 2012 22:36:20 -0700
To: SVLUG <svlug at lists.svlug.org>
Subject: [svlug] Gnome3 'r' from another tty
>Hi all,
>I am using Linux Mint 12 and sometimes run into a problem where I still
>have my mouse arrow moving, but nothing is clicking. Like the screen
>turns to image.
>Usually, restarting Gnome by alt-f2 and 'r' does it, but not always. Then
>I can move to another tty (ctrl+although+f2 for example) and kill
>gnome-session. But that also kills all the apps. I tried gnome-session
>-replace, but that complains I cannot get to the display.
>
>Is there any way to just restart gnome instead of killing the session,
>like r does in the graphic tty (tty7)?
>
>_______________________________________________
>svlug mailing list
>svlug at lists.svlug.orghttp://lists.svlug.org/lists/listinfo/svlug
Normally on ttys you don't have the "DISPLAY" variable set, which is used
by X applications to determine what X server to run on. On most systems,
this is display :0, so you can do something like:
$ DISPLAY=":0" gnome-session -replace
Hope this helps,
--Andrew
More information about the svlug
mailing list