Este conteúdo não está disponível no idioma selecionado.
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
rootyum install tigervnc-server
~]# yum install tigervnc-serverCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Set the VNC password for the user:
vncpasswd
~]$ vncpasswd Password: Verify:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enter the following command as that user:
x0vncserver -PasswordFile=.vnc/passwd -AlwaysShared=1
~]$ x0vncserver -PasswordFile=.vnc/passwd -AlwaysShared=1Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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.