* X windows question
@ 1999-10-05 4:00 Matthew Tan
1999-10-05 4:00 ` Bob Harris
1999-10-06 4:00 ` Jesper Frank Nemholt
0 siblings, 2 replies; 3+ messages in thread
From: Matthew Tan @ 1999-10-05 4:00 UTC (permalink / raw)
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:
Why is this so ?
Thanks in advance !
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: X windows question
1999-10-05 4:00 X windows question Matthew Tan
@ 1999-10-05 4:00 ` Bob Harris
1999-10-06 4:00 ` Jesper Frank Nemholt
1 sibling, 0 replies; 3+ messages in thread
From: Bob Harris @ 1999-10-05 4:00 UTC (permalink / raw)
To: Matthew Tan
[[ 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
<tankc@singnet.com.sg> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: X windows question
1999-10-05 4:00 X windows question Matthew Tan
1999-10-05 4:00 ` Bob Harris
@ 1999-10-06 4:00 ` Jesper Frank Nemholt
1 sibling, 0 replies; 3+ messages in thread
From: Jesper Frank Nemholt @ 1999-10-06 4:00 UTC (permalink / raw)
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:
>
> Why is this so ?
Your DISPLAY variable is probably not set to where you have your X
Server.
Lets say you have the Reflection X server running on a machine with IP
192.168.1.1. Then you write :
export DISPLAY; DISPLAY=192.168.1.1:0.0
...on the server.
This will tell the server to display all X appliactions you start on the
X server located at 192.168.1.1 (which is your Reflection machine).
If you connect to the server via XDM, the server should automagically
take care of all this, so that everything you start appears on the X
Server you sit at. This is also the case if your connecting via SSH.
You can see of XDM is running by typing :
ps -ef | grep xlogin | grep -v grep
...if you get a line with a PID & process-name, it's running, and you
only need to setup Reflection to use XDMCP.
If it's not running you can start it (as root) by typing :
/sbin/init.d/xlogin start
l8r/Jspr
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-10-06 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-05 4:00 X windows question Matthew Tan
1999-10-05 4:00 ` Bob Harris
1999-10-06 4:00 ` Jesper Frank Nemholt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox