Show Table of Contents
15.2. Sharing an Existing Desktop
By default a logged in user has a desktop provided by X Server on display
0. A user can share their desktop using the TigerVNC server x0vncserver.
Procedure 15.5. Sharing an X Desktop
To share the desktop of a logged in user, using the
x0vncserver, proceed as follows:
- Enter the following command as
root~]#
yum install tigervnc-server - Set the VNC password for the user:
~]$
vncpasswdPassword: Verify: - Enter the following command as that user:
~]$
x0vncserver -PasswordFile=.vnc/passwd -AlwaysShared=1
Provided the firewall is configured to allow connections to port
5900, the remote viewer can now connect to display 0, and view the logged in users desktop. See Section 15.3.2.1, “Configuring the Firewall for VNC” for information on how to configure the firewall.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.