Q Two PCs, one desktop
I am using a CentOS 8 Stream desktop at work to run some software that uses a GUI. I want to be able to connect to it remotely from a Windows machine to continue working on a project from home or simply from another Windows PC in the office. So far, every remote desktop solution I tried either didn’t work at all or only opens a new blank session in Gnome. All I want is for it to work as the Remote Desktop works in Windows, where I can always connect to my Windows work PC from home and I will see the screen exactly the way I left it before leaving for home.
Victoria Martin
A The usual remote desktop systems, such as VNC and X2Go, work by creating a new session when you connect. There is a way to do what you need with the X11vnc program. This should be in your distro’s repositories, so install it in the usual way. Then run it from a terminal on the computer you want to control: $ x11vnc -display :0
Run this as a normal user, and the value for -display is the number of your display, which is usually :0 if you are running a single X session. You must have a desktop session already open – it doesn’t work if your computer is displaying the login screen. The program outputs a stack of information; near the end you should find something like
The VNC desktop is: remote-host:0 PORT=5900
The port number can vary – VNC starts from