gdm + xdmcp

Girish Venkatachalam girishvenkatachalam at gmail.com
Sat Mar 1 01:01:46 UTC 2008


On 01:10:06 Mar 01, Daniel Iliev wrote:
> Hi, people
> 
> 
> I installed FreeBSD using the "7.0-RELEASE-i386-bootonly.iso" CD image.
> After I installed Gnome (pkg_add -r gnome2), I was able to start it on
> the FreeBSD and show it on my GNU/Linux workstation like this:
> 
> 1) (Xnest :1 &) ; terminal --display=:1
> 2) in the "Xnested" terminal:
> ssh -Y bsd.example.org gnome-session &
> (Ctrl+D)
> 
> Next I started gdmsetup on the FreeBSD system and enabled "Remote
> Login" (XDMCP). It was followed by a "gdm-restart". No error messages,
> everything seems fine, but I can not connect to the FreeBSD box issuing
> "Xnest -query bsd.example.org :2" from the workstation.
> 
> The above steps are usually enough to get XDMCP working between
> GNU/Linux hosts. Actually the reverse scenario works just fine - I
> was able to get my GNU/Linux Gnome showing on the FreeBSD system via
> XDMCP. The two hosts are on the same HUB and in the same /24 private
> network.
> 
> 
> What am I missing in the FreeBSD setup?
> 

I am confused why you need Xnest.

If you want the XDMCP of the remote host there are other means. Xnest is
meant for running multiple X sessions in the same server.

If you want to access a remote machine's gdm, then you don't need Xnest
for that.

You can test for UDP port 177 along with the TCP ports 6000 and above
with the nmap command.

# nmap -sT -p 6000-6005 bsd.example.org # For X
# nmap -sU -p 177 bsd.example.org # For XDMCP

Most likely you have to enable "TCP listening" in gdm.conf. Just
uncomment the relevant line and you should be all set.

Best of luck!

-Girish

> 
> 
> P.S.
> 
> /* off-topic
> I'm new to the *BSD world and it's my first message to this list.
> So, I'd like to ask if there are any special rules here that I should
> know about? Would "no html, no thread-hijacking, no top-posting" be
> enough to avoid offending the more sensitive folks on the list when it
> comes to correct e-mail formatting?
> */
 
You seem to know everything already. ;)

This list is specifically meant for newbies and is very very friendly.

-- 
"unix soi qui mal y pense"

UNIX to him who evil thinks


More information about the freebsd-questions mailing list