Solve the problem of black screen in remote control of industrial computer Ubuntu 22.04 system
However, when using popular remote control software such as ToDesk or Sunflower to remotely control the client of Ubuntu 22.04 system, users may encounter a thorny problem-black screen phenomenon. This problem not only affects the user's work efficiency, but also poses a hidden danger to the security of the system. This article will explore the cause of the problem in depth and provide an effective solution.

Table of Contents
1. Fault phenomenon
When trying to connect to the client running Ubuntu 22.04 system using remote control software such as ToDesk or Sunflower, the screen may suddenly turn black, and the desktop of the remote computer cannot be seen or any operation can be performed. This fault phenomenon makes it impossible for users to manage and operate the client through remote means, which seriously hinders the progress of remote work.
2. Fault analysis
The root cause of this fault lies in the default graphics interface protocol setting of Ubuntu 22.04 system. Unlike earlier versions of Ubuntu system, Ubuntu 22.04 uses Wayland as its graphics interface protocol by default instead of traditional X11. Wayland is designed to provide better graphics performance and security, but unfortunately, its compatibility with some remote control software is not ideal.

To confirm whether the black screen problem is caused by Wayland, you can check the current session type by entering the following command in the terminal: echo $XDG_SESSION_TYPE
If the return result is "wayland", it is almost certain that the incompatibility between the Wayland protocol and the remote control software caused the black screen problem.
3. Solution
We can solve this problem through simple configuration changes. The specific steps are as follows:
1. Edit the configuration file: First, you need to edit the /etc/gdm3/custom.conf file with superuser privileges. This can be done with the following command: sudo vim /etc/gdm3/custom.conf
2. Modify the Wayland configuration: Find the line WaylandEnable=false in the opened configuration file and delete the # symbol at the beginning of the line to uncomment Wayland, which means that Wayland is disabled and X11 is used as the default graphical interface protocol.

3. Restart the system: After saving and closing the file, restart the client to make the changes take effect.
4. Verify the changes: After restarting, run the previous command again to check the session type: echo $XDG_SESSION_TYPE
This time, the result returned should be "x11", indicating that the system has switched to the X11 session.
After completing the above steps, you can try to reconnect to the Ubuntu 22.04 client using ToDesk or other remote control software. At this point, the black screen problem should no longer occur, and users can view and control the remote system normally.
4. Conclusion
By making a simple adjustment to the default graphics interface protocol in the Ubuntu 22.04 system, we can effectively solve the compatibility problem with remote control software such as ToDesk and Sunflower, which is a quick and effective solution. For rugged environments, consider using a rugged tablet with Windows 11 for performing such adjustments on the go.
For more advanced tasks or heavy-duty industrial applications, an industrial PC with GPU or a rugged rackmount computer can provide the necessary power and reliability to handle complex software compatibility issues. Additionally, compact options like a 1U rack PC and specialized configurations such as an industrial PC Advantech offer efficient solutions for various industrial needs.
For portable computing solutions in industrial settings, exploring rugged laptops for sale can help find devices that meet demanding requirements.
Buy industrial control, choose SINSMART, worry-free before and after sales.
Related Articles:
Best tablets for truck drivers
Difference between ipad and tablet pc
LET'S TALK ABOUT YOUR PROJECTS
- sinsmarttech@gmail.com
-
3F, Block A, Future Research & Innovation Park, Yuhang District, Hangzhou, Zhejiang, China
Our experts will solve them in no time.

Rackmount PC
Embedded Computing
Industrial Portable Computers
Rugged Tablets
Rugged Laptop
Industrial Panel PC
Rugged Handheld
Advantech Industrial PC