Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296165

Summary: XSESSION is ignored when executing startx
Product: Gentoo Linux Reporter: Caleb Gray <caleb>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: autobuilds   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Caleb Gray 2009-12-08 08:46:45 UTC
I just installed a fresh build of Gentoo from the December 4th Stage 3 auto-build. After rebooting, installing Xfce4, and setting: XSESSION="Xfce4" in /etc/rc.conf -- startx doesn't launch xfce4, in fact it launches the default as if XSESSION wasn't set at all.

Further study reveals that the variable is not even set in bash:

echo $XSESSION

echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/usr/games/bin

Currently, I am using startxfce4 to start X, so that we can find a proper solution to this problem.

----

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_Extreme_CPU_Q6850_@_3.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 05 Dec 2009 22:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mssse3 -mmmx -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mssse3 -mmmx -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amr apache2 bash-completion berkdb bindist bluetooth branding bzip2 cairo cddb cdinstall cdparanoia cdr cgi cli consolekit cracklib crypt cups curl curlwrappers cxx dbus divx dri dts dv dvd dvdr dvdread eds emboss encode evo exif fam fbcondecor ffmpeg firefox flac fortran gcj gd gdbm gif gmp gpm gstreamer gtk gtk2 hal iconv icq ieee1394 imagemagick imlib inotify ipv6 ithreads jabber java javascript jikes joystick jpeg jpeg2k kerberos kqemu lame lcms ldap libnotify lm_sensors lzo mad matroska mcal mikmod mime mmap mmx mmxext mng modules mono mp3 mp4 mpeg mplayer msn mudflap musepack mysql mysqli ncurses nls nocd nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre pda pdf perl php png posix ppds pppd python qt3 qt3support qt4 quicktime raw rdesktop readline realmedia reflection scanner sdl server session sharedext smp spell spl sse sse2 sse3 ssse3 startup-notification subversion suid svg sysfs syslog tcpd theora threads thunar tiff timidity truetype unicode usb vcd videos vorbis win32codecs wmf wxwindows x264 x86 xattr xcomposite xine xinerama xml xorg xosd xpm xprint xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rafał Mużyło 2009-12-08 11:58:52 UTC

*** This bug has been marked as a duplicate of bug 294999 ***