VNC - grey desktop with cursor - Unix
rgi "at" itss.nerc.ac.uk
Thu Jun 13 15:17:01 2002
Thanks for the input. It turned out I was stupidly using the wrong
static version of sh! Final version (never say final!) is now... all
working OK except for Irix, where I still haven't got my head around
268 rgi "at" shannon>cat xstartup
case `uname` in
/usr/bin/X11/toolchest -name ToolChest
# fm &
# fmserv &
# imdmonitor &
# iconcatalog Applications &
/usr/bin/X11/4Dwm -launch -xrm *SG_UseBackgrounds: True &
# /usr/bin/startkde &
# /usr/X11R6/bin/fvwm2 &
# need to check writability of /tmp/.X11-unix
if [ ! -w '/tmp/.X11-unix' ] ; then
echo "/tmp/.X11-unix not writable"
# echo "something else"
269 rgi "at" shannon>
"Beerse, Corni" wrote:
> > -----Original Message-----
> > From: Richard Gillman [mailto:rgi "at" itss.nerc.ac.uk]
> I can't help, it just asks for a setup like
I had read this...
> If that's no solution, read on...
> > I am trying to write an xstartup file to cater for a mixed
> > environment,
> > Irix, Linux, Solaris. User filespace is shared using NIS, so if a user
> > starts vncserver on Solaris, it has to look like solaris, if (s)he
> > starts it on Irix, it has to look like Irix, etc. The same desktop
> > managers are not available on different architectures.
> General approach for single filesystem, multi architecture systems, like
> In scripts, try to use as much general unix applications and avoid hard
> coded paths to binaries.
> Start with an extended $PATH setting.
> Once you realy need to go platform specific use the `uname` command in a
> For sh scripts:
> case `uname` in
> # Irix command sequence
> # Linux command sequence
> # Solaris command sequence
> # none of the above, might need a message here.
> Be sure to use the output for `uname` at the place of the case tests, I'm
> sure on the linux one, the Solaris (SunOS) one is by head and Irix, I just
> don't know.
> If there is some version specific details (like between different versions)
> try the results of `uname -r`. Best to do this inside a `uname` switch.
> Hence, the above can be used in your system-wide xstartup script.
> > I've got minimal xstartup file as follows:
> > 397 rgi "at" shannon>cat xstartup
> > #!/bin/sh
> > xterm &
> > dtwm &
> Dost this work properly? I frequently have the most absurd problems (that
> was HP-UX however) Might need to start cde with an other command, don't know
> by head now.
> > 398 rgi "at" shannon>
> > This works fine on Solaris, and, when I run vncserver, vncviewer gives
> > me a miniature version of my Solaris desktop, all the
> > applications along
> > the bottom, buttons one two three four, four screens, maybe the colour
> > not quite right on screen four, an xterm in screen one. Fine.
> > I've got a generalised xstartup file, as follows:
> > 398 rgi "at" shannon>cat xstartup.fancy
> > #!/bin/csh
> > xterm &
> > set OSNAME=`uname -s`
> > switch ($OSNAME)
> > case IRIX:
> VNC-List mailing list
> VNC-List "at" realvnc.com
iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB
Tel: 01491 - 692 339