If anyone interested I found a work around by running the vncserver via ssh 
first:

a) If you are logged into the system, Vino_server (VNC) works out of the box - 
nothing to do here, just vnc to tue system w/o screen number, e.g. 192.168.1.10.

b) if the machine reboots then you have the login window, there are some steps 
I did so I can still vnc to it:

1.- Connect to it via ssh and just run:
vncserver :#  
(use any screen # other than '0' to start a vncserver login session, it will 
ask for a user name and password to create a new .vnc/xstartup folder/file (if 
this is the first time only)).

2.- Edit xstartup to go for ?gnome-session? only and un-comment the other lines:
e.g
# vncconfig -iconic &      
gnome-session
# xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# twm &
-log out and back in via ssh so this change takes efect.

3.- Once logged again via ssh run the command: vncserver :#  (use any number 
other than '0').

4.-Then from your windows (or whatever) desktop just run the vncviewer with no 
screen number, e.g. 192.168.1.10  (this uses the vino-server (VNC)). 

Before hand make sure your Preferences > ?Remote Sharing? for that user has a 
password and the port is set to 5900 before you can login this way.

NOTE:
At this point it can be logged using vnc with the screen # selected or just use 
the vnc with no screen, it work either way.

Actually it looks like a lot of steps but its its easy.

cheers!
-- 
This message posted from opensolaris.org

Reply via email to