Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to open display



The latest X11 incarnation from XDarwin will not let me open my display.

jarmac:~ jar$ xhost + localhost
xhost:  unable to open display ":0.0"
jarmac:~ jar$ xterm
xterm Xt error: Can't open display: :0.0
jarmac:~ jar$ nedit &
[1] 94119
jarmac:~ jar$ NEdit: Can't open display


[1]+  Exit 1                  nedit
jarmac:~ jar$ echo $DISPLAY
:0.0

This is from iTerm.

The xterm that opens when X starts does not have the path from .profile
in its environment. But it seems to have the correct DISPLAY variable.
/tmp/launch-G83iHs/:0

So, I am confused about how the new X11 sets the DISPLAY variable for
the system, and why doesn't xterm read my .profile file?

Jim Rome
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.