Quek,

You mustn't omit the -once option that Steve mentions in his reply. For some
reason, the server reset isn't handled correctly with dtlogin. As I
understand, this will mean that you will be logged out correctly, but also,
that the your Xvnc session is also terminated. I have been using a script
that calls Xvnc with the -once option, and continually restarting Xvnc. This
means you have to reconnect as well. Hopefully someone will have a better
idea.

Shaddy.


-----Original Message-----
From: Quek Hong Cheang [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 24 July 2001 23:03
To: [EMAIL PROTECTED]
Subject: RE: Login window


It is very strange!!!  I did what you said, meaning that I used the query
option and presto, I got the login window. BUT, after I have logged into the
CDE environment, I can't log out??!!  The same error message  i mentioned
the last time appeared:

The request to service this action has failed for the following reason :
TT_ERR_NO_MATCH. There is no running program to handle this message, nor is
there a static ptype to start such a program, check whether ... (truncated
off for unknown reasons)

So, I tried out your whole method by first creating a script file (abc) in
the directory /mydirectory/vnc and containing :

/mydirectory/vnc/Xvnc -query my_workstation_IP -geometry 1024x768 -cc 3
-deferupdate 200

Then I created another file (ef) as you have mentioned, it goes like this :

/mydirectory/vnc/abc

Then I linked it as follows :

#ln -s ef /etc/rc2.d/S98vnc

I have checked that all files are executable.  But the server simply cannot
start, no matter now many times I reboot.  No log file to look at either.
Also, this time, i have commented out all the commands in xtartup.  Please
enlighten me again!!!  Thank you very much.

By the way, you are right.  I was using the perl script vncserver.

On Mon, 23 July 2001, "Steve Palocz" wrote:

> 
> You want to use the -query localhost option of Xvnc.
> 
> it sounds like you are running the perl vncserver script file.
> 
> if you run Xvnc with all the options for your system and the -query
> localhost options, You will get the dtlogin screen you get on the console.
> 
> the Xvnc command I use is as follows, (all one line).
> 
> /usr/local/bin/Xvnc :1 -geometry 1024x768 -depth 16 -once -query
> localhost -httpd /usr/local/vnc/classes -auth /.Xauthority -httpport
> 5801 -dontdisconnect -nevershared -rfbwait 1200 -fp
> tcp/localhost:7100 -desktop 1:Large
> 
> Just put this in a script. Write another script to start the above one,
link
> it to /etc/rc2.d/S98vnc to start on boot up.
> 
> Note the above will not give you a vnc password, just a user password for
> the system. to have a vnc password, run vncpasswd to give you a
> ~/.vnc/passwd file and use the option
> -auth ~/.vnc/passwd
> 
> Steve
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Quek Hong Cheang
> Sent: Sunday, July 22, 2001 7:24 AM
> To: [EMAIL PROTECTED]
> Subject: Login window
> 
> 
> Hi
> 
> Is there anyone who knows how to get a login window using VNC?  I am
running
> my server on Solaris 7 and viewer on Win98 PC.  Have managed to get the
CDE
> environment by modifying the xstartup script to be :
> 
> #!/bin/sh
> /usr/dt/bin/Xsession
> 
> When I pressed the logout icon, I got this error message :
> 
> The request to service this action has failed for the following reason :
> TT_ERR_NO_MATCH. There is no running program to handle this message, nor
is
> there a static ptype to start such a program, check whether ... (truncated
> off for unknown reasons)
> 
> I have heard that it is possible to get the login screen with dtlogin, so
I
> tried :
> 
> #!/bin/sh
> exec /usr/dt/bin/dtlogin
> 
> But all I got was a gray screen in my viewer.
> 
> Please enlighten me!!!
> 
> 
> 
> Find the best deals on the web at AltaVista Shopping!
> http://www.shopping.altavista.com
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------


Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
---------------------------------------------------------------------
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
---------------------------------------------------------------------


-------------------------------------------------------------------------
This message may contain privileged and/or confidential information subject
to a confidentiality agreement or copyright material of Clarity
International Ltd or third parties. You should only re-transmit, distribute
or commercialise the material if you are authorised to do so. 
If you are not an authorised recipient of this email, please contact Clarity
International Ltd immediately by return email or by telephone on +61-2-9925
5000. 
In such case, you may not read, print, store, copy or deliver this message
to anyone, and you should not act in reliance on this email or any
attachment to it. 
Clarity provides no warranty that the material contained in this email or
any attachment to it is free from any virus, defect or error. Opinions in
this message are those of the sender and unless stated otherwise, are not
endorsed by Clarity.
---------------------------------------------------------------------
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
---------------------------------------------------------------------

Reply via email to