Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363853 - [gnome-overlay] gnome-session-3.0 incorrectly loads mutter as the window manager
Summary: [gnome-overlay] gnome-session-3.0 incorrectly loads mutter as the window manager
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2011-04-16 16:55 UTC by Brian Beardall
Modified: 2011-04-29 19:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
xsession with problem (.xsession-errors,10.08 KB, text/plain)
2011-04-16 16:55 UTC, Brian Beardall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Beardall 2011-04-16 16:55:46 UTC
Created attachment 270219 [details]
xsession with problem

When logging into gnome gnome session incorrectly loads mutter as the window manager when gnome-shell should be loading. The first time after a driver has been updated gnome-shell is correctly loaded but subsequent loads afterwards do not load gnome-shell and instead load mutter. This leaves me with a blank screen with a background and no windows menus to load programs with. Currently I've simply symlinked mutter to gnome-shell to deal with the problem.

Portage 2.2.0_alpha30 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.2
Timestamp of tree: Sat, 16 Apr 2011 00:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
Repositories: gentoo gnome x-portage
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb /var/yp/Makefile"
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.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG=""
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac accessibility acl acpi aiglx alsa amd64 apache2 asf berkdb bluetooth branding browserplugin bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dba dbus dri dts dv dvd dvdr dvdread eds emboss encode evo exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gdu gif gimp glut gmp gnome gnome-keyring gpm gstreamer gtk gtk2 gtkhtml guile iconv idn imagemagick imap imlib ipv6 java joystick jpeg jpeg2k kqemu lame lcms ldap libnotify libsamplerate mad mhash mikmod mmx mng modules mono mp3 mp4 mpeg mudflap multilib mysql nautilus ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pango pcre pda pdf perl plotutils png policykit ppds pppd pulseaudio python qt3support quicktime readline samba scanner sdl session slang snmp spamassassin speex spell sse sse2 ssl startup-notification svg sysfs tcltk tcpd theora threads tiff truetype udev unicode usb userlocales v4l v4l2 vorbis x264 xcb xine xinerama xml xml2 xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ctxfi hpet hrtime" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3 php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware nvidia i810 i915 i965 r100 r200 r300 r600" 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, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Brian Beardall 2011-04-16 19:43:36 UTC
gnome-session is saving and restoring incorrectly. Disabling gnome-session auto-save resolves the problem. This is likely related to upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=645539
Comment 2 Brian Beardall 2011-04-28 06:00:17 UTC
This problem occurs when gnome-session-save is selected. When the session is saved gnome-shell.desktop is filled with the contents of the mutter.desktop file.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-04-28 16:15:17 UTC
what about the 3.0.1 packages (gnome-shell, mutter, gnome-session) ?
Comment 4 Brian Beardall 2011-04-28 16:45:07 UTC
This is still a problem with gnome-shell-3.0.1. Session saving is apparently broke with gnome-shell and has been since the devs moved to using mutter in gnome-shell. Fedora 15 has this bug as well and is considered high priority before F15 is released. Ubuntu disabled session saving by default. So I guess it would be nice to document how to disable session-saving system wide so that for those who want to use gnome-shell don't run into this problem.
Comment 5 Brian Beardall 2011-04-28 16:49:10 UTC
Here is another upstream bug in regards to this behavior. https://bugzilla.gnome.org/show_bug.cgi?id=634761
Comment 6 Luis Medinas 2011-04-29 12:56:58 UTC
(In reply to comment #4)
> This is still a problem with gnome-shell-3.0.1. Session saving is apparently
> broke with gnome-shell and has been since the devs moved to using mutter in
> gnome-shell. Fedora 15 has this bug as well and is considered high priority
> before F15 is released. Ubuntu disabled session saving by default. So I guess
> it would be nice to document how to disable session-saving system wide so that
> for those who want to use gnome-shell don't run into this problem.

It's related with https://admin.fedoraproject.org/updates/mutter-3.0.1-2.fc15?_csrf_token=30c239e8c8ea2fa4f92e93140b0a54b8c31150ea ?
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-04-29 13:39:52 UTC
Picked the upstream bug by reading the fedore/redhat bug.
Comment 8 Brian Beardall 2011-04-29 15:24:51 UTC
And here is the supposed fix pushed upstream.

http://git.gnome.org/browse/mutter/commit/?id=c248c57b6e48b230fc80e3bd53d0d41fb713848a
Comment 9 Brian Beardall 2011-04-29 18:26:39 UTC
I've confirmed that the upstream patch fixes gnome-shell session saving. So if someone with commit capabilities will apply the patch to mutter then this bug can be closed.
Comment 10 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-04-29 19:15:21 UTC
Patch pushed to the overlay, thanks for reporting!