Re: Device Environment variable
Re: Device Environment variable
- Subject: Re: Device Environment variable
- From: Randy Ford <email@hidden>
- Date: Thu, 6 Feb 2003 22:11:29 -0600
On Thursday, February 6, 2003, at 05:00 PM, Lawrence Puga wrote:
I can open a window, log on to a remote HP, start IDL (Interactive
Display Language), but IDL is then unable to open additional windows
and I get the message:
Is your device environment variable set correctly?
Can anyone help me with this?
Is it asking about the "DISPLAY" environment variable instead of the
"device" one? The DISPLAY variable tells the windows where to display.
The window could try to display on any machine. The DISPLAY is
normally an ip address or valid hostname, a colon, then a display
number, then optionally a period and screen number. For example
'myhost:0.0' or '192.168.1.2:0' .
There are also some security issues: the window must be authorized to
connect. The recommended way of doing this is to ssh onto the remote
server with X11 forwarding. To do this, the sshd server on the HP box
must be set up for it. If it is set up, on the Mac, type "ssh
your_user@hp_hostname". That works like telnet, only much more
securely. It also sets up the DISPLAY variable. (The DISPLAY it sets
up will actually point to a proxy on the HP box, not to your Mac, but
it will work.)
Other ways involve opening up port 6000 on the firewall of your Mac,
and using xauth or xhost to allow the connection.
randy.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.