Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327545 - lxde-base/lxde-common-0.5.0: needs updated /etc/xdg/lxsession/LXDE/autostart or desktop fails to load
Summary: lxde-base/lxde-common-0.5.0: needs updated /etc/xdg/lxsession/LXDE/autostart ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: LXDE team (DEFUNCT)
URL:
Whiteboard:
Keywords:
: 328837 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-08 23:18 UTC by Lucas Paul
Modified: 2010-07-29 13:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Paul 2010-07-08 23:18:25 UTC
After upgrading to x11-misc/pcmanfm-0.9.7-r1, the desktop would not load properly.  No icons or wallpaper appeared.  Instead, a single pcmanfm window appeared.

Reproducible: Always

Steps to Reproduce:
1. Install lxde-base/lxde-common-0.5.0 and x11-misc/pcmanfm-0.9.7-r1
2. Log in using an LXDE session

Actual Results:  
A single, normal pcmanfm window appears.  The desktop background is black and has no icons.

Expected Results:  
No pcmanfm window should appear (unless it was saved by a previous session).  The desktop background should be the same as I had set it when I last logged out, and the desktop icons should be present.  (In short, pcmanfm should have started as a desktop manager)

I believe this was caused by the fact that the commandline option to start pcmanfm in desktop mode has changed from -d to --desktop.  I noticed that /etc/xdg/lxsession/LXDE/autostart still contains @pcmanfm -d.  It may or may not be relevant that I use gdm.

Editing /etc/xdg/lxsession/LXDE/autostart should get things working properly again.

~ $ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-rc4 x86_64)
=================================================================
System uname: Linux-2.6.35-rc4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.1
Timestamp of tree: Thu, 08 Jul 2010 20:15:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r2, 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="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
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/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://www.cyberuse.com/gentoo/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
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="/usr/local/portage/layman/d /usr/local/portage/layman/x11 /usr/local/portage/layman/zugaina /usr/local/portage/lucas/fixes /usr/local/portage/lucas/extras"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gd gdbm gif gnutls gpm gstreamer gtk hal iconv ipv6 jabber jack java jpeg lcms ldap libnotify lm_sensors mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 readline reflection sasl schroedinger sdl session speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vorbis x264 xcb xml xorg 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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
Comment 1 Andrew Evans 2010-07-13 21:00:37 UTC
(In reply to comment #0)

> I believe this was caused by the fact that the commandline option to start
> pcmanfm in desktop mode has changed from -d to --desktop.  I noticed that
> /etc/xdg/lxsession/LXDE/autostart still contains @pcmanfm -d.  It may or may
> not be relevant that I use gdm.
> 
> Editing /etc/xdg/lxsession/LXDE/autostart should get things working properly
> again.

Sorry, but what is the correct pcmanfm command line now? I've tried `@pcmanfm --desktop -d` and `@pcmanfm --desktop` and while it fixes pcmanfm appearing on login, I don't get my desktop background image. I even rm'ed ~/.config/pcmanfm/* to reset things to their defaults, but no luck.

I use xdm, for whatever that's worth. I'm running on amd64 too.
Comment 2 Andrew Evans 2010-07-14 17:43:06 UTC
Swtiched to gdm, no difference. Also stopped display manager and did `startx /usr/bin/startlxde`, no difference. Just wanted to rule that out.
Comment 3 Andrew Evans 2010-07-14 20:57:55 UTC
Got it working. Had to change wallpaper mode to something other than the default "Fill with background color only". IMHO it should change that when you set a wallpaper image...

FWIW, I've got this in my /etc/xdg/lxsession/LXDE/autostart:

@xscreensaver -no-splash
@lxpanel --profile LXDE
@pcmanfm --desktop -d
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2010-07-23 21:53:44 UTC
*** Bug 328837 has been marked as a duplicate of this bug. ***
Comment 5 Víctor Ostorga (RETIRED) gentoo-dev 2010-07-29 13:59:37 UTC
Fixed, thanks for the patch :)