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: Jesper Frank Nemholt Subject: Re: X windows question Date: 1999/10/06 Message-ID: <37FA815F.B087E2B1@dassic.com>#1/1 X-Deja-AN: 533273005 Content-Transfer-Encoding: 7bit References: <7tc7h0$68e$1@coco.singnet.com.sg> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: Department of Abuse X-Trace: news.inet.tele.dk 939164867 7166 195.249.165.123 (5 Oct 1999 23:07:47 GMT) Organization: Dassic Mime-Version: 1.0 NNTP-Posting-Date: 5 Oct 1999 23:07:47 GMT Newsgroups: comp.unix.osf.misc 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