If you are using Ubuntu 22.04 for working you may facing the issue with sharing Desktop with black screen in Team and Slack meetings. So to fix this issue you need to disable wayland as below.
1
sudogedit/etc/gdm3/custom.conf
Then set the config below.
WaylandEnable=false
Then reboot your computer and test sharing your screen on Team and Slack again.
Note: If you are using a NVIDIA GeForce Graphic card. So please check what is the additional driver that you are using.
If Nouveau display driver as in the image below. Please don't restart your computer now.
Let's go to Setting -> Color -> ADd Profile -> Standard Space - SRGB
Then now, you can restart your computer and test sharing your screen on Team and Slack again.
If you are using a NVIDA Graphc Card on Ubuntu you will see that fans of the NVIDIA Graphic Card will not run and if also can't set GPU fan speed as in the image below. You will get the error Failed to set new Fan Speed.
Now, to handle this issue. Let's go to the directory below.
cd/./etc/X11/
Then let's open file Xwrapper.config and make sure this file contains two line below.
sudogeditXwrapper.config
1 2 3 4 5 6 7 8 910111213141516
# Xwrapper.config (Debian X Window System server wrapper configuration file)## This file was generated by the post-installation script of the# xserver-xorg-legacy package using values from the debconf database.## See the Xwrapper.config(5) manual page for more information.## This file is automatically updated on upgrades of the xserver-xorg-legacy# package *only* if it has not been modified since the last upgrade of that# package.## If you have edited this file but would like it to be automatically updated# again, run the following command as root:# dpkg-reconfigure xserver-xorg-legacyallowed_users=anybody
needs_root_rights=yes
Then let's save this file and logout and login again.
Now, when you open NVIDIA setting again, and you now can set the new fan speed
When you start the virtual machine in the virtual box, after upgrading Ubuntu to the higher version, if you got the error as below.
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing '/sbin/vboxconfig' as root.
Can not upgrading directly from Ubuntu 22.04.4 to 24.04 LTS using the do-release-upgrade command because the official upgrade path isn’t available yet.
So upgraded Ubuntu 22.04.4. to Ubuntu 23.10 and then upgraded Ubuntu 23.10 to 24.04 LTS.