Yesterday, for obvious reason I decided to emerge some games through the night, those games were: Enemy Territory, Nexuiz, Sauerbraten, Tremulous and Frozen Bubble. Today I not only found that none of them were in my Games menu in Gnome but I also couldn't run them as a user so when I try to start them from a terminal they are not found even if I am root. I have to type the full path of /usr/games/bin/<game> and be root for them to get them to actually start. Is this a case of being installed in the wrong place (unlikely), a permissions problem (likely) or a large glitch in the way games are installed (possibly) Reproducible: Always Steps to Reproduce: 1. Emerge various games 2. look in menu, try to start from terminal, try to start from terminal and as as root 3. Actual Results: nothing Expected Results: The Game is in the Games menu. The Game's command starts it when it is typed in a terminal as a user The Game's command starts it when it is typed in a terminal as root The Game's command starts it when the complete path is given as a user my user: george:x:1000:1000::/home/george:/bin/bash leviathon bin # groups george wheel audio cdrom video usb users portage games I have also tried chamod'ing them just in case it was that: leviathon bin # ls -al /usr/games/bin/ total 153784 drwxrwxr-- 2 777 games 4096 Aug 10 06:00 . drwxr-xr-x 5 games root 4096 Aug 10 05:32 .. -rwxrwxr-x 1 777 games 2950454 Jul 2 06:14 d1x-rebirth -rwxrwxr-x 1 777 games 271 Aug 10 05:48 et -rwxrwxrwx 1 777 games 274110 Aug 10 00:18 frozen-bubble -rwxrwxr-x 1 777 games 2166 Aug 10 00:18 frozen-bubble-editor -rwxrwxr-x 1 777 games 7718469 Jul 2 06:14 lincity-ng lrwxrwxrwx 1 root games 10 Aug 10 06:00 nexuiz -> nexuiz-glx -rwxrwxr-x 1 777 games 5799967 Aug 10 05:59 nexuiz-glx -rwxrwxr-x 1 777 games 17971596 Aug 9 23:35 pingus -rwxrwxr-x 1 777 games 266 Aug 10 05:32 sauerbraten-client -rwxrwxr-x 1 777 games 198 Aug 10 05:32 sauerbraten-master -rwxrwxr-x 1 777 games 257 Aug 10 05:32 sauerbraten-server -rwxrwxr-x 1 777 games 2733391 Aug 10 05:33 tremulous -rwxrwxr-x 1 777 games 119076264 Aug 10 00:12 wesnoth -rwxrwxr-x 1 777 games 713173 Jul 2 05:17 xlincity emerge --info: Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 09 Aug 2010 15:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 9999 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -ggdb -fstack-protector=all -Wformat-security" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -ggdb -fstack-protector=all -Wformat-security" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1" LINGUAS="en_GB en" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/zen-sources /var/lib/layman/webapps-experimental /var/lib/layman/vmware /var/lib/layman/rox /var/lib/layman/openrc /var/lib/layman/gnome /var/lib/layman/games /var/lib/layman/gamerlay /var/lib/layman/desktop-effects /var/lib/layman/sunrise /var/lib/layman/jyujin" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl alsa amd64 apache2 artworkextra aspell berkdb bzip2 cairo cdr cli consolekit cracklib crypt ctype cups cxx dbus device-mapper devicekit divx dns dri dvd dvdr emerald esd extra extras fbcondecor ffmpeg filter flac flash fortran gdbm gdu gif glitz gnome gpm gstreamer gtk h323 hal hog htmlhandbook iconv imagemagick ipv6 java jpeg jpg kdrive mad mikmod mmx mng modules mozbranding mp3 mpeg msn mudflap multilib mysql nautilus ncurses networkmanager nls nptl nptlonly nsplugin nvidia ogg opengl openmp openssl pam pcre pdf perl php pipechan png policykit pppd python qt3support readline reflection samba scrobbler secure-delete session simplexml sip skins spl sql sqlite sse sse2 ssl svg sysfs tabs tcpd threads tiff truetype unicode unsupported vorbis wad wav wavpack webkit wma xcb xine xml xorg xulrunner xvid zlib" ALSA_CARDS="emu10k1 intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
You obviously didn't read the emerge output all these games were prnting into the console after emerge of those packages were finished: Remember, in order to play games, you have to be in the games group. That's also the reason none of these games appear in your menu. Type gpasswd -a yourusername games and relogin with your user for being able to play these games.
(In reply to comment #1) > Type > > gpasswd -a yourusername games > This must be done as root of course.
Again, ss I put in the bug report above: leviathon bin # groups george wheel audio cdrom video usb users portage games It's just before where I list the contents of /usr/games/bin
(In reply to comment #3) > Again, ss I put in the bug report above: > > leviathon bin # groups george > wheel audio cdrom video usb users portage games > > It's just before where I list the contents of /usr/games/bin > Sorry, didn't see that in the first place. When you simply run id as user in an open shell in your gnome session, does group games appear in the list of groups?
It does: george@leviathon ~ $ id uid=1000(george) gid=1000(george) groups=35(games),10(wheel),18(audio),19(cdrom),27(video),85(usb),100(users),250(portage),1000(george) It's really weird this, i've done and tried everything I can to sort this out because everything seems like user error but I can't see what is wrong. The other weird thing is none of the games appearing in the games menu. I could understand if 1 or 2 didn't appear but all...?
Tried relogging to your shell (and desktop) after adding yourself to the games group?
Cheers Samuli, I had a fault with Server 2008R2 in virtualbox and had to restart and afterwards all the programs are where they should be in the menu and they can be started. Sorry about this, it's the first time i've needed to log in/out to be able to run commands.