LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-15-2010, 05:39 AM   #1
kasumi
LQ Newbie
 
Registered: Dec 2010
Distribution: Slack 14.1
Posts: 23

Rep: Reputation: 0
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?
 
Old 12-15-2010, 05:48 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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
 
Old 12-15-2010, 06:11 AM   #3
kasumi
LQ Newbie
 
Registered: Dec 2010
Distribution: Slack 14.1
Posts: 23

Original Poster
Rep: Reputation: 0
nVidia GTS 450.

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

Yeah, running sauerbraten without having entered "su" before works.
 
Old 12-15-2010, 06:14 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
So your problem is solved?

Adam
 
Old 12-15-2010, 11:10 AM   #5
kasumi
LQ Newbie
 
Registered: Dec 2010
Distribution: Slack 14.1
Posts: 23

Original Poster
Rep: Reputation: 0
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"....
 
Old 12-15-2010, 12:19 PM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sabayon 4.0 Sauerbraten error: *** glibc detected *** /usr/games/lib/sauerbraten..... Infasoft Linux - Newbie 0 03-18-2009 06:12 PM
lib error when trying to run 32bit game on AMD64 Zaskar Debian 1 04-03-2008 06:27 PM
Sauerbraten, cube 2, great rpg game frenchn00b Linux - Games 4 02-03-2008 09:22 AM
LXer: New Sauerbraten Summer Game Release LXer Syndicated Linux News 0 08-21-2007 07:00 PM
Starting a non OpenGL game in Linux. Need advice! Mega Man X Programming 3 03-09-2004 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration