Public bug reported:

Binary package hint: gdm

Ubuntu release: 10.4

When selecting a custom xsession that is missing the "Comment=" line in
GDM, users are logged in immediately without a password or confirmation.
The expected behavior is that one would select the xsession and not get
logged in until after entering a password. I've done some trial and
error with this issue and it seems that this is triggered by a single
line in the custom xsession file.

This will fail to require a password:
In /usr/share/xsessions I have a file called "fail.desktop" with this content:

[Desktop Entry]
Encoding=UTF-8
Name=Fail
Exec=xterm
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-2.0


Adding the "Comment=" line to the file causes things to work as expected.

So, this will work properly:

[Desktop Entry]
Encoding=UTF-8
Name=Fail
Comment= this needs to be here?
Exec=xterm
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-2.0

** Affects: gdm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: gdm

-- 
GDM logs in without a password using a custom xsession file
https://bugs.launchpad.net/bugs/578414
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to