OK, first of all, thank you for your help so far.

But I guess I am just stupid or I'm missing something simple...

--On Tuesday, January 18, 2005 1:53 AM +0100 Martin Costabel <[EMAIL PROTECTED]> wrote:

Sheila King wrote:
[]
Last login: Mon Jan 17 15:06:53 on ttyp1
Welcome to Darwin!
iMac:~ sheilaking$ which xchat
/sw/bin/xchat
iMac:~ sheilaking$ xchat

(xchat:503): Gtk-WARNING **: cannot open display:

You need to set the DISPLAY environment variable.

OK, I know what environment variables are. I understand why it may be necessary to set the DISPLAY variable to get xchat to run properly (or, I suppose, any program depending on the Xwindowing system?)


If you are using
Apple's X11,

I don't have any specific preference on whether to use Apple's X11 or to use the one installed by Fink (I assume it installed one? Or at least I tried to...


Let's see...
... OK, back. I looked through my directories, and I don't really see where it's installed. Although I used FinkCommander last night and _asked_ FinkCommander to install it for me. And if I open up FinkCommander and sort on the "Installed" column, it shows several files there that have "xfree86" in the name of the file.


But as I said above, either Apple's X11 or one installed along with Fink...either is fine by me. I suppose I'd prefer whichever one looks/works best, or really, whichever on I can get to work.


you can do this and even start X11 if necessary by running
   open-x11 xchat

I tried that, but here are the results (not good):

iMac:~ sheilaking$ open-x11 xchat
-bash: open-x11: command not found



On the Fink web site there is some documentation about running X11 applications that you might wanat to read.


I assume you mean this page:

http://fink.sourceforge.net/doc/x11/run-xfree86.php?phpLang=en

I've looked it over, but still not sure what I need to get from that.

I did not have a .xinitrc file in my home directory, so I copied the default on into there...

cp /private/etc/X11/xinit/xinitrc ~/.xinitrc

That file is quite extensive (the system default one).

I then tried "sourcing" the init.sh file by adding the following line to the file ~/.xinitrc right below the first commented line:

. /sw/bin/init.sh

This doesn't seem to be helping, though. Do I need to reboot the entire computer after this? I would think not...
I completely quit the terminal program and then started a new terminal session, and tried


open-x11 xchat

but you see the results I pasted above.

Still confused...

Sheila King
http://www.thinkspot.net/sheila/





-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to