1827293 Members
3890 Online
109717 Solutions
New Discussion

DISPLAY

 
SOLVED
Go to solution
Dagmar Boelen
Frequent Advisor

DISPLAY

Hi,

I am trying to connect from my pc to a unix-workstation. First I make a telnet-connection with reflection. After logging in I set my DISPLAY to my_ipadres:0.0. To test the setting I do xclock. This returns the following error.

Error: Can't open display: 145.4.10.193:0.0

Can anyone help me?
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor

Re: DISPLAY

After setting DISPLAY=145.4.10.193:0.0, did you export DISPLAY?

If it ain't broke, I can fix that.
Michael Elleby III_1
Trusted Contributor

Re: DISPLAY

Dagmar-

Two things... do you know what type of shell you are running in (i.e. ksh (Korn Shell), csh (C Shell) or sh (Posix/Bourne shell)?

If ksh:

export DISPLAY=ipaddress:0.0

If csh:

setenv DISPLAY=ipaddress:0.0

If sh:

DISPLAY=ipaddress:0.0
export DISPLAY

Then try you X application once again.

Mike-
Knowledge Is Power
Rainer von Bongartz
Honored Contributor

Re: DISPLAY


export DISPLAY=145.4.10.193:0

should work

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Martin Johnson
Honored Contributor
Solution

Re: DISPLAY

Stupid Question: Is the version of Reflections you are running "Reflections X"? If not, your version of Reflections does not have X windows support.

HTH
Marty
Dagmar Boelen
Frequent Advisor

Re: DISPLAY

Hi,

I think the DISPLAY-settings are OK. I run ksh. I did export DISPLAY=ip:0.0.

Should I use xhost +?

Regards,

D.
Michael Elleby III_1
Trusted Contributor

Re: DISPLAY

Can't see why the server is refusing to display X apps for you...

Here is an idea...

In Reflection, use the Client Wizard to create the client to log into the UNIX box.. In the X Client Manager window, Click on Tools, Client Wizard, and follow the prompts..

Then, use this client to login and retry the app.

Mike-
Knowledge Is Power
Alex Glennie
Honored Contributor

Re: DISPLAY

see Martins Stupid question ..... I think it could be on the money here ...

Xhost errors normally would say the magic word "authorised" so I don't think that's the case here ...
John Meissner
Esteemed Contributor

Re: DISPLAY

I use Exceed on my laptop to utilize the X windows environment. Do you have an X session running or capable on your DISPLAY?
All paths lead to destiny