Sponsored Content
Operating Systems Solaris How to set password for vnc software installed in windows machine? Post 302534361 by bitlord on Monday 27th of June 2011 04:35:06 PM
Old 06-27-2011
password setting

Hi,
I use VNC to access my Solaris 10 servers at work, form a Windows machine.
I hope this helps you.

To set a user password use this command in unix.
passwd username

To set a password for VNC
vncpasswd

For each user to have there own password then they need three own account and session. The link below is my blog, that has a how to on account creation.
My Notes: Adding a new user to a UNIX based system

To give each person there own session. You will need to log into the sever and become them.
Example:
su someuser

After you are them start the server:
Example:
vncserver
VNC Server Enterprise Edition E4.2.7 - built Dec 22 2006 12:39:50
Copyright (C) 2002-2006 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Running applications in /home/arich/.vnc/xstartup
Log file is /home/bitlord/.vnc/solaris-server:4.log
New desktop is solaris-server:4

In this example they will put solaris-server:4 in the VNC Server field, when they start the VNC application.

As a bonus you can set the size of there window like this:
vncserver --geometry 1500x1024

I hope this is what your looking for.

bitlord

Last edited by bitlord; 06-27-2011 at 05:42 PM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installed software

I am a complete novice/dumbo with Unix. How can I ascertain what software is installed on a unix system? Any help is much appreciated. (3 Replies)
Discussion started by: wakeley
3 Replies

2. UNIX for Dummies Questions & Answers

Installed Software

Pls guys, what command do i use to dispaly the Disk size and Ram Size my system? thanks (1 Reply)
Discussion started by: tt1ect
1 Replies

3. Shell Programming and Scripting

Comparing installed software.

I have some 30 AIX servers and I want their software packages to be consistent. AIX provides a command to list out all pertinent information on a software package in a colon separate list - I grab this through ssh and collect in a temp directory server_name.log. Now, I'm stuck. I can create a... (2 Replies)
Discussion started by: ejk67
2 Replies

4. Solaris

Not able to connect (ping & http) to windows 2003 (with IIS installed) from Solaris9 Machine(Tomcat)

hi Am trying to connect from Solaris 9 installed Sun server and having Tomcat 5.5.9 installed on top of it to Windows 2003 server with IIS installed for web application. Scenarios am facing are 1. From Sun system am able to ping and telnet ip with port 80 of windows 2000 system which is... (2 Replies)
Discussion started by: aemunathan
2 Replies

5. Windows & DOS: Issues & Discussions

Need suggestions on Virtual Machine software for Windows

Hi, I am currently having an issue with Virtualbox. It, at one point in time, worked like a charm. Then my internal 500GB HD failed in my PC. It was under warranty and I sent off for another one but did not want to pay for the expedited shipping nor did I want to wait a few weeks to get the... (1 Reply)
Discussion started by: tlarkin
1 Replies

6. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

7. Solaris

Having solaris installed over VM ware machine in windows

I have installed solaris 10 over VM ware in windows machine. now i want to share the files from windows to solaris. how can i do so.. and pls tell if through putty i can access the solaris from windows machine without logging onto VMware. (4 Replies)
Discussion started by: jain_sharad143
4 Replies

8. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
vncpasswd(1)							     TightVNC							      vncpasswd(1)

NAME
vncpasswd - set passwords for VNC server SYNOPSIS
vncpasswd [file] vncpasswd -t vncpasswd -f DESCRIPTION
The vncpasswd utility should be used to create and change passwords for the TightVNC server authentication. Xvnc uses such passwords when started with the -rfbauth command-line option (or when started from the vncserver script). vncpasswd allows to enter either one or two passwords. The first password is the primary one, the second password can be used for view-only authentication. Xvnc will restrict mouse and keyboard input from clients who authenticated with the view-only password. The vncpasswd util- ity asks interactively if it should set the second password. 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. Each password has to be longer than five characters (unless the -f command-line option was used, see its description below). Only the first eight characters are significant. If the primary password is too short, the program will abort. If the view-only password is too short, then only the primary password will be saved. Unless a file name was provided in the command-line explicitly, this utility may perform certain sanity checks to prevent writing a pass- word file into some hazardous place. If at least one password was saved successfully, vncpasswd will exit with status code 0. Otherwise the returned status code will be set to 1. OPTIONS
-t Write passwords into /tmp/$USER-vnc/passwd, creating the /tmp/$USER-vnc/ directory if it does not exist, and checking the permis- sions 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). -f Filter mode. Read plain-text passwords from stdin, write encrypted versions to stdout. One or two passwords (full-control and view- only) can be supplied in the input stream, newline terminates a password. Note that in the filter mode, short or even empty pass- words will be silently accepted. SEE ALSO
vncserver(1), Xvnc(1), vncviewer(1), vncconnect(1) AUTHORS
Original VNC was developed in AT&T Laboratories Cambridge. TightVNC additions were implemented by Constantin Kaplinsky. Many other people participated in development, testing and support. Man page authors: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>, Tim Waugh <twaugh@redhat.com>, Constantin Kaplinsky <const@tightvnc.com> August 2006 vncpasswd(1)
All times are GMT -4. The time now is 10:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy