View previous topic :: View next topic |
Author |
Message |
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Wed Oct 06, 2004 1:00 am Post subject: Wierd game problem |
|
|
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 |
|
|
exeter Apprentice
Joined: 21 Jul 2004 Posts: 189
|
Posted: Wed Oct 06, 2004 2:33 am Post subject: |
|
|
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 |
|
|
AnnaCr n00b
Joined: 15 Jul 2004 Posts: 27
|
Posted: Wed Oct 06, 2004 2:57 am Post subject: |
|
|
At the prompt for your user type:
and then
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 |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Wed Oct 06, 2004 8:58 pm Post subject: |
|
|
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 |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Thu Oct 07, 2004 4:52 pm Post subject: |
|
|
Bump |
|
Back to top |
|
|
nyda Apprentice
Joined: 12 Aug 2004 Posts: 183
|
Posted: Thu Oct 07, 2004 5:41 pm Post subject: |
|
|
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 |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Sat Oct 09, 2004 5:23 pm Post subject: |
|
|
There is no /etc/group file or directory
Logging out and in again doesn't seem to do anything. |
|
Back to top |
|
|
exeter Apprentice
Joined: 21 Jul 2004 Posts: 189
|
Posted: Sun Oct 10, 2004 5:36 am Post subject: |
|
|
djpenguin wrote: | There is no /etc/group file or directory
|
Well, there's your problem. |
|
Back to top |
|
|
scooterphish n00b
Joined: 05 Sep 2004 Posts: 20 Location: Warren, OR, USA
|
Posted: Sun Oct 10, 2004 6:08 am Post subject: |
|
|
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 |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Mon Oct 11, 2004 7:40 am Post subject: |
|
|
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 |
|
|
djpenguin Guru
Joined: 02 Sep 2004 Posts: 386
|
Posted: Thu Oct 28, 2004 5:47 pm Post subject: |
|
|
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 |
|
|
|