Click to See Complete Forum and Search --> : Games in gento problem


X_shadow_X
10-25-2003, 06:12 AM
Hello

I have installed Gentoo 1.4, use kde.
I installed tuxracer
emerge -k tuxracer
Once I readed something, that I must to add something to users that they could play games
Now only with root i can acces to the /usr/games/bin/tuxracer
then i try to run it I get this message.
bash-2.05b# /usr/games/bin/tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Could it be that the problem is with my XF86config file, because i configured it with XF86config and skiped few places.

deathadder
10-25-2003, 07:41 AM
did you log in graphically as root or did you 'su -', because ive found that graphical application, like games wont run if root is calling them from within a normal users session

X_shadow_X
10-25-2003, 07:55 AM
perhaps youre write, but how to run game.
I cant start it by typing
bash-2.05b$ tuxracer
bash: tuxracer: command not found
Simple users can't acces to the /usr/games/
I don't want to login as root

Hayl
10-25-2003, 08:40 AM
add your user to the games group

Grommer
10-25-2003, 08:40 AM
as root type in xhost +

I dont know what it is, but I had the same problem and that seemed to work for me.

Hayl
10-25-2003, 08:48 AM
Originally posted by Grommer
as root type in xhost +

I dont know what it is, but I had the same problem and that seemed to work for me.

that allows any and all hosts and users to connect to your X server. you should never do that command.

if you must do it, then use "xhost +localhost" or if you are allowing a remote host "xhost +remotehost.remotedomain.com"

X_shadow_X
10-25-2003, 09:12 AM
thanks worked
Now i just ne to configure gl :rolleyes: