Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to get an x window to display on 'nathanb-box' from 'ceres' without tunneling X over ssh.

[nathanb@nathanb-box ~] xhost +ceres
ceres being added to access control list
[nathanb@nathanb-box ~] xhost +ceres.foo.com
ceres.foo.com being added to access control list
[nathanb@nathanb-box ~] echo $DISPLAY
:0.0
[nathanb@nathanb-box ~] xauth list | grep nathanb
nathanb-box.foo.com:0  MIT-MAGIC-COOKIE-1  a27ad72172460013c07e3a31b0d7d6da

On ceres...

[nathanb@ceres ~] export DISPLAY=nathanb-box.foo.com:0.0
[nathanb@ceres ~] xauth list | grep nathanb
nathanb-box.foo.com:0  MIT-MAGIC-COOKIE-1  a27ad72172460013c07e3a31b0d7d6da
[nathanb@ceres ~] xterm
xterm Xt error: Can't open display: nathanb-box.foo.com:0.0

What am I missing?

Thanks, Nathan

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Turns out that X was being started with -nolisten tcp. I removed "-nolisten tcp" from

/etc/X11/xinit/xserverrc

and it works like a charm.

share|improve this answer
    
in that case you might consider closing the question –  DaveParillo Oct 2 '09 at 16:20
    
Please elaborate on the solution. What you've provided is only confirmation that you have fixed it. –  mogga Jun 4 '12 at 18:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.