Hi,
I haven't understood what you did.
Have you modified the vncserver script ?
If not, you have to blank (not suppress) your xstartup.
Once the vncserver script is modified, the -query option doesn't read xstartup.
When you close vncviewer, it's normal behavior that next time you open it, the
screen is still the same. It's one of the big superiority upon normal X servers.
That's why you have a password, too.
CU
. \)|(/
. (o o)
. /-----------------ooO----(_)----Ooo-----------------\
.(_| Francis VIVAT |
. | CETP-CNRS |
. | 10-12, avenue de l'Europe 78140 Velizy |
. | Tel : +33 1 3925 4780 |
. | Fax : +33 1 3925 4922 |_
. | E-Mail : [EMAIL PROTECTED] | )
. \---------------------------------------------------/
. (_) (_)
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: mercredi 11 juillet 2001 17:58
Subject: re: solaris cde( was soalris 7 cde)
>
> Hi Francis,
>
>
> I found the below email in the archives section and it worked well as far
> as now being able to bring up the Solaris 7 CDE environment from a Windows
> NT4 system. However, the problem I'm now having is logging out/exiting from
> CDE. I can't log out from the CDE/Sun from the VNC screen on the Win NT4
> system. When I do, it hangs that vncviewer process on the Sun. I then have
> to kill that process on the Sun and start up another. If I just close VNC
> from the Win NT4 system without logging off from the Sun and then reopen
> VNC to access the Sun it brings up the screen already logged on from before
> VNC was closed out (obviously a security issue). Have you had any
> experiences with this? FYI- I didn't modify the xstartup script on the Sun
> according to your instructions below. I just did the vncserver -query
> localhost command. Would the script below possible take care of this
> problem?
>
>
> Thanks for your assistance!
>
>
> Mark Ross.........
>
>
>
>
>
> From: "Francis VIVAT" <"[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-To
> =<[EMAIL PROTECTED]>>
>
>
> >Reply-To: "[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-To
> =<[EMAIL PROTECTED]>
>
>
> >To: <"[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-To
> =<[EMAIL PROTECTED]>>
>
>
> >Subject: Re: Solaris 7 CDE
>
>
> >Date: Fri, 2 Feb 2001 10:35:34 +0100
>
>
> >
>
>
> >Hi,
>
>
> >
>
>
> >use vncserver -query localhost
>
>
> >But before, remove everything in your ~/.vnc/xstartup, but keep the file
>
>
> >empty
>
>
> >here.
>
>
> >
>
>
> >Another way is to modify the script vncserver to allow the -query otpion
> to
>
>
> >avoid the xstartup.
>
>
> >#nouvelle ligne pour QUERY = new line for QUERY
>
>
> >#ligne modifiee pour QUERY = modified line for QUERY
>
>
> >
>
>
> >
>
>
> >[...]
>
>
> >$vncUserDir = "$ENV{HOME}/.vnc";
>
>
> >$xauthorityFile = "$ENV{HOME}/.Xauthority";
>
>
> >
>
>
> >#nouvelle ligne pour QUERY
>
>
> >$query = "";
>
>
> >
>
>
> >$defaultXStartup
>
>
> > = ("#!/bin/sh\n\n".
>
>
> > "xrdb \$HOME/.Xresources\n".
>
>
> >[...]
>
>
> ># Check command line options
>
>
> >
>
>
> >#ligne modifiee pour QUERY
>
>
> >&ParseOptions("-geometry",1,"-depth",1,"-pixelformat",1,"-name",1,"
> -help",0,
>
>
> > "-kill",1,"-query",1);
>
>
> >
>
>
> >&Usage() if ($opt{'-help'});
>
>
> >[...]
>
>
> >if ($opt{'-pixelformat'}) {
>
>
> > $pixelformat = $opt{'-pixelformat'};
>
>
> >}
>
>
> >
>
>
> >#nouvelles lignes pour QUERY
>
>
> >if ($opt{'-query'}) {
>
>
> > $query = $opt{'-query'};
>
>
> >}
>
>
> >
>
>
> >&CheckGeometryAndDepth();
>
>
> >[...]
>
>
> ># Now start the X VNC Server
>
>
> >
>
>
> >$cmd = "Xvnc :$displayNumber";
>
>
> >
>
>
> >#nouvelle ligne pour QUERY
>
>
> >$cmd .= " -query $query" if ($query);
>
>
> >
>
>
> >$cmd .= " -desktop " . "edString($desktopName);
>
>
> >[...]
>
>
> >$ENV{VNCDESKTOP}= $desktopName;
>
>
> >
>
>
> >#nouvelle ligne pour QUERY
>
>
> >if (!$query) {
>
>
> >
>
>
> > system("$vncUserDir/xstartup >> " . "edString($desktopLog) . "
>
>
> >2>&1
>
>
> >&");
>
>
> >
>
>
> >#nouvelle ligne pour QUERY
>
>
> >}
>
>
> >
>
>
> >exit;
>
>
> >[...]
>
>
> >sub Usage
>
>
> >{
>
>
> > die("\nusage: $prog [:<number>] [-name <desktop-name>] [-depth
>
>
> ><depth>]\n".
>
>
> > " [-geometry <width>x<height>]\n".
>
>
> > " [-pixelformat rgbNNN|bgrNNN]\n".
>
>
> >
>
>
> >#nouvelle ligne pour QUERY
>
>
> > " [-query <host>]\n".
>
>
> >
>
>
> > " <Xvnc-options>...\n\n".
>
>
> > " $prog -kill :<number>\n\n");
>
>
> >}
>
>
> >[...]
>
>
> >
>
>
> >
>
>
> >CU
>
>
> >
>
>
> >. \)|(/
>
>
> >. (o o)
>
>
> >. /-----------------ooO----(_)----Ooo-----------------\
>
>
> >.(_| Francis VIVAT |
>
>
> >. | CETP-CNRS |
>
>
> >. | 10-12, avenue de l'Europe 78140 Velizy |
>
>
> >. | Tel : +33 1 3925 4780 |
>
>
> >. | Fax : +33 1 3925 4922 |_
>
>
> >. | E-Mail : "[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-To
> =<[EMAIL PROTECTED]> | )
>
>
> >. \---------------------------------------------------/
>
>
> >. (_) (_)
>
>
> >
>
>
> >
>
>
> >
>
>
> >----- Message d'origine -----
>
>
> >De : "Forrest, Wayne" <"[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-To
> =<[EMAIL PROTECTED]>>
>
>
> >@ : <"[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-To
> =<[EMAIL PROTECTED]>>
>
>
> >Envoyi : vendredi 2 fivrier 2001 05:13
>
>
> >Objet : Solaris 7 CDE
>
>
> >
>
>
> >
>
>
> > > Hi
>
>
> > >
>
>
> > >
>
>
> > > Ive only just started using vnc and have the server running on both WNT
>
>
> >and
>
>
> > > Solaris.
>
>
> > > When running the Xvnc server on Solaris is there anyway a pc client can
>
>
> > > display the Solaris Common Desktop Environment?
>
>
> > > I currently get a single xterm and what looks like the Openwindows
>
>
> > > interface.
>
>
> > >
>
>
> > > regards
>
>
> > >
>
>
> > > Wayne Forrest
>
>
> > >
>
>
> > > CAD Systems Engineer
>
>
> > > Australian Submarine Corporation
>
>
> > >
>
>
> > > Phone: +61 8 8348 7802
>
>
> > > Fax: +61 8 8348 7001
>
>
> > > email: "[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-To
> =<[EMAIL PROTECTED]>
>
>
> > > ---------------------------------------------------------------------
>
>
> > > To unsubscribe, send a message with the line: unsubscribe vnc-list
>
>
> > > to "[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]?Subject=Re:%20Solaris%20CDE
> (%20was%20Soalris%207%20CDE)&In-Reply-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 unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------