VNC server pass word??

Posted on 2004-10-13
Medium Priority
Last Modified: 2013-12-15
Can you pls tell me how to set up a password on  a Red Hat 9 vnc server. I want to change my existing one. Thank you.

Question by:aej1973
1 Comment
LVL 17

Accepted Solution

owensleftfoot earned 200 total points
ID: 12303026
Use vncpasswd.

Section: TightVNC (1)
Updated: August 2002  
vncpasswd - set password for VNC server  
vncpasswd [file]
vncpasswd -t
vncpasswd should be used to create and change passwords for the VNC (Virtual Network Computing) server authentification. Xvnc uses such password when started with the -rfbauth command-line option (or when started from the vncserver script).

The password file name defaults to $HOME/.vnc/passwd unless the -t command-line option was used (see the OPTIONS section below). The $HOME/.vnc/ directory will be created if it does not exist.

The password has to be longer than five characters. Only the first eight characters are significant. If the password is too short or if the password file can't be opened for writing, the program will abort and exit with error code 1.

Unless a file name was provided in the command-line explicitly, this utility may perform certain sanity checks to prevent writing a password file into some hazardous place.

    Write passwords into /tmp/$USER-vnc/passwd, creating the /tmp/$USER-vnc/ directory if it does not exist, and checking the permissions on that directory (the mode must be 700). This option can help to improve security when your home partition may be shared via network (e.g. when using NFS).

vncserver(1), Xvnc(1), vncviewer(1), vncconnect(1)  
Original VNC was developed in AT&T Laboratories Cambridge. TightVNC additions was implemented by Constantin Kaplinsky. Many other people participated in development, testing and support.

Man page authors:
Marcus Brinkmann <Marcus.Brinkmann at ruhr-uni-bochum.de>,
Tim Waugh <twaugh at redhat.com>,
Constantin Kaplinsky <const at ce.cctpu.edu.ru>


Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Fine Tune your automatic Updates for Ubuntu / Debian
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question