Subject: Re: XDM setup
To: Tim & Alethea Larson <thelarsons3@cox.net>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 09/09/2006 12:29:02
At 4:23 Uhr -0500 9.9.2006, Tim & Alethea Larson wrote:
>Hauke Fath wrote:
>> That depends on what you intend to do. The tarball has my complete xdm
>> setup files which give you a local XDM login, and the existing explanations
>> describe the details. You might just try it out, and get back to me with
>> any bits that you found unclear or lacking.
>
>I gave it a try tonight. Your makefile didn't work for me - I don't
>have the bsd.prog.mk file nor cvs on my system.
That is probably because you didn't install the comp.tgz tarball?
>But, it seemed apparent what I had to do. So I manually copied the
>relevant files to the appropriate places, and set ownership and
>permissions like the files they replaced. Then rebooted.
>
>But, it still didn't work. Then I noticed that your xdm-config
>referenced the "new style" /etc paths while my system has the "old
>style" /usr/X11R6 paths. So I changed them all and rebooted again.
I'd recommend going with /etc/X11 because installing xetc.tgz will
overwrite your setup. It happened to me. ;)
>It worked great!
Here's glad my notes helped. :)
>I don't like the xconsole so I commented that out,
It is there to catch any console output that would otherwise mess up the
graphical screen.
> and
>the NetBSD flag xpm isn't showing up. Maybe the CC screen is too small?
Could be... is that 512x384 pixels? The xpm is auto-positioned, and if
there's not enough room for it, maybe it is simply omitted. I'll have to
try out the setup on my SE/30. Make sure, though, that you are using the
replacement xpm files instead of the NetBSD ones (assuming you are working
with NetBSD [23]).
> Anyway, on to figuring out how to log into other machines through the
>GUI! :)
The easiest way to run a remote X client would be a 'ssh -X $remotehost
/usr/X11R6/bin/xterm', although it may be slow between mac68k machines.
'ssh -1' is a bit faster.
If yours is a home network without (permanent) connection to the outside,
you could just go with setting up /etc/{hosts.equiv,X0.hosts} and/or
~/.rhosts, and use rsh(1).
http://la.causeuse.org/hauke/macbsd/xdm/dot.xinitrc has an example call.
See also man Xserver, man Xsecurity.
>Is it possible to change the size of the prompting text used, or
>shrinking this dialog some other way?
The Xresources file
http://la.causeuse.org/hauke/macbsd/xdm/xdm-scripts/Xresources controls
that for the xdm greeter:
[...]
xlogin.Login.width: 500
xlogin*font: -b&h-lucida-medium-r-normal-sans-14-*-75-75-*-*-iso8859-1
xlogin*greetFont: -b&h-lucida-bold-r-normal-sans-24-*-75-75-*-*-iso8859-1
xlogin*promptFont: -b&h-lucida-bold-r-normal-sans-14-*-75-75-*-*-iso8859-1
xlogin*failFont: -b&h-lucida-bold-r-normal-sans-14-*-75-75-*-*-iso8859-1
[...]
You can use xfontsel(1) to make up other font strings. For a 512x384
compact Mac screen, you will most likely want smaller font sizes.
hauke
--
"It's never straight up and down" (DEVO)