Hi

I have read through the many emails about this subject but none of them
seems to work for me.

I'm running SunOS 5.9 and have set up the vncserver start/stop scripts as
per previous advice so I have the following:

/etc/rc2d.ini/S97rc.vnc

...which runs "/usr/local/bin/vncserver  :1"

...which in turn invokes the Xvnc command.  I have the 'standard' (?)
/.vnc/xstartup file (userid is root) containing the following:

#!/bin/sh
[ -r  $HOME/.Xresources  ]  &&  xrdb $HOME/.Xresources
xsetroot -solidgrey
DISPLAY=192.168.3.100:1
export DISPLAY
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

[ Note: I don't have an Xresources file and get the impression it's not
material to this problem anyway. ]

All of this is fine if run manually from the command line.  There seems to
be some odd problem with shells/sessions though, as it doesn't start up
correctly on reboot and if run manually on the command line it dies on
logout.   The 'Xvnc' process is still there but the xterm and twm processes
aren't, for both reboot and login.

What am I missing?

Additionally, and probably unrelated: this is being run as root and I'd
much prefer for it to initially present the standard Solaris X window login
screen for added security.  Can that be achieved?

Many thanks.

Graeme Hairsine
Digital Archive System Administrator
Public Record Office Victoria
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to