Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't open display via xdmcp-connection

Status
Not open for further replies.

gosuc2000

Technical User
Jun 2, 2004
59
DE
Hi gurus,

I have a problem to display some application from a
remote unix-system to my labtop linuxsystem.
Vice-versa everithing works well, that is, I can
for example, type in on my laptop "xclock -display <remote-ip>:0.0" and the clock appears on thr remote system. But if I type the same thing into the remote-system
"xclock -display <laptop-ip>:0.0" I get the message
Error: can't open display on <laptop-ip>:0.0

On the laptop-side I checked /etc/X11/xdm/Xaccess, and it was set to " * #any host can get a login window.

In /etc/services, port 177 (xdmcp) is uncommented.
/etc/X11/xdm/xdm-config has commented out DisplayManager.requestPort: 0
I also typed in xhost + before I tried to connect.

The only thing in /var/log/messages says "kdm[1808]pam_unix2: session started " (but not in response to my attempt to connect to the laptop-system.

Is there anything to setup besides Xaccess and xdm-config? How can I log whats going on during the connection-attempt
from the remote-system to find out what's going on?

I've tried everything I could think of, but now I'm getting
nowhere.

I'd be greatful for any help.


Regards

Fred

(Excuse my bad English)
 
Flames on me,

I didn't check the most trivial things.
The mentioned settings were all o.k, but there was no
xinetd activated, because I didn't need it before.
So any connection-attempt to port 177 was refused.

I'm almost ashamed to say this, but soetimes there are
the easiest things that may be overlooked, because
you just assume those things can't cause a problem.
Real life situations teach you to take nothing for granted.

Hope this info might anyway be interesting.


regards


Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top