LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   OpenGL? Or a lib? Error when starting the game Sauerbraten. (http://www.linuxquestions.org/questions/slackware-14/opengl-or-a-lib-error-when-starting-the-game-sauerbraten-850367/)

kasumi 12-15-2010 06:39 AM

OpenGL? Or a lib? Error when starting the game Sauerbraten.
 
Hello. I want to play sauerbraten on my Slackware 11.3, but when I try to start the game I get the following message:

bash-4.1# sh sauerbraten_unix
./bin_unix/linux_client: /usr/lib/libz.so.1: no version information available (required by ./bin_unix/linux_client)
Using home directory: /root/.sauerbraten
init: sdl
No protocol specified
No protocol specified
init: net
init: game
init: video: mode
Unable to create OpenGL screen: OpenGL not available
bash-4.1# sh sauerbraten_unix -opengl
./bin_unix/linux_client: /usr/lib/libz.so.1: no version information available (required by ./bin_unix/linux_client)
Using home directory: /root/.sauerbraten
init: sdl
No protocol specified
No protocol specified
init: net
init: game
init: video: mode
Unable to create OpenGL screen: OpenGL not available
bash-4.1#


Can anyone help me? :)

adamk75 12-15-2010 06:48 AM

First, don't run X as root. Don't play games as root. Don't do anything, other than administering your computer, as root.

Second, what video card do you have?

Adam

kasumi 12-15-2010 07:11 AM

nVidia GTS 450.

And umm, I think X is run by the non-root user.

Yeah, running sauerbraten without having entered "su" before works.

adamk75 12-15-2010 07:14 AM

So your problem is solved?

Adam

kasumi 12-15-2010 12:10 PM

It is. Thank you. :)

But why do I get such confusing error messages when running apps as root?

When I run Skype as root, I get "No protocol specified"....

adamk75 12-15-2010 01:19 PM

When you start X up, it is associated with your users environment. If you change users, you are not longer in that same environment. Besides, you really shouldn't be running applications as X.

Adam


All times are GMT -5. The time now is 02:31 AM.