The vnc startup script I've got working (Solaris 2.6) is as follows:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid black
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
/usr/dt/bin/Xsession &

xsetroot was a workaround for the fact that the X desktop always came up
with an awful grey colour that wouldn't sync right on my PC's monitor. 

(1) Do you have the xrdb setting in there? (don't know what it does!)
(2) has the user run X 'natively' to the graphical terminal before (logged
in, used the desktop etc) 
(3) do they have the following directory (not $HOME/.xt as I previously
suggested)

$HOME/.dt

(4) are the X directories were in the users path (check against a user that
works OK to the graphics terminal on the host) That might explain why you
can't find key files. I found running X 'natively' set the users up
correctly, I then give them an Xvnc session.

(5) Once the VNC session is running without a window manager, run a window
manager direct from the xterm that's in VNC session - full path name etc (I
suggest dtwm, I know it works) I've had to kill my window manager on
occasion, and restart it, and it recovers flawlessly. 

Finally, errors like the following happen every time I send X programs on
other unix servers to my VNC session. 

>Warning: Missing charsets in String to FontSet conversion
>Warning: Cannot convert string "-dt-interface
>system-medium-r-normal-l*-*-*-*-*-*-*-*-*" to type FontSet
>Warning: Missing charsets in String to FontSet conversion

It would make perfect sense that the window manager would generate them as
well. 

regards, Ben.

>
>If I just substitute twm by dtwm I get all the windows without it's caption,
>so
>I cannot move them. I also get lots of errors in /dt/Xerrors like this ones:
>
>/usr/openwin/bin/xset:  bad font path element (#37), possible causes are:
>    Directory does not exist or has wrong permissions
>    Directory missing fonts.dir
>    Incorrect font server address or syntax
>
>Warning: Missing charsets in String to FontSet conversion
>Warning: Cannot convert string "-dt-interface
>system-medium-r-normal-l*-*-*-*-*-*-*-*-*" to type FontSet
>Warning: Missing charsets in String to FontSet conversion
>Warning: Unable to load any usable fontset
>Warning:
>    Name: FONTLIST_DEFAULT_TAG_STRING
>    Class: XmRendition
>    Conversion failed.  Cannot load font.
>
>It' seems that there are a problem with font directories, but why ? which
>directories ? I also
>tried to pass (-fp) the X11 font directories to Xvnc but it does not make
>difference.
>
>Adding -query localhost to Xvnc on the vncserver script does not solve
>anything (it just makes
>the background black)
>
>Does anybody can help please ??
>
>--
>Thanx & best regards ...
>
>Unknown Error on Unknown Device for Unexplainable Reason.
>
>----------------------------------------------------------------
>     David Saez Padros                  e-mail  [EMAIL PROTECTED]
>     On-Line Services 2000 S.L.
>     Trafalgar 78 2: 2* B               voice   +34 93 315 15 93
>     08010 Barcelona (Spain)            movil   +34 670 35 27 53
>     http://www.ols.es                  fax     +34 93 268 35 90
>     http://www.ols.es/~david/
>----------------------------------------------------------------
>---------------------------------------------------------------------
>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