Unity depends on gdm as a desktop manager and gives empty screen in ldm

Bug #820328 reported by Marc Nieper-Wißkirchen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
New
Low
Unassigned

Bug Description

Under Natty, the file /etc/X11/Xsession.d/65compiz_profile-on-session reads as follows:

--------------------
# This file is sourced by Xsession(5), not executed.
# Select unity profile if we are in the default session.
# The default profile is used otherwise.

if [ "x$GDMSESSION" = "xgnome" ]; then
    COMPIZ_CONFIG_PROFILE="ubuntu"
    export COMPIZ_CONFIG_PROFILE
fi
----------------

The purpose of this script is to enable the Unity plugin in compiz in the default session (where there is no gnome-shell or -panel) so that the Unity shell is activated. There are two problems with this script:

1) The first one being that it depends on the environment variable $GDMSESSION being set while /etc/X11/Xsession runs. This leads to problems on LTSP clients where LDM instead of GDM is used so that there is no variable $GDMSESSION. (This problem could be solved in the ldm package by adding a script to /usr/share/ldm/rc.d but this wouldn't solve the problem for other desktop managers.) In Oneiric, the environment $DESKTOP_SESSION is used instead of $GDMSESSION but I am not sure whether this should be set by all desktop managers.

2) The second problem with this script is that enabling the Unity plugin depends on the session being named "gnome". This means that one cannot rename the session in /usr/share/xsessions without breaking Unity or one cannot easily install a second Unity session in this directory.

A solution would be to enable the Unity plugin while gnome-session is processing the file /usr/share/gnome-session/sessions/ubuntu.session, although I don't know how to hook a script in a gnome-session session file.

Marc

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/820328

tags: added: iso-testing
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Ubuntu no longer uses GDM. Is this an issue with LightDM/12.04?

Changed in compiz (Ubuntu):
status: New → Incomplete
affects: compiz (Ubuntu) → unity (Ubuntu)
Revision history for this message
Marc Nieper-Wißkirchen (marc-nieper-wisskirchen) wrote : Re: [Bug 820328] Re: Unity depends on gdm as a desktop manager and gives empty screen in ldm

The original bug was also perceived with 11.10, where already LightDM
instead of GDM is being used. Please see my complete bug description
including details above.

2012/5/9 Chauncellor <email address hidden>

> Ubuntu no longer uses GDM. Is this an issue with LightDM/12.04?
>
> ** Changed in: compiz (Ubuntu)
> Status: New => Incomplete
>
> ** Package changed: compiz (Ubuntu) => unity (Ubuntu)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/820328
>
> Title:
> Unity depends on gdm as a desktop manager and gives empty screen in
> ldm
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/unity/+bug/820328/+subscriptions
>

--
Prof. Dr. Marc Nieper-Wißkirchen

Universität Augsburg
Institut für Mathematik
Universitätsstraße 14
86159 Augsburg

Tel: 0821/598-2146
Fax: 0821/598-2090

E-Mail: <email address hidden>
Web: www.math.uni-augsburg.de/alg/mitarbeiter/mnieper/

Revision history for this message
Sebastien Bacher (seb128) wrote :

> This means that one cannot rename the session in /usr/share/xsessions without breaking Unity

renaming files installed by packages is not a supported option in any case...

Changed in unity (Ubuntu):
importance: Undecided → Low
affects: unity (Ubuntu) → gnome-session (Ubuntu)
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

If it's not supported, then I'm afraid this should be closed as wontfix. But I don't really know the official stance, so I'll just set it to 'new'

Changed in gnome-session (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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