Cannot select unity in greetor (GDM/LightDM)

Proxecto:Trisquel
Versión:7.0
Componente:Packages
Categoría:informe de erro
Prioridade:critical
Asignado:Sen asignar
Estado:active
Descrición

Hi,

After successfully installing unity, it is not selectable in the greeter either in GDM or in LightDM. @rakyi has also experiencd this issue.

But I could run unity from terminal by typing the following command,

$ unity

Xov, 12/04/2014 - 11:42

It has been caused by a bug in ubuntu-session package in Trisquel repository.

The content of ubuntu-session in Trisquel 7 (ubuntu-session_3.9.90-0ubuntu12+7.0trisquel2_all):
ubuntu-session_3.9.90-0ubuntu12+7.0trisquel2_all
├── DEBIAN
│ ├── control
│ └── md5sums
└── usr
└── share
└── doc
└── ubuntu-session
├── AUTHORS
├── buildinfo_all.gz
├── changelog.Debian.gz
├── changelog.gz
├── copyright
├── NEWS.gz
└── README

5 directories, 9 files

The content of ubuntu-session in Ubuntu 14.04 (ubuntu-session_3.9.90-0ubuntu12_all):
ubuntu-session_3.9.90-0ubuntu12_all
├── DEBIAN
│ ├── control
│ └── md5sums
└── usr
└── share
├── doc
│ └── ubuntu-session
│ ├── AUTHORS -> ../gnome-session-common/AUTHORS
│ ├── changelog.Debian.gz -> ../gnome-session-common/changelog.Debian.gz
│ ├── copyright
│ ├── NEWS.gz -> ../gnome-session-common/NEWS.gz
│ └── README -> ../gnome-session-common/README
├── gnome-session
│ └── sessions
│ └── ubuntu.session
├── lightdm
│ └── lightdm.conf.d
│ └── 50-ubuntu.conf
└── xsessions
└── ubuntu.desktop

10 directories, 10 files

An can be seen above, the gnome-session, lightdm, and xsessions directories are missing in the modified package in Trisquel.

WORKAROUND:
You can manually add Unity to the greeter by running the attached file using sudo.

AnexoTamaño
add-unity-to-greeter.sh 506 bytes
Xov, 12/04/2014 - 12:02

This is the second time I am trying to attach the file.

AnexoTamaño
add-unity-to-greeter.sh 506 bytes
Xov, 12/04/2014 - 11:52

This is the third time I am trying to attach the file.

AnexoTamaño
add-unity-to-greeter.sh 506 bytes
Xov, 12/04/2014 - 11:58

Anyway, this is the content of add-unity-to-greeter.sh


echo '[GNOME Session]
Name=Ubuntu
RequiredComponents=unity-settings-daemon;compiz;
DesktopName=Unity' > /usr/share/gnome-session/sessions/ubuntu.session

echo '[SeatDefaults]
user-session=ubuntu' > /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

echo '[Desktop Entry]
Name=Ubuntu
Comment=This session logs you into Ubuntu
Exec=gnome-session --session=ubuntu
TryExec=unity
Icon=
Type=Application
X-LightDM-DesktopName=Unity
X-Ubuntu-Gettext-Domain=gnome-session-3.0' > /usr/share/xsessions/ubuntu.desktop