Re: X :0

Tony Nugent <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Organization Linux Works
Message-ID <[email protected]>
On Thu Mar 20 2003 at 21:01, upendra wrote:

>         I have 2 machines in network one RH linux
> other win2k .
>         On Win2k i have installed exceed/Xwin32 but i
> am not getting display of linux machine. and receive
> 10.102.17.9 permission denied

You need to have gdm, kdm or xdm running as an xdmcp server (on port
177) before this will work.

If you are starting from runlevel 3, then you might want to edit
/etc/X11/gdm/gdm.conf to change:

[xdmpc]
Enable=true

and then run the daemon manually (as root).

If already you boot at runlevel 5, then just enabling xdmpc will do
the trick.

If you don't want to run gdm (or whatever) on your local machine,
then later in the config file do this:

[servers]
#0=/usr/bin/X11/X
#1=/usr/bin/X11/X

That is, comment out both of these two lines (to force gdm to only
run on a network socket).

Modify any of this as appropriate for whatever display manager
daemon you want to use.

>          also when i try from another linux networked
> machine this...X :0 -query 'ipaddr of machine' it does
> not give display of machine and only small net i can
> see.

Hmm, if an xdm daemon wasn't running on the target machine then I'm
suprised that it didn't simply say "connection refused".

> regards
> upen

Oh, a warning: gdm uses tcp_wrappers, so make sure that the entries
in /etc/hosts.allow and /etc/hosts.deny protect the daemon but still
allow connections from your 10.102/8 network to work.

Cheers
Tony
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.