Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
147
rated 0 times [  147] [ 0]  / answers: 1 / hits: 99000  / 2 Years ago, tue, may 17, 2022, 9:05:33

Ubuntu 22.04 has a bug which is we can't share our screen on any platforms.


More From » screen

 Answers
6

The issue with Ubuntu 22.04 is that it now uses a display feature called wayland by default, while in versions prior to 21.04 Ubuntu defaulted to using xorg as its display server. Wayland does not support screen sharing by default (until now, at least!).


To check which display system your Ubuntu is using, please enter this command


echo $XDG_SESSION_TYPE

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


In order to use screen sharing, 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 share your screen. You can confirm this by re-entering this command.


echo $XDG_SESSION_TYPE

Now it should display x11.


[#530] Wednesday, May 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
homerurhyth

Total Points: 338
Total Questions: 113
Total Answers: 105

Location: Moldova
Member since Sat, Aug 6, 2022
2 Years ago
homerurhyth questions
Thu, Mar 2, 23, 00:55, 1 Year ago
Sat, Jun 18, 22, 00:54, 2 Years ago
Wed, Sep 1, 21, 13:38, 3 Years ago
Wed, Dec 29, 21, 15:39, 2 Years ago
;