Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321809 - problem with lxde session login and dbus
Summary: problem with lxde session login and dbus
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: LXDE team (DEFUNCT)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 10:50 UTC by Francesco Dalprà
Modified: 2010-07-08 08:29 UTC (History)
1 user (show)

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


Attachments
Desktop before stop dbus (pre_kill.gif,58.02 KB, image/gif)
2010-06-03 08:38 UTC, Francesco Dalprà
Details
Desktop after stop dbus (after_kill.gif,146.32 KB, image/gif)
2010-06-03 08:40 UTC, Francesco Dalprà
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Dalprà 2010-05-28 10:50:11 UTC
When i login to the system gdm/lxde the wallpaper of the desktop is not applied and 
the system load ( CPU usage ) is higt. The process that use the cpu is X server,dbus.

When i kill or stop dbus, the system load  back normal, and the wallpaper is applied.

I think that lxde start dbus that is already running.

The problem is the lxde config ?

thanks Francesco

Reproducible: Always




I use X server with evdev 

x11-base/xorg-server-1.7.6

lxde-base/lxappearance-0.4.0 (0)
lxde-base/lxde-common-0.5.0 (0)
lxde-base/lxde-icon-theme-0.0.1 (0)
lxde-base/lxde-meta-0.5.0-r1 (0)
lxde-base/lxinput-0.1.1 (0)
lxde-base/lxmenu-data-0.1.1 (0)
lxde-base/lxpanel-0.5.5 (0)
lxde-base/lxrandr-0.1.1 (0)
lxde-base/lxsession-0.4.1 (0)
lxde-base/lxsession-edit-0.1.1 (0)
lxde-base/lxshortcut-0.1.1 (0)
lxde-base/lxtask-0.1.1 (0)
lxde-base/lxterminal-0.1.6 (0)

sys-apps/dbus-1.2.24 

gnome-base/gdm-2.20.10-r2
Comment 1 Francesco Dalprà 2010-06-03 08:38:56 UTC
Created attachment 233927 [details]
Desktop before stop dbus
Comment 2 Francesco Dalprà 2010-06-03 08:40:23 UTC
Created attachment 233929 [details]
Desktop after stop dbus
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-06-08 00:38:22 UTC
please provide us with a full emerge --info log

Can you reproduce this bug if you use lxsession-0.4.4?
Comment 4 Francesco Dalprà 2010-06-08 06:52:47 UTC
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 07 Jun 2010 01:45:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.4-r1, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/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=i686 -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.netnitco.net http://gentoo.osuosl.org"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl bzip2 cli cracklib crypt cups cxx dbus dri escreen fastcgi fortran gdbm gif gpm hal iconv imlib jpeg modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection sdl session spl ssl svg symlink sysfs tcpd tiff truetype type1 unicode vim-syntax x86 xorg 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard ps2mouse vmmouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="cirrus vesa vga vmware 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, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Francesco Dalprà 2010-06-08 07:52:58 UTC
After upgrade to lxsession-0.4.4 the problem is the same.

*********************

top - 11:39:57 up 1 day, 53 min,  2 users,  load average: 0.92, 0.48, 0.26
Tasks:  83 total,   2 running,  81 sleeping,   0 stopped,   0 zombie
Cpu(s): 58.8%us, 33.9%sy,  0.0%ni,  4.3%id,  0.0%wa,  1.0%hi,  2.0%si,  0.0%st
Mem:   1033808k total,   811256k used,   222552k free,    43908k buffers
Swap:   522104k total,     3784k used,   518320k free,   683004k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
 3711 root      20   0 37236  21m 6492 S  9.6  2.2   0:07.74 X                  
12465 messageb  20   0  2608 1060  772 S  4.7  0.1   0:03.37 dbus-daemon        
 6408 dalpra    20   0  2872 1144  920 S  2.0  0.1   0:04.84 gam_server         
 3770 dalpra    20   0  4584 2216 1632 S  1.7  0.2   0:00.33 xscreensaver

********************

ps -ef | grep dbus
dalpra    3758     1  0 11:38 ?        00:00:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
dalpra    3759     1  0 11:38 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session
dalpra    8516  4315  0 11:40 pts/0    00:00:00 grep --colour=auto dbus
103      12465     1  0 Jun07 ?        00:00:05 /usr/bin/dbus-daemon --system

thanks Francesco



Comment 6 Francesco Dalprà 2010-06-28 15:02:30 UTC
I think that the problem is gam_server using my user that has 
nfs mounted home.

No problem on logon with users that have not nfs home.

Any solution ?

thanks Francesco.
Comment 7 Francesco Dalprà 2010-07-08 08:29:21 UTC
In the /var/log/messages i saw:

dbus-daemon: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.6690" (uid=111 pid=18096 comm="pcmanfm) interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=10974 comm="/usr/sbin/hald))

the problem is similar to BUG: 314983

I resolved adding my user to the "plugdev" group.