Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Tom Leitner <tom@radar.tu-graz.ac.at>
Subject: Re: DTLOGIN question
Date: 2000/03/05	[thread overview]
Message-ID: <89u4r4$ibp$1@fstgss02.tu-graz.ac.at> (raw)
In-Reply-To: 38C2727D.5BB8DF8F@cfd.eng.tau.ac.il

Hi Evgeny,

In comp.unix.osf.osf1 Evgeny Shumsky <evgeny@cfd.eng.tau.ac.il> wrote:

> I was wondering, how can let users choose to which computer to login .
> We have 12 hosts each with his own console , but still I would prefare
> to let them choose to login from each of them to each of them,
> i know I should change DTlogin settings but dont know where to start .
> We have Digitall 4.0D

This is easy: Just let dlogin run on all machines *without* an X Server
and start the X server separatly with a chooser.

a.) To run dtlogin without an X server, copy the file /usr/dt/config/Xservers
    to /etc/dt/config (possibly creating the directory if it does not exist
    yet). comment out the X Server line in the file (it is most probably
    the last line in the file). Restart dtlogin with

              /sbin/init.d/xlogin stop
              /sbin/init.d/xlogin start

    Now, you don't have a local X server running but other's can 
    login to your machine via XDMCP.

b.) Start a local X server and request a chooser. This can be done via 
    several ways. I do it like this:

    - add the following line to /etc/inittab

            x3:3:respawn:/etc/xstart
	    
    - create a file called /etc/xstart with the following contents:

#!/bin/sh
#
# start the X server on the local console
#
fp="/usr/lib/X11/fonts/decwin/100dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fo
nts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/font
s/Type1/,/usr/lib/X11/fonts/user/100dpi/,/usr/lib/X11/fonts/user/misc/,/usr/dt/c
onfig/xfonts/C/"
h=`/sbin/hostname -s`
#o="-bs -su -nice -6 -terminate"
o="-nice -6 -terminate"
r="-screen0 1280 -vsync 75"
c="-dpms -vclass TrueColor -depth 16"
#c="-dpms -vclass TrueColor -depth 24"
exec /usr/bin/X11/X $o -indirect $h $r $c -fp $fp < /dev/console > /dev/console 
2>&1
exit 0

     - note the "X -indirect localhost" does not work. This is why the
       h=.... statment is needed to get the local hostname.

     - the options can be used to tailor the X-server to the display 
       hardware of the local machine.

     - enter the commands:
     
             # chmod 700 /etc/xstart
             # kill -1 1

       and you'll get an X-Server agian, this time it shows a list of all
       available machines in the LAN and allows you to select one of them
       (also the local machine, of course) and log in.

Finally you need some sort of password management like NIS to have the
same usernames or passwords everywhere. I, for one, try to avoid NIS
and just copy the C2 security database over to the other machines.

Hope this helps // Tom
-- 
Dr. Tom Leitner             Dept. of Communications, Graz Univ. of Technology,
tom@radar.tu-graz.ac.at     Inffeldgasse 12, A-8010 Graz / Austria / Europe
PGP public key @ http://wiis.tu-graz.ac.at/people/tom.html



  reply	other threads:[~2000-03-05  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-05  5:00 DTLOGIN question Evgeny Shumsky
2000-03-05  5:00 ` Tom Leitner [this message]
2000-03-05  5:00 ` Rev. Don Kool
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox