Improper CDE shutdown

Tim Senecal tsenecal "at" denverpost.com
Wed, 15 Sep 1999 18:24:45 +0000


Stephen,

I use CDE on my solaris box, and am usure if there are differences, but,
this is the TWO LINE command I use inside of a constantly running
"start-vnc" text file:

<total path>/Xvnc -geometry 800x600 -once -query XXXXX -cc 3 :3
<total path>/start-vnc

the secret here is the -once which causes vnc to die after you exit cde
and the -query command which sets you up via normal cde login.  please note
the XXXXX is the name of the machine running Xvnc.

finally, so that there is a cde login screen around the next time you start
your vnc client, the file calls itself after Xvnc quits.

i also added a file called "S99avnc" to your equivelant of my "/etc/rc2.d/"
directory, with the following contents

<total path>/start-vnc &

which causes the start-vnc file to be executed at boot time, giving you a
vnc session you can connect to automagically.

Tim

At 09:56 AM 9/15/1999 -0700, you wrote:
>Another question which has been asked before, but no one ever posted an
>answer I can find in the archive:  when logging out of a VNC session on my
>HP by clicking "EXIT" on the CDE taskbar, I get a flashing activity light
>and some processes exit, but Xvnc doesn't close down the way the real X
>server does.  Is there a solution to this?  "kill"ing Xvnc works, but it
>is a bit awkward.  (I think KDE and Linux behave the same way, but admit
>to not having checked carefully.)
>
>--
>Stephen Walton, Professor of Physics and Astronomy,
>California State University, Northridge
>stephen.walton "at" csun.edu
>
>
>
>---------------------------------------------------------------------
>The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
>---------------------------------------------------------------------
>


---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------