You are not logged in.
Hi,
I'm having random Gnome-shell freezes, everything seems to be working fine except for the shell itself, which seems to be completely frozen. I want to restart it using CTRL+ALT+F* and
gnome-shell --replaceor
mutter--replace, but I get this:
Window manager error: unable to open X display.I know from random research that I have to set the $DISPLAY env. but I don't know which display to export.
Thanks in advance.
Last edited by rAX (2011-05-29 22:40:41)
Offline
Hello rAX,
in theory, its something similiar to this
export DISPLAY=:0.0However, here i had to issue gnome-shell --replace multiple times until it got accepted. And even then, it sometimes crashed completely and threw me back to the dm. An alternative could be to pkill gnome-shell, as it should get auto-respawned by the gnome-session.
edit: assuming /usr/share/applications/gnome-shell.desktop sets X-GNOME-AutoRestart=true
Last edited by Wey (2011-05-30 16:26:41)
Offline
Hello rAX,
Hello ![]()
in theory, its something similiar to this
export DISPLAY=:0.0
Yep, I tried this with no luck. I guess I need to get the correct display number.
However, here i had to issue gnome-shell --replace multiple times until it got accepted. And even then, it sometimes crashed completely and threw me back to the dm. An alternative could be to pkill gnome-shell, as it should get auto-respawned by the gnome-session.
edit: assuming /usr/share/applications/gnome-shell.desktop sets X-GNOME-AutoRestart=true
I tried this and it works great, I still have to issue the command while the shell is frozen, but I guess it'll work fine ![]()
Thank you.
Offline
Wey wrote:Hello rAX,
Hello
in theory, its something similiar to this
export DISPLAY=:0.0Yep, I tried this with no luck. I guess I need to get the correct display number.
Use
w -fOffline
Hi.
I've the same issue and I would like to do a "gnome-shell --replace" instead of killing the gnome-shell process (which work but I don't think it's really clean).
When I do a "gnome-shell --replace" with DISPLAY=MyScreenNumber on a terminal on the gnome-shell it work, but it doesn't work on a tty.
Offline
Can you open the quickstart window (Alt-F2)? Then type 'r' and press enter. Otherwise a simple kill seems to be the best option since the session manager restarts your shell.
Edit: Of course it seems to be a bit unclean, but if the window manager is frozen there is not much that can be cleaned up I think.
Last edited by progandy (2012-08-08 11:56:03)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
No I can't open the quickstart when frozen.
I will continue to kill it but I will also continue to find how to make the "replace" work just to know why it doesn't work (because when I was on Linux Mint I used to do a "replace" and it worked".
If I find a solution I will post it there in case someone else is intersted in this.
Anyway, thanks.
Offline