Running VNC on Solaris

Barry Saunders Barry_Saunders "at" forcorp.com
Wed, 27 Mar 2002 17:35:21 +0000


Thanks Fred, I have tried the command vnc1280 :22 -cc3 and then followed by
vnc1280 :22 and it worked.  I have just written it into the rc3.d script and
I hope that it works.

The script is:

# Start VNC sessions for each user as that user.
HOME=/export/home/user1 ;export HOME
SHELL=/bin/csh ;export SHELL
su user1 -c "/usr/local/vnc1280 :24 -cc3"
su user1 -c "/usr/local/vnc1280 :24"

Again thanks Fred, I have been working on this for a couple of weeks.

Barry
----- Original Message -----
From: "Fred" <fma "at" doe.carleton.ca>
To: <vnc-list "at" uk.research.att.com>
Sent: Wednesday, March 27, 2002 1:42 AM
Subject: Re: Running VNC on Solaris


> I can't seem to find where it says this, but I'm
> pretty sure that the display number must be
> the first argument to vncserver.  I use the
> following csh script to make sure this happens.
> I don't no what the "-nolisten local" does, but
> someone on the mailing list suggested this
> when I couldn't get vncviewer to connect.
>
> #!/bin/csh -f
> echo -nolisten local $* \
>     | sed -e 's+\(.*\)\(:[0-9]*\)\(.*\)+ \2 \1 \3+' \
>     | xargs vncserver
>
> Hope it works for you.
>
> Fred
> --------------------------------------------------------------------------
> Fred Ma
> Department of Electronics
> Carleton University, Mackenzie Building
> 1125 Colonel By Drive
> Ottawa, Ontario
> Canada     K1S 5B6
> fma "at" doe.carleton.ca
> ==========================================================================
> ---------------------------------------------------------------------
> To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------