FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 03-21-2011, 01:53 PM
 
Default ldm and xsession, Edubuntu 11.04

My Edubuntu 11.04 as a ltsp server works very well. I use Atom/ION as a
thin client. Works very well with Nouveau. But.

How I force easily thin client/user use only "Classic Gnome desktop (no
effects)" Well, I do not like "Unity 2D" ;-).

You know, there is only Gnome, nothing else.

# update-alternatives --config x-session-manager
There is only one alternative in link group x-session-manager:
/usr/bin/gnome-session
Nothing to configure.

Can I force "Classic Gnome desktop (no effects)" in users .xsession? If
not, where?

Best Regards Asmo Koskinen.


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 04-02-2011, 07:01 AM
Asmo Koskinen
 
Default ldm and xsession, Edubuntu 11.04

21.03.2011 16:53, asmo.koskinen@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@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@edubuntu:~$

5.

Without these two scripts I got in HP Mini 2133 Unity 2D desktop what I
do not want.


ltsp@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@edubuntu:~$

Best Regards Asmo Koskinen.

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 05-03-2011, 01:34 PM
Mike
 
Default ldm and xsession, Edubuntu 11.04

I believe that this does exactly what your solution does, but just more concise:

in /var/lib/tftpboot/ltsp/i386/lts.conf:
[default]
LDM_XSESSION="gnome-session --session=classic-gnome"


Now, all of my users have ubuntu-classic as the default session.


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 

Thread Tools




All times are GMT. The time now is 08:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org