If you're using Ubuntu / Debian, you might face issues with screen sharing on Skype due to the default Wayland display server. This guide will walk you through the steps to resolve this issue and enable screen sharing on Skype.
First, let's verify the current windowing system you're using:
Open the Terminal (press Ctrl + Alt + T).
Run the following command:
echo $XDG_SESSION_TYPE
If the output is wayland, you'll need to switch to the Xorg display server.
To disable Wayland and ensure you use Xorg, follow these steps:
Open the custom configuration file by running:
sudo nano /etc/gdm3/custom.conf
Look for the line that reads:
#WaylandEnable=false
Remove the # symbol to uncomment the line, changing it to:
WaylandEnable=false
Save and exit by pressing Ctrl + X, then Y, and Enter.
To apply these changes, you need to reboot your system:
sudo reboot
Your system will now use the Xorg display server instead of Wayland.
If you haven't installed Skype yet, follow these steps:
Open the Terminal and download the latest Skype .deb package:
wget https://go.skype.com/skypeforlinux-64.deb
Install Skype using the following command:
sudo apt install ./skypeforlinux-64.deb
Once installed, launch Skype from your applications menu.
Open Skype and sign in to your account.
Start a video call with any contact.
Click on the "Share Screen" button (a screen icon with an arrow) located at the bottom-right corner of the call window.
Choose the screen or window you want to share and click "Start Sharing."
Make a test call to ensure that screen sharing works correctly. You should now be able to share your screen without any issues.
By switching from Wayland to Xorg and adjusting the configuration file, you can resolve screen sharing issues on Skype for Ubuntu 22.04 LTS. If you need to switch back to Wayland, simply re-enable it by editing the custom.conf file again. Enjoy seamless screen sharing on Skype!