Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xfce issues
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Thu Nov 25, 2010 9:44 pm    Post subject: [SOLVED] Xfce issues Reply with quote

I recently upgraded to latest version of XFCE and having a few issues:

1. Whole computer freezes after login (hard reset needed) - I worked around this by deleting my ~xfce profile, so all settings gone, I don't know how to restore panels, but I don't mind to start from scratch, App Finder makes life easier actually.

2. Some Plugins crash with message "Plugin "Weather Update" unexpectedly left the panel, do you want to restart it?" - deleting my profile resolved most of them as well, but Weather plugin still affected.

3. Cannot shutdown or restart - Logout option has been reduced to 3 buttons - Logout, Restart, Shutdown - last two are grey - I have to "init 0" when shutting down PC.
I found out that hal was replaced by upower so I emerged it, but it did not help.


Here is the list of my current Xfce packages:
Code:

x11-themes/xfce-gant-icon-theme-3.9_p6:0
x11-themes/xfce4-icon-theme-4.4.3:0
xfce-base/xfce-utils-4.7.1:0
xfce-base/xfce4-meta-4.8_pre:0
xfce-base/xfce4-panel-4.7.4:0
xfce-base/xfce4-session-4.7.1-r2:0
xfce-base/xfce4-settings-4.7.4:0
xfce-extra/xfce4-appfinder-4.7.1:0
xfce-extra/xfce4-clipman-plugin-1.1.3:0
xfce-extra/xfce4-cpufreq-plugin-0.0.1:0
xfce-extra/xfce4-cpugraph-plugin-1.0.0:0
xfce-extra/xfce4-datetime-plugin-0.6.1:0
xfce-extra/xfce4-dict-0.6.0:0
xfce-extra/xfce4-diskperf-plugin-2.2.0:0
xfce-extra/xfce4-eyes-plugin-4.4.0:0
xfce-extra/xfce4-fsguard-plugin-0.4.2:0
xfce-extra/xfce4-genmon-plugin-3.2:0
xfce-extra/xfce4-hdaps-0.0.6:0
xfce-extra/xfce4-linelight-plugin-0.1.6-r1:0
xfce-extra/xfce4-mailwatch-plugin-1.1.0:0
xfce-extra/xfce4-mixer-4.6.1:0
xfce-extra/xfce4-mount-plugin-0.5.5:0
xfce-extra/xfce4-mpc-plugin-0.3.5:0
xfce-extra/xfce4-netload-plugin-0.4.0-r1:0
xfce-extra/xfce4-notes-plugin-1.7.7:0
xfce-extra/xfce4-notifyd-0.1.0_p20101114:0
xfce-extra/xfce4-places-plugin-1.2.0:0
xfce-extra/xfce4-playercontrol-plugin-0.3.0:0
xfce-extra/xfce4-quicklauncher-plugin-1.9.4-r1:0
xfce-extra/xfce4-radio-plugin-0.4.4:0
xfce-extra/xfce4-screenshooter-1.7.9-r1:0
xfce-extra/xfce4-sensors-plugin-1.0.0:0
xfce-extra/xfce4-smartbookmark-plugin-0.4.2:0
xfce-extra/xfce4-systemload-plugin-0.4.2-r1:0
xfce-extra/xfce4-taskmanager-1.0.0:0
xfce-extra/xfce4-time-out-plugin-0.1.1:0
xfce-extra/xfce4-timer-plugin-0.6.1:0
xfce-extra/xfce4-verve-plugin-0.3.6:0
xfce-extra/xfce4-volumed-0.1.10:0
xfce-extra/xfce4-wavelan-plugin-0.5.5:0
xfce-extra/xfce4-weather-plugin-0.7.3-r1:0
xfce-extra/xfce4-wmdock-plugin-0.3.2:0
xfce-extra/xfce4-xfapplet-plugin-0.1.0:0
xfce-extra/xfce4-xkb-plugin-0.5.3.3-r9:0


I've recently ran away for KDE to simple world of Xfce, but it didn't last long :)


Last edited by vitoriung on Fri Jan 21, 2011 2:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6640
Location: The soundosphere

PostPosted: Thu Nov 25, 2010 10:20 pm    Post subject: Reply with quote

If you post your emerge --info, I think that would give the experts more to go on. :wink:
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Thu Nov 25, 2010 11:35 pm    Post subject: Reply with quote

Hi audiodef,
thanks for getting back to me.

I thought emerge --info might be needed, but been always wondering what actually you guys see in that! :)

Code:

# emerge --info
Portage 2.1.9.24 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.1-r3, 2.6.35-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Nov 2010 05:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.4
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13::<unknown repository>, 2.68
sys-devel/automake:  1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.3/ext-active/ /etc/php/cgi-php5.3/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=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://gentoo.blueyonder.co.uk http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
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="/var/lib/layman/betelgeuse /var/lib/layman/sabayon /var/lib/layman/mozilla /var/lib/layman/n4g /var/lib/layman/sunrise /usr/local/portage/layman/thelinux /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa audiofile bash-completion berkdb bluetooth branding bzip2 cdb cddb cdr cli cracklib crypt ctype cups cxx dbus dri dv dvb dvd dvdr dvdread encode exif fastcgi ffmpeg firefox flac fortran gdbm gif gnome gpm gtk hal iconv imap ipod java javascript jpeg jpeg2k kde ldap libwww lirc lock mad maildir matroska midi mime mmx modules mozilla mp3 mpeg mplayer msn mudflap musicbrainz nas ncurses nls nptl nptlonly ogg opengl openmp osc oss pam pcre pdf perl php png ppds pppd profile python qt3support qt4 quicktime readline samba sasl session sndfile snmp sockets spell ssl startup-notification svga sysfs tcpd theora thunar tidy tiff truetype type1 unicode usb v4l vcd vim-syntax vorbis wifi win32codecs wmf x86 xcb xine xml xorg xscreensaver xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 proxy" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" LIRC_DEVICES="serial sir" PHP_TARGETS="php5-2" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I must say I've been recently adding use flag to /etc/portage/package.use and used ">" instead of ">>" so I've overwritten it!
I restored backup, but it's been like 1 year old, so it's triggered massive "emerge world" update.
However I am still hoping that it did not messed up my system too much, because I was looking at world update and managed to return a most of use flags back, revdep-rebuild comes back clean.
Some advice how to protect important config files like package.use/mask would be appreciated as well...
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Fri Nov 26, 2010 8:23 pm    Post subject: Reply with quote

I have update for 1.)
It comes from vlc:

Code:
$ vlc
VLC media player 1.1.5 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0xb37ff0d4, 0xb37ff048)
[0x82588dc] qt4 interface error: Unable to load extensions module

after that the whole computer freezes.
I can't find anything what could resolve this on google, but it might have something to do with my graphics card (RADEON 9660pro - open source driver)
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6640
Location: The soundosphere

PostPosted: Fri Nov 26, 2010 9:18 pm    Post subject: Reply with quote

vitoriung wrote:

I thought emerge --info might be needed, but been always wondering what actually you guys see in that! :)


Which use flags you're using, what Portage version, which gcc version, whether you're on ~arch or stable, compile options, and other system information. Sometimes there are known bugs in certain versions of system components. Sometimes you need a certain version of higher of, for example, gcc to do certain things. It's a helpful overview of your Gentoo system.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Tue Nov 30, 2010 2:03 pm    Post subject: Reply with quote

I realized that system freezes even when running Skype or Clementine. (I don't really want to be testing what all packages are doing that as it causes computer freeze (No caps lock working and no ping to the machine)

Because it seems that both vlc and clementine are QT applications I thought that something is wrong with my kde libraries.
Luckily I still have KDE(4.4), from which i run away recently to Xfce and when i boot up into it, all programs starts just fine.
So it must be something inside Xfce that causes the freeze. I would like to downgrade Xfce, but not sure how do it. I thought assigning Xfce as "-~x86" (package.keywords) could do the job, but have been warned that's not a proper way.
Deleting ACCEPT KEYWORDS="~x86" would mean I can rather start building whole system from scratch.

So perhaps package.mask will be only way, but I haven't tried that yet.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6640
Location: The soundosphere

PostPosted: Tue Nov 30, 2010 7:58 pm    Post subject: Reply with quote

You can delete your ACCEPT_KEYWORDS from make.conf and emerge -ve world will downgrade your system to stable. Alternatively, if you have xfce4-meta-4.8_pre, you can put this version in package.mask and emerge -vu world will downgrade Xfce to 4.6.2.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Tue Nov 30, 2010 9:08 pm    Post subject: Reply with quote

Yep that helped :)

However issues 2. and 3. still remains.

I run xfce4-panel from the terminal and seeing this:
Code:
The program 'xfce4-weather-plugin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 172 error_code 8 request_code 70 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
xfce4-panel-Message: Plugin weather-14 has been automatically restarted after crash.
The program 'xfce4-weather-plugin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 172 error_code 8 request_code 70 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


Obviously have to mask more Xfce4 packages to resolve it? Masking "xfce-extra/xfce4-weather-plugin-0.7.3-r1" doesn't help.

Regarding 3.(Cannot Shutdown), which Xfce4 package brings changes to the Action Buttons(Shutdown/Restart)? (Perhaps Xfce4-panel?) going to test it now..
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Tue Nov 30, 2010 10:07 pm    Post subject: Reply with quote

Xfce-panel cannot be downgraded, because it fails:

Code:

panel-app.c:1074: error: ‘PanelApp’ has no member named ‘panel_list’
panel-app.c: In function ‘panel_app_monitors_equal_height’:
panel-app.c:1081: error: ‘PanelApp’ has no member named ‘xinerama_and_equal_height’
panel-app.c: In function ‘panel_app_monitors_equal_width’:
panel-app.c:1087: error: ‘PanelApp’ has no member named ‘xinerama_and_equal_width’
make[2]: *** [xfce4_panel-panel-app.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/xfce-base/xfce4-panel-4.6.4/work/xfce4-panel-4.6.4/panel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/xfce4-panel-4.6.4/work/xfce4-panel-4.6.4'
make: *** [all] Error 2
emake failed
 * ERROR: xfce-base/xfce4-panel-4.6.4 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3133:  Called xfconf_src_compile
 *   environment, line 3737:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =xfce-base/xfce4-panel-4.6.4',
 * the complete build log and the output of 'emerge -pqv =xfce-base/xfce4-panel-4.6.4'.
 * The complete build log is located at '/var/log/portage/xfce-base:xfce4-panel-4.6.4:20101130-215409.log'.
 * The ebuild environment file is located at '/var/tmp/portage/xfce-base/xfce4-panel-4.6.4/temp/environment'.
 * S: '/var/tmp/portage/xfce-base/xfce4-panel-4.6.4/work/xfce4-panel-4.6.4'

>>> Failed to emerge xfce-base/xfce4-panel-4.6.4, Log file:

>>>  '/var/log/portage/xfce-base:xfce4-panel-4.6.4:20101130-215409.log'


Anyway, I found article http://wiki.xfce.org/faq where is described that all you need is:
Code:
Your /etc/dbus-1/system.d/hal.conf should contain a section similar to this:

<policy group="power">
  <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
  ...
</policy>

Add the user to the power group (root):

 gpasswd -a <username> power


and that's what I have:
/etc/dbus-1/system.d/hal.conf
Code:

<!-- Gentoo specific rules to allow 'plugdev' group to access Volumes and Power Management -->
  <!-- We possibly will use 'powerdev' for Power Management or work on encapsulating everything in ConsoleKit -->
  <policy group="plugdev">
        <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
        <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
  </policy>
  <policy group="plugdev">
        <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
        <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>


My user is in plugdev group, so I don't know really where the problem is...
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Tue Nov 30, 2010 11:21 pm    Post subject: Reply with quote

So I managed to get shutdown/reboot buttons working afer masking sys-apps/shadow-4.1.4.2-r6

Funny enough I got back the issue when whole system freezes while running vlc, skype or clementine...

I give up for today :?
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Fri Jan 21, 2011 2:21 pm    Post subject: Reply with quote

it is resolved, recent update my system fixed all issues apart from Weather plugin, but it will be a known issue I suppose as I can see it on multiple installations of recent xfce.
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Fri Jan 21, 2011 11:08 pm    Post subject: Reply with quote

The weather applet currently does not work with Xfce 4.8. The developers plan on fixing it and adding it in later. Xfapplet+gnome weather applet will work if you want a temporary workaround.
Back to top
View user's profile Send private message
vitoriung
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 158
Location: Prague, Czech Republic

PostPosted: Thu Feb 17, 2011 12:28 pm    Post subject: Reply with quote

The Weather plugin was fixed already, it works for me now :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum