Linux Format

Answers

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

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Vector Vexations
Why does MySQL not support vectors in its community edition? Generative AI is the hot topic in tech. GenAI relies on vector data. Yet Oracle has no plans to support vectors in the community edition of MySQL. If you want to try out vector data with ot
Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l

Related