Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 36158  / 1 Year ago, thu, february 9, 2023, 2:12:18

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?


More From » gnome

 Answers
3

Please try



$ DISPLAY=:0 gnome-shell


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.


[#38474] Friday, February 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
motivengry

Total Points: 459
Total Questions: 112
Total Answers: 108

Location: Bonaire
Member since Sat, May 1, 2021
3 Years ago
motivengry questions
Tue, Oct 4, 22, 10:02, 2 Years ago
Wed, May 31, 23, 14:33, 12 Months ago
;