Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Mac Applications / November 2006



Tip: Looking for answers? Try searching our database.

X11:  what does "xset: unable to open display" mean?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dantimatter - 29 Nov 2006 04:56 GMT
hello all,

new user here, so please be kind.   :)

i'm trying to run Mathematica on a remote computer from within an X11
Xterminal, but every time i try it, i get the error:

xset: unable to open display
xset: unable to open display
xset: unable to open display

i have no idea what this means.  is there something i can do to get
this to work?

many thanks!
dan
vze35xda@verizon.net - 29 Nov 2006 10:42 GMT
> hello all,
>
[quoted text clipped - 12 lines]
> many thanks!
> dan

(1) Start X11
(2) In the XTERM that starts up type
 ssh -Y -C <your user name on the other machine>@<the other machine>
This should connect you to the other box and after you do your password
log you into another
xterm but this one is running on the other machine.

Then type Mathmetica & (or whatevery you type to state Mathematica) and
it should bring up it's windows on your box.

The problem you have is DISPLAY setting is not right when you run the
remote app.  The ssh -Y takes care of all those details.  NOTE: If you
don't ssh into the other box I'm lost this is the way I've learned.

  --jim
Dave Seaman - 29 Nov 2006 13:01 GMT
>> hello all,
>>
[quoted text clipped - 9 lines]
>> i have no idea what this means.  is there something i can do to get
>> this to work?

It means your DISPLAY environment variable is not set.

>> many thanks!
>> dan

> (1) Start X11

This sets DISPLAY to :0.0 on your Mac, but only in xterm sessions, not in the
Terminal.  That's the reason for using the xterm in step (2).

> (2) In the XTERM that starts up type
>   ssh -Y -C <your user name on the other machine>@<the other machine>
> This should connect you to the other box and after you do your password
> log you into another
> xterm but this one is running on the other machine.

But not all hosts accept "ssh -Y".  If that fails, use "ssh -X" instead.
Either of those should set your DISPLAY for you on the remote host.

> Then type Mathmetica & (or whatevery you type to state Mathematica) and
> it should bring up it's windows on your box.

> The problem you have is DISPLAY setting is not right when you run the
> remote app.  The ssh -Y takes care of all those details.  NOTE: If you
> don't ssh into the other box I'm lost this is the way I've learned.

There are other ways, but ssh is definitely the way to go.

Signature

Dave Seaman
U.S. Court of Appeals to review three issues
concerning case of Mumia Abu-Jamal.
<http://www.mumia2000.org/>

dantimatter - 29 Nov 2006 16:09 GMT
thanks!  ssh -Y works perfectly.  well, except for the fact that all
the mathematica fonts are screwed up, but i think i know how to fix
that.

:)
dan

> >> hello all,
> >>
[quoted text clipped - 43 lines]
> concerning case of Mumia Abu-Jamal.
> <http://www.mumia2000.org/>
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.