How to set password for vnc software installed in windows machine?

i want user to prompt for password when ever he tries to login into solaris box using vnc software. is it possible.. each time the user tries to access a solaris box should be prompted for password.

and each user can set his own password for his session?

if all the above are possible which side the configuration has to be done? solaris server side or windows machine where vnc viewer is installed?

passwords are always set on server side. I don't know how to do it on solaris, but think its possible.

1 Like

Okay.. Thanks Orange.. so its server side work then :slight_smile:

Any one out there please if you know how to set password please let me know..

  1. How to set a password for this issuee?
  2. can each user have his own password..?

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