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
---------------------------------------------------------------------