Comment 9 for bug 199803

Revision history for this message
huiii (a00ps) wrote :

this is so annoying:
always, when restarting X, with
ctrl-alt-backspace
or
sudo /etc/init.d/gdm restart
or in tty by doing
/etc/init.d/gdm stop / start,
I got 100% cpu load. rrrroaarrrr
so I always had to go back to tty (ctrl-alt-f1) and do
/etc/init.d/gdm stop
killall xfce4-xfapplet-plugin
/etc/init.d/gdm start

but now i have a very well working workaround: :)

sudo gedit /etc/gdm/PostSession/Default
add the command
killall xfce4-xfapplet-plugin
at the end right before exit 0:
save, now everytime you logout or do ctrl-alt-backspace
the applet will be killed without being deleted from panel.

sudo gedit /etc/init.d/gdm
add the command
killall xfce4-xfapplet-plugin
to line 83, it should look like this:
  stop)
 log_begin_msg "Stopping GNOME Display Manager..."
 start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --name gdm $SSD_ARG --retry 30 >/dev/null 2>&1
 killall xfce4-xfapplet-plugin
 log_end_msg 0

save, now you can work normal in tty and once you have to resatrt gdm, you will notice nothing anymore.

hope this helps the few, till its fixed.
cheers.