--- Suresh Mahalingam <[EMAIL PROTECTED]> wrote:

> Essentially you have to start a VNC server for each
> remote display.

  I am sorry. You do not have to explicitly start
  VNC Servers. dtlogin starts them for you when
  you put Xvnc commands for different display numbers
  in the Xservers config file.

  Also I had a problem with logging out because
  dtlogin sends out a SIGTERM to kill Xvnc which
  it ignores. Then dtlogin tries to start Xvnc which
  would conflict with the unfinished Xvnc. You can
  fix this by either writing a wrapper perl script
  to catch sigterm and kill Xvnc with SIGINT ( The
  way I did which I will be posting shortly ) or
  you can edit a dtlogin config file to change the
  signal to be sent. You have to refer to the manpage
  of dtlogin for this.

Suresh.

> Then you have to create a directory
> /etc/dt/config, copy /usr/dt/config/Xservers
> ( Not recommended to edit /usr/dt/config/Xservers
> directly )
> to it and edit it to add an entry for each display
> number
> to start dtlogin on. Most of the stuff has to be
> done as root.
> 
> See:
> 
>
http://www.uk.research.att.com/vnc/archives/2000-08/0442.html
> 
> The above also mentions copying S99dtconfig from
> /etc/rc2.d to rc3.d
> if you are using mounted paths. I did not have to do
> it to
> use my home directory paths. If you do that dtconfig
> -d won't
> work to disable dtlogin at boot up.
> 
> I actually used info from the above URL to run VNC
> on solaris
> like WinVNC so that you can see the existing desktop
> remotely.
> I shall post this later. I had fixed some quality
> problems.
> You can take a dump of xdpyinfo on your normal
> display and
> save it in a file for later reference. Then use the
> max. color
> depth for server and specify the same depth with
> truecolor in
> client. However as someone pointed out some programs
> like vlsi
> cad may not work. I had to do this since I did not
> want my
> regular desktop to look worse. Hope I do not run
> into problems.
> 
> While testing you do not have to reboot everytime.
> You can:
> 
> run dtconfig -kill
> kill programs from ps -aef which match "grep -i vnc"
> or
>      grep -i openwin ( None should ideally )
> followed by /etc/init.d/dtlogin start
> 
> Suresh.
> 
> Mt Dew wrote:
> > 
> > Hi,
> > 
> > I read the mail archive but still can't figure
> this
> > out.
> > 
> > I have a Sun Solaris 8 running VNC.
> > How can I setup the VNC server on this box so that
> on
> > the client side it will ask me for a login before
> I
> > login to the Sun box as any user?
> > I can run either XDM or dtlogin on the Sun box.
> > An example will be great.
> > 
> > Thanks
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > NEW from Yahoo! GeoCities - quick and easy web
> site hosting, just $8.95/month.
> > http://geocities.yahoo.com/ps/info1
> >
>
---------------------------------------------------------------------
> > To unsubscribe, mail [EMAIL PROTECTED]
> with the line:
> > 'unsubscribe vnc-list' in the message BODY
> > See also:
> http://www.uk.research.att.com/vnc/intouch.html
> >
>
---------------------------------------------------------------------
> 
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
>
---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED]
> with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also:
> http://www.uk.research.att.com/vnc/intouch.html
>
---------------------------------------------------------------------


__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to