Trine Error Cannot open Display 0:0

hi,

first of all sorry for cross posting. but i hope somebody might have an idea on what is going on.

I have just bought the humble indie bundle 3 and want to start the trine game.
Unfortunately i get this error:


(trine-launcher32:13630): Gtk-WARNING **: cannot open display: :0.0

I use opensuse 11.3 with the nividia driver (8400gs) from the nvidia repository and glxinfo shows me that the nvidia driver is working fine.

Please can someone figure out what’s going on. i want to play this game as

I was having issues running trine as well, so i started launching it from the terminal so I could see the errors, ended up i was missing a few gtk libraries. Perhaps this is the same type of issue?

Hello l1zard,

Maybe you’ve got the same problem as here:
Frozenbyte Community • View topic - Linux (bug): OpenSUSE 11.4 lib32 issues and workaround

Best of luck!:wink:

I had the same error on openSUSE 11.4 - got it going by upgrading the video card. I picked up an Nvidia GT 440 from the local Fry’s Electronics on sale for $65. Installed the Nvidia drivers via [http://en.opensuse.org/SDB:NVIDIA_drivers](openSUSE 11.4 One-Click Install), and Trine worked fabulously. My son worked through the whole game in about 3 long days. It was very fun to watch - like a physics lesson for kids.

The new card also allowed Shadowgrounds Survivor to work. I had been trying to get them going with an Nvidia 8400 GS I had laying around, but apparently it wasn’t up to snuff, at least on openSUSE 11.4. With the GT 440, the game plays with max settings without a problem.

Good luck!

there is really not an other way to get this to work than buy a newer video card?

Hello l1zard,

Have you tried the link I gave you?
Frozenbyte Community • View topic - Linux (bug): OpenSUSE 11.4 lib32 issues and workaround

I think a new video card isn’t needed in most cases.
This error seems that it can’t achieve something that you can do with other applications.
And in the link they say removing the lib32/libx* and lib32/libX11.so.6 works, which seems logical.
When Trine can’t find the X libraries in the lib32 folder it will look on the system.

Best of luck!:wink:

Have you tried the link I gave you?

Most likely he did, since he himself has posted comments within this very thread. :slight_smile:

But it’s true, this workaround may seem dirty, but it works fine. I could start Trine before removing those files by executing ‘trine-bin32’, but then I could not set the resolution in advance (and it started using 1024X768 instead of 1280X1024).

Don’t know if that helps, but I was having a rather similar error when trying to run native openGL Doom 3 in 11.4 64bit. The solution was to install 32bit Mesa Libraries additionally to the 64bit libraries. You say that glxinfo says everything is fine, so I guess Trine also uses openGL. The intresting thing was, that glxgears and glxinfo also worked, while Doom 3 refused to start. By the way, is there Native Linux support in Trine or do you run it in Wine?

P.S.: Just found this link http://www.holarse-linuxgaming.de/wiki/trine,
I think that’s what you need :slight_smile: