Hello,
We use many Solaris (8 & 9) machines to create virtual desktops (Xvnc),
and have done so successfully for years.
However, one Solaris 9 machine has us stumped,
because .vnc/xstartup won't create xterm or twm.
However, after Xvnc is started, one can successfully force
xterm and twm into them via:

  $ DISPLAY=<VNC desktop> xterm &
  $ DISPLAY=<VNC desktop> twm &

However, we shouldn't have to do it this way.
Here's our .vnc/xstartup contents:

#!/bin/sh

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

Basically just the default one (minus the vncconfig line).

The .vnc/<VNC desktop>.log file contents (first half) are:

Xvnc Free Edition 4.1.1 - built Mar 22 2005 15:01:29
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 0, unknown


Tue Aug 30 14:51:39 2005
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5902
 vncext:      Listening for HTTP connections on port 5802
 vncext:      created VNC server for screen 0
 vncext:      Desktop name 'cde:2 ()'
error opening security policy file /usr/openwin/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/dt/config/xfonts/C/, removing from list!
Xlib: connection to ":2.0" refused by server^M
Xlib: No protocol specified

It's the last two lines in particular that are different from our working
Solaris machines' VNC virtual desktops.

One peculiarity that may be worth mentioning is that permissions on
/tmp/.X11-* are these on the "bad" machine (I'm kpl):

drwxrwxrwt   2 kpl      misc         176 Aug 30 14:51 .X11-pipe
drwxrwxrwt   2 kpl      misc         176 Aug 30 14:51 .X11-unix

and these on a couple sampled "good" machines:

drwxrwxr-x   2 root     root         176 Aug 25 12:07 .X11-pipe
drwxrwxr-x   2 root     root         176 Aug 25 12:07 .X11-unix

I had removed -fr /tmp/.X11-* on the "bad" machine, but they got
subsequently recreated the same way (with kpl ownership).  I don't
know that this has anything to do with it, though.

-Kurt Lloyd, [EMAIL PROTECTED]
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to