PDA

View Full Version : My freeciv doesn't work :(


paulz
May 9, 2000, 13:28
<center><table width=80%><tr><td><font color=000080 face="Verdana" size=2><font size="1">quote:
<img src="/images/blue1.gif" width=100% height=1>
</font><font size=1>Originally posted by Cthol on 05-09-2000 12:44 PM</font>
every time i try to open the program there comes a message=
"Gtk-Warning **:cannot open display: :0"

i have win95 pentium 166.
<img src="/images/blue1.gif" width=100% height=1></font></td></tr></table></center>

This is most likely because you don't have the xserver running or its not configured to accept xclients. Do you have more information regarding your xserver configuration?

Kumiorava
May 9, 2000, 16:02
I get that message some times on my Linux system, when I accidentaly try to run an x program from a terminal window that's logged in as root, running over an X session with my normal user. It can't run two X user sessions on top of each other, nor can it open X apps into another users session. It might be a matter of just changing the config or some othr simple workaround. I doesn't bother me, so I haven't looked in to it. I don't know what might be causing the problem on a Windows X server though... Could be a problem with Gtk+. You should try to recompile Freeciv without Gtk+ support. Then the Xaw civclient will be compiled, not the Gtk+ one. It might help. Look at the installation help file in the Freeciv source folder to figure out how to do it.

Thue
May 9, 2000, 16:12
I think you just have to run
xhost +localhost
to allow all users on the local system to use the running X server.

I do NOT think it is a GTK problem

paulz
May 9, 2000, 17:08
Thue is right, its not a GTK problem. This is a function of how the security on Xwindows works. Especially Kumiorava's problem.

For a better understanding check this link: http://www.mhpcc.edu/training/vitecbids/UnixIntro/XWindows.html

Thue
May 9, 2000, 17:11
*clicks*
(You are allways a little newbieish)

Kumiorava
May 9, 2000, 18:14
Thanks, paulz! You saved me the trouble of looking that up later. http://apolyton.net/forums/smile.gif

Cthol
May 10, 2000, 00:44
every time i try to open the program there comes a message=
"Gtk-Warning **:cannot open display: :0"

i have win95 pentium 166.