Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
62
rated 0 times [  62] [ 0]  / answers: 1 / hits: 158857  / 2 Years ago, fri, june 24, 2022, 12:55:22

Is It possible In Linux to restart only gui session or os ( i m not talking about restarting pc )




back in windows 98 if u want to restart the gui session or only os u just need to hold down shift key and it will restart the your gui session or only os & it work fine



windows 98 shift + restart


More From » gui

 Answers
6

Yes. There a couple of options.



1) You can enable CTRL+SHIFT+BACKSPACE. This three keys will work like CTRL+ALT+SUPR, but they will only restart the GUI.



2) From the command line (press CTRL+ALT+F1 to get to a console) you can restart the Ubuntu display manager (which lets a user login to her preferred GUI) by entering:



sudo service lightdm restart


3) Finally you can restart just unity. It will reset your GUI (all the windows and the bars), but it will not kill any program. After the restart you can continue working where you left it. Enter:



unity --replace


or if you are restarting from the console (after pressing CTRL+ALT+F1), enter:



DISPLAY=:0 unity --replace

[#40579] Saturday, June 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uestred

Total Points: 464
Total Questions: 104
Total Answers: 112

Location: Israel
Member since Wed, Apr 14, 2021
3 Years ago
uestred questions
;