fbpx

Solutions

How do I have two clients connect to the same VNC server session?

by ,


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

Operating System and Software

  • Rocky Linux 8
  • CentOS 7
  • CentOS 6

Problem

  • How to allow multiple users to connect to the shared native display of a system?

How to Fix

On the client systems use the below command to connect to the shared vnc session:

 $ vncviewer --shared SERVERIP:DISPLAY

Note: To use the above client side options, vncserver must be started with the --alwaysshared option.

Origin of the Problem

  • When you make a connection to a VNC server, all other existing connections are normally closed. The -shared option requests that they be left open, allowing you to share the desktop with someone already using it.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: