Sunday, May 5, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2409  / 3 Years ago, thu, october 14, 2021, 8:23:29

Two days ago I have install Ubuntu 22.04. I was trying to restart the gnome shell using ALT+Fn+F2. The command prompt opened but when I wrote 'r' and enter it is not restarting.
The following message was coming as displayed on the image


enter image description here


What can I do now to resolve this problem?


More From » command-line

 Answers
7

Please enter this command:


echo $XDG_SESSION_TYPE

If the above command outputs, wayland, your system is using wayland.


We have to disable wayland and enable xorg (x11). To do this,


Please go to this file


sudo nano /etc/gdm3/custom.conf


Uncomment this line.
WaylandEnable=false


Reboot your system.


Voila! You can now press ALT+F2 and then press r to restart your gnome shell.


echo $XDG_SESSION_TYPE


Now it should display x11.


Enjoy!


[#384] Friday, October 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ranquctive

Total Points: 391
Total Questions: 103
Total Answers: 104

Location: South Sudan
Member since Thu, Feb 4, 2021
3 Years ago
ranquctive questions
Sun, Apr 10, 22, 23:19, 2 Years ago
Sun, Nov 21, 21, 22:40, 3 Years ago
Sun, Apr 3, 22, 17:43, 2 Years ago
Thu, Mar 3, 22, 03:08, 2 Years ago
;