Erase all of the lines except for the #!/bin/sh and add
/usr/dt/bin/Xsession&.

Haim Lichaa
Intel Corp.
TSG-Unix Fab-18
Qiryat Gat, Israel
[EMAIL PROTECTED]
phone: 972-8-6664259
Cel:     056-386308
Pager: 7983

 -----Original Message-----
From:   Edric Bulalacao [mailto:[EMAIL PROTECTED]] 
Sent:   Tue, July 17, 2001 7:06 PM
To:     [EMAIL PROTECTED]
Subject:        VNC server not using xstartup on Solaris 7

I've got the latest VNC installed on Solaris 7.  I'm executing VNC through
inetd.  I'd like to use an alternate window manager besides CDE.  My
xstartup is as follows:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

I've even deleted the /.vnc/xstartup file and it still defaults to CDE.
After doing so, I searched all my filesystems for xstartup and verified that
I didn't have any more.

I added this in /etc/services:
vnc-800x600x8   5951/tcp

I added this in /etc/inetd.conf:
vnc-800x600x8   stream  tcp     nowait  root  /usr/local/vnc/Xvnc-51 Xvnc

My /usr/local/vnc/Xvnc-51 is:
/usr/local/vnc/Xvnc -inetd -query localhost -once -fp
tcp/localhost:7100 -geometry 800x600 -depth 8

How can I force VNC to read my xstartup script?  Thanks.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to