Set Vnc Password3/21/2021
The Linux and VNC system usernames and passwords are not required to be identical and are not automatically synchronized.Unlike a remote X connection, the xserver is running on the remote computer, not on your local workstation.Your workstation ( Linux or Windows ) is only displaying a copy of the display ( real or virtual ) that is running on the remote machine.
Set Vnc How To Configure VNCThis HOWTO shows you how to configure VNC using the vncserver service as supplied by CentOS.Run the command: rpm -q vnc-server The result will be either package vnc-server is not installed or something like vnc-server-4.0-11.el4. If the server is not installed, install it with the command: yum install vnc-server The client program is vnc. Make sure to install a window manager in order to get a full-featured GUI desktop. You can use the command yum groupinstall GNOME Desktop Environment to install the Gnome Desktop and requirements, for example. Other popular desktop environments are KDE and XFCE-4.4. XFCE is more light-weight than Gnome or KDE and available from the extras repository. If you are a minimalist, or simply testing, however, it is sufficient to have yum install a simple XTERM client: yum install xterm height16 srcmoinstatic1910memodumpimgattention.png title width16 If you are running CentOS 6, the command is yum groupinstall Desktop height16 srcmoinstatic1910memodumpimgattention.png title width16 If you are running CentOS 5, yum groupinstall GNOME Desktop Environment may complain about a missing libgaim.so.0. This is a known bug. These will be larry, moe, and curly You will perform the following steps to configure your VNC server: Create the VNC users accounts. ![]() We also enable the vncserver service to be automatically started. The original should appear as follows: Uncomment the following two lines for normal desktop. Note that in the likely reduced resolution and color depth of a VNC window the full desktop will be rather cramped and a look bit odd. If you do not uncomment the two lines you will get a gray speckled background to the VNC window. ![]() A java applet window will pop-up showing a connection to your machine at port 1. Enter larrys VNC password, and a 640x480 window should open using the default window manager selected for larry. The above ports 5801, 5802 and 5803 must be open in the firewall iptables ) for the source IP addresses or subnets of a given client. Once authenticated, a 640x480 window should open using Larrys default window manager. The vncviewer client will connect to port 590X where X is an offset of 1,2,3 for Larry, Moe, and Curly respectively, so these ports must be open in the firewall for the IP addresses or subnets of the clients. If your local account userid is not, say, larry, you may switch user for purposes of vncviewer thus: export USERlarry; vncviewer 192.168.0.10:1 which has the effect of passing the username larry to the vncviewer program. The following sections are optional refinements to enhance security and functionality. For this example, the user on the vncserver machine is: larry That account username needs to exist on the target machine, and either password, or keyed ssh access needs to be functional.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |