sometimes my gnome shell gets a weird bug. What I need to do then is to click e.g Ctrl + Alt + F3 When I am there i can login and then
killall gnome-shell
Then I go back to the first Ctrl + Alt + F1 (what do you call them tty1, tty2, tty3 … )
back there I can sometimes open a terminal and enter:
gnome-shell
but sometimes it doesn't work, like now, because the browser window has the focus and no other windows has, and I can't start gnome-shell from the browser, so that's why I am asking the question now 🙂 .
The thing that I have tried is to export the display when I am in the tty2 or tty3, not the one with graphics in
export DISPLAY=:0.0
gnome-shell
but I guess that the :0.0 display isn't the main display?, anyway I can at least start the gnome-shell but it results in an error. It is not the can't find an X display error, but another one that has something to do with the top-bar and the extensions.
Does anyone know how to start the gnome-shell from another "tty" thing?
Best Answer
Please try
Also you should take a look at your ~/.xsession-errors, finding out as to why gnome-shell crashed. Maybe you can even do a backtrace and report a bug.