Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wierd game problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
djpenguin
Guru
Guru


Joined: 02 Sep 2004
Posts: 386

PostPosted: Wed Oct 06, 2004 1:00 am    Post subject: Wierd game problem Reply with quote

I'm running Gentoo on a 2.6.8 kernel, and I can't seem to get any games to work. My buddy helped me to verify that the $PATH variable was correct, and I've tried adding users to the games group, and still nothing.

Every time I try to run a game, it gives the 'command not found' message. I have installed about a half-dozen games, all through portage, and I can't get any of them to work.

Any ideas?
Back to top
View user's profile Send private message
exeter
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 189

PostPosted: Wed Oct 06, 2004 2:33 am    Post subject: Reply with quote

Does it work if you try the command with the full path name? Like, say, /usr/share/games/nethack?

You might also check the permissions on your games dir. Make sure that the games group has read and execute permissions.
Back to top
View user's profile Send private message
AnnaCr
n00b
n00b


Joined: 15 Jul 2004
Posts: 27

PostPosted: Wed Oct 06, 2004 2:57 am    Post subject: Reply with quote

At the prompt for your user type:
Code:
cd /usr/games/bin


and then
Code:
ls


and post the results.

I'm pretty sure you'll find the programs you use to run the games there. It annoyed me that it wasn't in /usr/bin but I'd imagine there's some reason for it.
Back to top
View user's profile Send private message
djpenguin
Guru
Guru


Joined: 02 Sep 2004
Posts: 386

PostPosted: Wed Oct 06, 2004 8:58 pm    Post subject: Reply with quote

exeter wrote:
Does it work if you try the command with the full path name? Like, say, /usr/share/games/nethack?

You might also check the permissions on your games dir. Make sure that the games group has read and execute permissions.


nope:

bash-2.05b$ /usr/games/bin/tribes2
bash: /usr/games/bin/tribes2: Permission denied

The games group has read and execute permissions in the /usr/games/bin directory, as well as the /usr/games directory

Adding the user to the games group doesn't seem to matter:

bash-2.05b# usermod djpenguin -G games
bash-2.05b# su djpenguin
bash-2.05b$ /usr/games/bin/tribes2
bash: /usr/games/bin/tribes2: Permission denied

The contents of my /usr/games/bin directory:

bash-2.05b# cd /usr/games/bin
bash-2.05b# ls
atanks bzfrelay gplex racer tribes2 tribes2d.dynamic
barrage bzfs kiki supertux tribes2.dynamic xscorch
bzadmin carlab modeler t2launch tribes2d xscorch-server
bzflag dopewars pacejka tracked tribes2d-restart.sh
Back to top
View user's profile Send private message
djpenguin
Guru
Guru


Joined: 02 Sep 2004
Posts: 386

PostPosted: Thu Oct 07, 2004 4:52 pm    Post subject: Reply with quote

Bump
Back to top
View user's profile Send private message
nyda
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 183

PostPosted: Thu Oct 07, 2004 5:41 pm    Post subject: Reply with quote

You probably already tried a reboot or logout/login. Just in case you did not....

djpenguin wrote:
bash-2.05b# su djpenguin


doesn't do a login for that user. Try

su - djpenguin

but I'm not sure if a relog will cause the groups file to be reread.
You could also check if /etc/group is correct and check the permissions on your games directory and contents (ls -l).
Back to top
View user's profile Send private message
djpenguin
Guru
Guru


Joined: 02 Sep 2004
Posts: 386

PostPosted: Sat Oct 09, 2004 5:23 pm    Post subject: Reply with quote

There is no /etc/group file or directory

Logging out and in again doesn't seem to do anything.
Back to top
View user's profile Send private message
exeter
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 189

PostPosted: Sun Oct 10, 2004 5:36 am    Post subject: Reply with quote

djpenguin wrote:
There is no /etc/group file or directory


Well, there's your problem.
Back to top
View user's profile Send private message
scooterphish
n00b
n00b


Joined: 05 Sep 2004
Posts: 20
Location: Warren, OR, USA

PostPosted: Sun Oct 10, 2004 6:08 am    Post subject: Reply with quote

exeter wrote:
djpenguin wrote:
There is no /etc/group file or directory


Well, there's your problem.

I concur. Didja delete it (accidentally or otherwise)? Have any install quirks/problems?
I've never had an install that did NOT create /etc/group.
_________________
Toshiba Satellite A65-S126, Gentoo 2004.2
Back to top
View user's profile Send private message
djpenguin
Guru
Guru


Joined: 02 Sep 2004
Posts: 386

PostPosted: Mon Oct 11, 2004 7:40 am    Post subject: Reply with quote

Nope, no install quirks that I remember. I don't recall deleting anything in the /etc directory, accidentally or otherwise.

Can somebody throw up an example or a copy of theirs so I can correct this little problem?
Back to top
View user's profile Send private message
djpenguin
Guru
Guru


Joined: 02 Sep 2004
Posts: 386

PostPosted: Thu Oct 28, 2004 5:47 pm    Post subject: Reply with quote

Well, I just finished another install, and I've stumbled across the exact same problem. Can't run games.

I've found the /etc/groups file, and here's the line concerning games:

games:x:35:djpenguin


Here's the whole file:

root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root,adm
lp:x:7:lp
mem:x:8:
kmem:x:9:
wheel:x:10:root,djpenguin
floppy:x:11:root
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:man
cron:x:16:cron
console:x:17:
audio:x:18:
cdrom:x:19:
dialout:x:20:root
ftp:x:21:
sshd:x:22:
at:x:25:at
tape:x:26:root
video:x:27:root
squid:x:31:squid
gdm:x:32:gdm
xfs:x:33:xfs
games:x:35:djpenguin
named:x:40:named
mysql:x:60:
postgres:x:70:
cdrw:x:80:
apache:x:81:
nut:x:84:
usb:x:85:
vpopmail:x:89:
users:x:100:games
nofiles:x:200:
qmail:x:201:
postfix:x:207:
postdrop:x:208:
smmsp:x:209:smmsp
slocate:x:245:
portage:x:250:portage


Any help would be greatly appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum