From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,95e36cdea61e7e04 X-Google-Attributes: gidf678f,public From: Bob Harris Subject: Re: X windows question Date: 1999/10/05 Message-ID: <051019991541212502%harris@zk3.dec.com>#1/1 X-Deja-AN: 533275944 Content-Transfer-Encoding: 8bit References: <7tc7h0$68e$1@coco.singnet.com.sg> To: "Matthew Tan" Posted-And-Mailed: yes Content-Type: text/plain; charset=ISO-8859-1 Organization: Digital Equipment Corporation, Palo Alto, CA, USA Mime-Version: 1.0 User-Agent: YA-NewsWatcher/4.2.4 Newsgroups: comp.unix.osf.misc [[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <7tc7h0$68e$1@coco.singnet.com.sg>, Matthew Tan wrote: >I am an X-Windows newbie, so thanks for any help. > >Currently I can open an xterm with my Reflection. But when I tried to run X >windows application such as xcalc, I would get an error message : > >Error: Can't open display: You most likely need to define the environment variable DISPLAY. For example: setenv DISPLAY hostname.mumble.com:0.0 or setenv DISPLAY host:0.0 When you started your xterm the local window manager most likely started the command with the -display option on the xterm command line, so this is how your xterm worked correctly but your xcalc did not.