1834208 Members
2181 Online
110066 Solutions
New Discussion

DISPLAY

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

DISPLAY

Good Morning,
I have a D class that sits on the other side of my firewall. I am trying to run glance in graphical mode but it won't accept my display beacuse I guess it does not know who I am. I am using exceed. I export my DISPLAY as usual, start glance and then get an error "can't open display". Is there a way around this, please advise.

Thanks,
Bob Menefee
UNIX IS GOOD
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: DISPLAY

You will need to PUNCH a HOLE through your firewall to allow your IP and rexec through.

live free or die
harry
Live Free or Die
Alex Glennie
Honored Contributor
Solution

Re: DISPLAY

Is that the full error ? It could be you are just not authorised to in which case running xhost + on your local systems DISPLAY first may resolve the problem.

Or it could be ip/hostname resolution is not working correctly : both systems need to be able to resolve one anothers ip adresses/hostnames : check using nslookup or the pc's equivalent.

Lastly you may need to open up the Xserver associated ports on the fire wall : port 177,6000 and 7000 would be the prime candidates.
harry d brown jr
Honored Contributor

Re: DISPLAY

Robert,

If you can telnet in, then do so, then from the HOST, you can cut and paste (or type it in again) your exceed rexec command, replacing the "-display @D" with "-display yourIPofyourPC:0", then start it (but put it in the background with nohup and &.


live free or die
harry
Live Free or Die
Sridhar Bhaskarla
Honored Contributor

Re: DISPLAY

Hi Bob,

Try this.

$who -mR

Note down the IP or the hostname that you are connecting from (depending on how the system recognizes your client you will get the output)

$export DISPLAY=:0.0
$gpm

If you still get the same message you need to
open up your firewall for Xserver port 6000.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Craig Rants
Honored Contributor

Re: DISPLAY

Here is the packet filtering rule that I have to allow Xwindow type of traffic.

pass in quick proto tcp from 10.0.0.0/8 to 10.1.1.2/32 port = 6000 keep state group 200

This is the type of action your firewall admin will have to take for you to get you GUI.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Jacob_2
Advisor

Re: DISPLAY

1. Can you just open a hpterm window on your local host ( before the firewall).

#hpterm

if not then it is not a firewall issue.
you need to disable the host access control list on the Exceed server.

Programs-->exceed-->xconfig-->security

and disable --> Host Access control list

If you can open a hpterm window on the local host then you need to open port 6000 on the firewall for your IP.