gnome user switcher applet doesn't work with kdm

Bug #290509 reported by Benjamin Kay
54
This bug affects 9 people
Affects Status Importance Assigned to Milestone
fast-user-switch-applet (Ubuntu)
Invalid
Wishlist
Unassigned
Nominated for Jaunty by Musthafa Meeran

Bug Description

***summary***

Every user that will set KDM as login manager, will see an error message because user switching applet will die (since it is incompatible with KDM apparently).
This is bad! To show error message (application crash) to each user.

Quick fix: at least just make nicer error message like "This applet is not currently compatible with KDM." and disable restarting it!

----------------------------------------------------------------

Binary package hint: gnome-applets

The new user switcher applet in Intrepid (the one that replaces the logout button) is causing problems when kdm is set as the login manager. The user switcher applet isn't drawn, and an error dialog (see attached screenshot) with the following text appear immediately after login:

"User switcher" has quit unexpectedly
If you reload a panel object, it will automatically be added back to the panel.

The dialog provides two buttons, "Don't Reload" and "Reload". Clicking "Reload" doesn't bring the applet back -- it just brings up the same dialog. Clicking "Don't Reload" makes the dialog go away, but the user is still left without the applet. Switching the login manager to gdm does not automatically bring the applet back, however after switching to gdm the applet can be added to the panel manually.

The fact that the switching users in Gnome doesn't work with kdm isn't so bad (and it's the same situation we had in Gutsy). The following are real problems:
1. vague error message
2. absence of a logout button
3. applet doesn't automatically return if the user switches back to gdm

Here's what I think ought to happen if the user sets kdm as the login manager:
1. The first Gnome login after the switch, a notification tells the user that user switching won't work without gdm, and offers to switch the login manager back to gdm.
2. The applet is drawn the same way (with the user's name and a functioning logout button), but clicking on it doesn't provide the option of switching users.
3. The ability to switch users automatically returns if the login manager is switched back to gdm.

EDIT:
Sorry, forgot package versions. I'm using October 28's Intrepid daily-live, the x86 version.
gnome-applets 2.24.1-0ubuntu1
gdm 2.20.8-0ubuntu3
kdm 4:4.1.2-0ubuntu12

Revision history for this message
Benjamin Kay (benkay) wrote :
Benjamin Kay (benkay)
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

reassigning to fast-user-switch-applet, that's a GNOME applet and it's designed to work when using gdm though, that's not really a bug

Changed in gnome-applets:
importance: Undecided → Wishlist
Revision history for this message
Mongoola (mongoola) wrote :

I have the same problem, except I am still getting the error even after switching back to Gnome/GDM and uninstalling the kubuntu-desktop package. If I try to add the fast-user-switch applet to my panel I keep getting the error described above. Any help would be appreciated.

Revision history for this message
Jim Lewellyn (styyle14) wrote :

i read somewhere that editing your /etc/init.d file and changing kdm to gdm is necessary, but don't quote me on that

Revision history for this message
aditya (aditya-kavoor) wrote :

This is the command to get back to GDM :

sudo dpkg-reconfigure gdm

Revision history for this message
Amir E. Aharoni (amir-aharoni) wrote :

> This is the command to get back to GDM :
> sudo dpkg-reconfigure gdm

Thanks.

I'd say that the fact that one needs to type a command on the terminal to do that is a bug by itself.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Why do you think thats a bug? What else would you suggest? Switching login managers is not a very common and often-executed procedure...

Changed in fast-user-switch-applet:
status: New → Confirmed
Revision history for this message
Amir E. Aharoni (amir-aharoni) wrote :

> Why do you think thats a bug?

Every operation which is related to GUI, but must be performed using the terminal is a bug.

> What else would you suggest?

GUI.

> Switching login managers is not a very common and often-executed procedure...

Neither is configuring keyboard layouts. Most people do it only once after they install the OS. Yet there's GUI for it.

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

dupe of bug 131868?

Revision history for this message
LimCore (limcore) wrote :

  "that's a GNOME applet and it's designed to work when using gdm though"

Heh.

Do you really think every day users are interested WHY they get this _error_ message?

Users care this much: -----><----- (the inner part, between arrows) about WHY - they do not care (usually) at all.

For users it just Do Not Work.
So it is in fact a bug.

Revision history for this message
Sebastian Geiger (lanoxx) wrote :

I do very much think that it is a bug. I noticed quite a couple of times that developers and users have quite a very different understanding of what is a bug and what not. Sometimes I even get the feeling that only something that is a potential security risk is really considered as a bug. But in general I think developers only consider something a bug if it seriously limits the intended functionality of the software or makes the software unusable (produces a crash). Where as cosmetic things are almost never considered real bugs, although they are as much annoying for the user as are the rest of the bugs.

Also in situations where the software is still usable but produces strange side effects in certain circumstances are not always considered real bugs. An example would be network manager deactivating networking after resuming from standby. Because one can simply reactivate it with two mouse clicks it does not seem to be considered a real bug. For the user though its certainly annoying.

The same can be said in the current situation: The applet is not working if kdm is the window manager in use instead of gdm. If this is a known thing then there should not be an error with a non working reload button but instead a clear message informing the user (at least).

The person who opened this bug said it very clearly already:

> Here's what I think ought to happen if the user sets kdm as the login manager:
> 1. The first Gnome login after the switch, a notification tells the user that user switching won't work > without gdm, and offers to switch the login manager back to gdm.
> 2. The applet is drawn the same way (with the user's name and a functioning logout button), but
> clicking on it doesn't provide the option of switching users.
> 3. The ability to switch users automatically returns if the login manager is switched back to gdm.

Or in short if its not clear enough:

1. Inform the user!
2. Adjust functionality to the new situation (kdm instead gdm)
3. Bring back functionality when the situation goes back to normal (kdm -> gdm)

Best Regards
Lanoxx

Revision history for this message
Musthafa Meeran (musthafameeran-deactivatedaccount) wrote :

I can confirm that this is still an issue in Ubuntu Jaunty Alpha 6 also !!

I think we can change the subject to remove Intrepid and make it generic.

Thanks a lot...

Revision history for this message
LimCore (limcore) wrote :

Thanks LanoxxthShaddow for the comment, I second that.

Also, who can change the priority? It should be at least Medium! Because every user that will try to use kde *will* see this error message - and will think, oh my god, they failed again.

description: updated
description: updated
tags: removed: fail kde kdm
Revision history for this message
1oooop (gravygod) wrote :

Thanks. This solved my problem.

Revision history for this message
Laurent Schwarzenberger (lsch036) wrote :

This happens in Jaunty too.

I installed KDE4 to test it out, put KDM instead of GDM and Gnome begins behaving weird.

1) The mentioned user switcher applet (A problem since this is the only GUI way to log out now)
2) NM continuously asks for passwords in both KDE and GNOME

Restoring GDM fixes all this, but not everyone is going to know this.

Revision history for this message
Jayen (jayen) wrote :

Is it possible to add functionality to kdm-gdmcompat to cover this? Surely kdm can do what gdm can do, and a bridge could be included in the kdm-gdmcompat package?

Revision history for this message
Faldegast (faldegast) wrote :

This is still a problem.

Whats the kde app for switching users?

Revision history for this message
Jayen (jayen) wrote :

I use krunner with the "Desktop Sessions" feature. Just type "New Session" or "Switch User" or something like that.

Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in fast-user-switch-applet (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.