ldm and xsession, Edubuntu 11.04
Asmo Koskinen
asmo.koskinen at arkki.info
Sat Apr 2 07:01:51 UTC 2011
21.03.2011 16:53, asmo.koskinen at arkki.info kirjoitti:
> # update-alternatives --config x-session-manager
> There is only one alternative in link group x-session-manager:
> /usr/bin/gnome-session
> Nothing to configure.
Friend of mine Mikael showed me a solution.
1.
lts.conf
[default]
LDM_XSESSION=classic-gnome-session
2.
/usr/local/bin/classic-gnome-session (chmod +x)
#!/bin/sh
/usr/bin/gnome-session --session=classic-gnome
3.
Edubuntu AMD64 11.04 is in KVM.
HP Mini 2133 boots with forced desktop, just typing user/passwd in LDM,
session can be default in LDM, no need to change.
Both Unity and Compiz are there.
4.
ltsp at edubuntu:~$ ps ax | grep session
1007 ? Ss 0:00 //bin/dbus-daemon --fork --print-pid 5
--print-address 7 --session
1011 ? Ssl 0:00 /usr/bin/gnome-session
--autostart=/usr/share/gdm/autostart/LoginWindow/
1152 ? S 0:00 /usr/lib/gdm/gdm-session-worker
1766 ? Ss 0:00 bash -c LTSP_CLIENT=192.168.1.210
LTSP_CLIENT_HOSTNAME=ltsp210 PULSE_SERVER=tcp:192.168.1.210:4713
ESPEAKER=192.168.1.210:16001 LTSP_ALSA_DEFAULT=pulse
classic-gnome-session "gnome-session" < /dev/null > /dev/null ;
/usr/sbin/ltspfsmounter all cleanup
1769 ? S 0:00 /bin/sh /usr/local/bin/classic-gnome-session
gnome-session
1770 ? Sl 0:00 /usr/bin/gnome-session --session=classic-gnome
1773 ? S 0:00 dbus-launch --exit-with-session
/usr/bin/gnome-session --session=classic-gnome
1774 ? Ss 0:00 //bin/dbus-daemon --fork --print-pid 5
--print-address 7 --session
1914 ? Sl 0:00
/usr/lib/indicator-session/indicator-session-service
1984 pts/0 S+ 0:00 grep --color=auto session
ltsp at edubuntu:~$
5.
Without these two scripts I got in HP Mini 2133 Unity 2D desktop what I
do not want.
ltsp at edubuntu:~$ ps ax | grep session
1007 ? Ss 0:00 //bin/dbus-daemon --fork --print-pid 5
--print-address 7 --session
1011 ? Ssl 0:00 /usr/bin/gnome-session
--autostart=/usr/share/gdm/autostart/LoginWindow/
1152 ? S 0:00 /usr/lib/gdm/gdm-session-worker
2204 ? Ss 0:00 bash -c LTSP_CLIENT=192.168.1.210
LTSP_CLIENT_HOSTNAME=ltsp210 PULSE_SERVER=tcp:192.168.1.210:4713
ESPEAKER=192.168.1.210:16001 LTSP_ALSA_DEFAULT=pulse /etc/X11/Xsession
"gnome-session" < /dev/null > /dev/null ; /usr/sbin/ltspfsmounter all
cleanup
2207 ? S 0:00 /usr/bin/ck-launch-session
/usr/bin/dbus-launch --exit-with-session gnome-session
2263 ? Ss 0:00 /usr/bin/ssh-agent
/usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session
gnome-session
2269 ? Ss 0:00 //bin/dbus-daemon --fork --print-pid 5
--print-address 7 --session
2275 ? Sl 0:00 gnome-session
2278 ? S 0:00 /usr/bin/dbus-launch --exit-with-session
gnome-session
2279 ? Ss 0:00 //bin/dbus-daemon --fork --print-pid 5
--print-address 7 --session
2400 ? Sl 0:00
/usr/lib/indicator-session/indicator-session-service
2484 pts/0 R+ 0:00 grep --color=auto session
ltsp at edubuntu:~$
Best Regards Asmo Koskinen.
More information about the edubuntu-users
mailing list