TightVNC/solaris: dtwm Desktop control and exit
Wed Oct 2 11:32:00 2002
> -----Original Message-----
> From: Shing-Fat Fred Ma [mailto:firstname.lastname@example.org]
> From: =?iso-8859-1?Q?=22Beerse=2C_Corn=E9=22?=
> To: "'email@example.com'" <firstname.lastname@example.org>
> Reply-To: email@example.com
> > > -----Original Message-----
> > > From: Shing-Fat Fred Ma [mailto:firstname.lastname@example.org]
> > > Sent: dinsdag 1 oktober 2002 05:39
> > > To: email@example.com; firstname.lastname@example.org
> > > Subject: TightVNC/solaris: dtwm Desktop control and exit
> > >
> > > I'm using TightVNC 1.2.2 (haven't successfully
> > > upgraded, but that's a different story). The
> > > host system is solaris 8.
> > On unix variants, the simples way to upgrade vncservers is
> exchange the Xvnc
> > binary.
> Tried that. The TightVNC binaries for solaris are for SunOS5.9,
> so I have to compile from the source for 5.8
> > >
> > > In my xstartup, I invoke dtsession. Everything
> > > seems fine, except when I try to set the
> > > desktop controls (an icon). I get an error
> > > message:
> > >
> > > The folder specification
> > > /var/dt/appconfig/appmanager/$DTUSERSESSION/Desktop_Controls
> > > does not exist
> > Is the $DTUSERSESSION in the message or did you insert that
> one? Was it the
> > session name of the console or the one inside the vnc
> session? They should
> > be different to avoid interfearance.
> It's copied verbatim. The environment variable DTUSERSESSION
> doesn't exist if I echo it from the command line.
> > > This doesn't happen when I use exceed.
> > > What am I not doing in xstartup to mimic
> > > the problem-free behaviour of using
> > > Exceed?
> > How do you connect using exceed, which windowmanager do you
> use in there?
> > If exceed is configured to use xdhcp, then use vnc with the
> same setup:
> > Xvnc :4 -query localhost
> > Might need to add a proper fontpath, copy from `xset -q :0`
> or from what you
> > get with the vncserver script.
> I didn't actually set up Exceed, but poking around shows
> that I'm using XDMCP-broadcast. Can't find any xdhcp.
> I recall this is related to dynamic assignment if IP addresses?
> I know that the PC running vncviewer has a fixed IP address.
Sorry, my mixing-up of protocols. I shouild take care what I type. It should
be the XDMCP-broadcast, that's what the "-query broadcast" does to Xvnc.
> I am *not* running TightVNC using XDMCP, I'm just
> setting up a VNC server/desktop and keeping it running, and
> connect directly to it using the vncviewer command. Hopefully,
> I don't have to depart from this simple operation. It could
> take forever to learn enough about access and services
> from the solaris point of view (I'm not an administrator, so I
> probably don't even have rights to modiify any of the important
CDE (aka dt.... tools) is verry hard to understand. I once had a cource on
this and still don't know the gory details on how to start the entire
system. I'm always having troubles with the tooltalk demon (or is that HP-UX
> > If that works, you can setup as on
> > http://www.sourcecodecorner.com/articles/vnc/linux.asp: edit the
> > /etc/services and /etc/inetd.conf files only if exceed
> already works.
> > >
> > > I get further problems when trying to exit
> > > the dtwm (using the Exit button):
> > >
> No, I put dtsession in xstartup, as per the advice on one of
> the VNC-related mailing lists.
Try to figure out what is started (and how) for the login session at the
console. Then somehow mimic the same construction. I know it's verry
complicated (I've tried it once).
An other idea is to find where Xsun (the Xserver for the console on Solaris
machines) is started and add Xvnc as if there is an other X session (there
is). Try to see how to startup Xsessions for Xterminals that cannot do
XDMCP. Then use the Xvnc binary and add the Xvnc special options.
The latter is an idea I have some time now, but I have no reason to
implement (I'm happy with the inetd approach)