Solved

VNC server pass word??

Posted on 2004-10-13
1
365 Views
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.

aej
0
Comment
Question by:aej1973
1 Comment
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 50 total points
ID: 12303026
Use vncpasswd.


vncpasswd
Section: TightVNC (1)
Updated: August 2002  
NAME
vncpasswd - set password for VNC server  
SYNOPSIS
vncpasswd [file]
vncpasswd -t
 
DESCRIPTION
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.
 
OPTIONS

-t
    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).

 
SEE ALSO
vncserver(1), Xvnc(1), vncviewer(1), vncconnect(1)  
AUTHORS
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>

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install MySQL 5.6 and PHP on Centos Linux 6 101
LINUX CENTOS + APACHE 9 63
php ssh2_scp_send 1 49
Penetration Testing home based work 3 55
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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.:

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now