From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,56871504c63d1552 X-Google-Attributes: gid1020c6,public X-Google-Thread: f678f,56871504c63d1552 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,56871504c63d1552 X-Google-Attributes: gidfee84,public X-Google-Thread: 1065ea,56871504c63d1552 X-Google-Attributes: gid1065ea,public From: Tom Leitner Subject: Re: DTLOGIN question Date: 2000/03/05 Message-ID: <89u4r4$ibp$1@fstgss02.tu-graz.ac.at>#1/1 X-Deja-AN: 593473129 References: <38C2727D.5BB8DF8F@cfd.eng.tau.ac.il> X-Complaints-To: news@zid.tu-graz.ac.at X-Trace: fstgss02.tu-graz.ac.at 952276644 18809 129.27.138.63 (5 Mar 2000 17:17:24 GMT) Organization: Technische Universitaet Graz, Austria User-Agent: tin/1.5.1-20000103 ("Sumerland") (UNIX) (OSF1/V4.0 (alpha)) NNTP-Posting-Date: 5 Mar 2000 17:17:24 GMT Newsgroups: alt.unix.wizards,comp.unix.admin,comp.unix.osf.misc,comp.unix.osf.osf1 Hi Evgeny, In comp.unix.osf.osf1 Evgeny Shumsky 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