November 04, 2003

Ports for XDM login    [ Software ]

Some notes on setting up XDM login from a Linux client to a Solaris server - got this working between a Debian box with iptables and a Solaris 8 box with ipfilter.   The fonts still look ugly, so I need to poke around with font server settings to see if I can pull the fonts from the Solaris box for just that one X session and retain the native fonts for the "ordinary" X session on vt7.

Add an entry to the iptables rules on the Linux client to allow inbound 6001/tcp traffic from the Solaris server:

iptables -A INPUT -s solaris.box.ip.address/255.255.255.255 -p tcp -m tcp --dport 6001 -j ACCEPT

Add an entry to the ipfilter rules on the Solaris server to allow inbound 177/udp traffic from the Linux client:

pass in quick on hme0 proto udp from linux.box.ip.address/32 to any port = 177 keep frags keep state

Make sure that the dtlogin process is running on the Solaris box:

# ps -ef | grep `cat /var/dt/Xpid`
.... /usr/dt/bin/dtlogin -daemon

Start up the X session in -query mode on the Linux client, using a spare virtual terminal (vt8 should work, since vt7's used for local xdm by default):

# X :1 vt8 -query solaris.box.ip.address

And voila! You should get an XDM login screen from the Solaris box.

Posted by edobbs at November 4, 2003 09:12 AM