Re: xhost and dhcp

2002-03-10 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan Peery wrote:

>> I have an IBM Thinkpad running Red Hat 7.2.  Its networking protocol is
>> DHCP.  I can't run a remote X session on this machine.  For example, I
>> put it on our network, and do 'xhost +192.168.230.201', which is a
>> machine on our Linux NIS network.  Then when I log in to 192.168.230.201
>> from the Thinkpad, and try to run an X app, like Netscape, I get a
>> message like "cannot connect to newt.emeraldbiostructures.com:0.0 [the
>> Thinkpad]".  Is there something in addition to 'xhost' that needs to be
>> done to run a remote X session on a DHCP machine?
>
>The DHCP bit shouldn't have anything to do with it.  I suspect that you have
>firewall rules blocking access to port 6000 ( :0.0 => 6000) from other
>clients.  Try "man iptables"

Maybe, but sounds more likely that DISPLAY is incorrect on the target.  
Since those are private IPs, we can't tell from this post.

Instead of messing with xhost, just connect using ssh, and this is all 
done for you.  Just make sure ForwardX11 is enabled for the client 
(ssh_config) and that X11Forwarding is enabled on the server 
(sshd_config).

- -d

- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
- --
http://setiathome.ssl.berkeley.edu/pale_blue_dot.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPIvS7r9BpdPKTBGtEQLunQCg81du+AuXavlxV7sKx8hga0vjp5IAoOOz
VuF4lG+TshXdbXOP+g9LVKoO
=tZFu
-END PGP SIGNATURE-




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: xhost and dhcp

2002-03-10 Thread Alan Peery



Hidong Kim wrote:

> Hi,
>
> I have an IBM Thinkpad running Red Hat 7.2.  Its networking protocol is
> DHCP.  I can't run a remote X session on this machine.  For example, I
> put it on our network, and do 'xhost +192.168.230.201', which is a
> machine on our Linux NIS network.  Then when I log in to 192.168.230.201
> from the Thinkpad, and try to run an X app, like Netscape, I get a
> message like "cannot connect to newt.emeraldbiostructures.com:0.0 [the
> Thinkpad]".  Is there something in addition to 'xhost' that needs to be
> done to run a remote X session on a DHCP machine?

The DHCP bit shouldn't have anything to do with it.  I suspect that you have
firewall rules blocking access to port 6000 ( :0.0 => 6000) from other
clients.  Try "man iptables"

Alan






___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



xhost and dhcp

2002-03-08 Thread Hidong Kim

Hi,

I have an IBM Thinkpad running Red Hat 7.2.  Its networking protocol is
DHCP.  I can't run a remote X session on this machine.  For example, I
put it on our network, and do 'xhost +192.168.230.201', which is a
machine on our Linux NIS network.  Then when I log in to 192.168.230.201
from the Thinkpad, and try to run an X app, like Netscape, I get a
message like "cannot connect to newt.emeraldbiostructures.com:0.0 [the
Thinkpad]".  Is there something in addition to 'xhost' that needs to be
done to run a remote X session on a DHCP machine?  Thanks,



Hidong



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list