Author Topic: lxdm -- The LXDE Login Manager  (Read 15198 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #30 on: May 30, 2010, 03:47:18 PM »
Is there something you need to do for PCC to tell it where to find it?  Never messed with that before.  Maybe Tex or kjpetrie would know.

When I installed gdm on kde, it was listed in PCC. When I installed kde on my LXDE, kdm was listed.


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #31 on: June 01, 2010, 07:22:35 AM »
http://nbrks.com/lxde/lxdm/lxdm-0.2.0-1pclos2010.src.rpm   

It still isn't listed in PCC > Boot > Set up display manager. ??? I'm missing something here.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: lxdm -- The LXDE Login Manager
« Reply #32 on: June 01, 2010, 02:24:25 PM »
Hi,

I tried to configure SLIM once. What would you think about trying in /etc/sysconfig/desktop : change "DISPLAYMANAGER=GNOME" for "DISPLAYMANAGER=LXDM" or "DISPLAYMANAGER=LXDE" ?

(no guarantee, just a possible way, as it will then add the information to the /etc/X11/prefdm file, as I could see during the tests I did with SLIM).

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #33 on: June 01, 2010, 03:28:42 PM »
Tried that. Didn't work.
Added LXDM to /etc/X11/prefdm manually. No change.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: lxdm -- The LXDE Login Manager
« Reply #34 on: June 01, 2010, 03:46:55 PM »
I supposed you did try to reboot in the meanwhile ? (would you have a rpm file for it ready to install somewhere ?)

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #35 on: June 01, 2010, 04:03:58 PM »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: lxdm -- The LXDE Login Manager
« Reply #36 on: June 02, 2010, 01:30:05 AM »
I went to my virtual machine. Replaced GNOME by LXDM in the file I told you, and added also a line for LXDM in the /etc/X11/prefdm (after the lines for Gnome, kde/kdm and so on). It's not enough though. While trying to start lxdm (/usr/sbin/lxdm) in a tty -after having removed gdm- there was a message complaining that the greeter application could not start.

In /etc/ the only place where "grep" found a word containing "greeter" is at /etc/lxdm/lxdm-conf. The file where it points to (/usr/libexec/some-lxdm-greeter-gtk or so) *does not exist*.

Maybe that can help you pursue the research. I tried "grep -R DISPLAYMANAGER *"  in /etc... to see what came out...

Maybe there is a configuration problem in the files of yours. There is a chan on IRC dedicated to Lxde, maybe some people there could help you better figure out what is needed ?

PS: does it work at Mandriva ?
http://rpm.pbone.net/index.php3/stat/4/idpl/13526580/dir/mandriva_2010/com/lxdm-0.1.0-1mud2010.0.i586.rpm.html



« Last Edit: June 02, 2010, 01:38:02 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #37 on: June 02, 2010, 03:01:25 AM »
Thanks, Mel. That gives me more info for researching this.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #38 on: June 02, 2010, 03:58:52 AM »
I ran the build this morning with output to a text file. (Attached.)
All below the =============== line was copied manually from the terminal as the two seem to have had different ending lines.


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: lxdm -- The LXDE Login Manager
« Reply #39 on: June 02, 2010, 05:41:24 AM »
The last lines or your file:
Quote
Warning: unused libraries in /usr/lib/lxdm-greeter-gtk: libatk-1.0.so.0 libpangoft2-1.0.so.0 libm.so.6 libpangocairo-1.0.so.0 libgio-2.0.so.0 libpango-1.0.so.0 libfreetype.so.6 libfontconfig.so.1 libgmodule-2.0.so.0 libgthread-2.0.so.0 librt.so.1 libXau.so.6 libck-connector.so.0 libpam.so.0 libcrypt.so.1 libpthread.so.0
Warning: unused libraries in /usr/sbin/lxdm-binary: libgtk-x11-2.0.so.0 libatk-1.0.so.0 libpangoft2-1.0.so.0 libm.so.6 libgio-2.0.so.0 libfreetype.so.6 libfontconfig.so.1 libgmodule-2.0.so.0 libgthread-2.0.so.0 librt.so.1
Using BuildRoot: /home/neal/src/tmp/lxdm-0.2.0-1pclos2010-buildroot to search libs

No idea what it means for a packager, but I notice that the "wanted" /usr/libexec/lxdm-greeter-gtk in /etc/lxdm/lxdm.conf is in fact in /usr/lib : I changed this in lxdm.conf, did a "killall xdm" in tty (as I got rid of gdm early this morning there was only xdm at new boot of the vm) and started lxdm:
Code: [Select]
# /usr/sbin/lxdm
That works ! :D

Well, LXDM still doesn't appear in PCC though.

I still see only XDM in it, so I look where are the places in the system where XDM can be found. I go to /etc and grep it all:
Quote
# grep -R XDM *

Among places I find it in /etc/ati/authatievents.sh : an executable shell script. In PCC we can find atiauthevents among the services. I now try something:

* activate it in services
* create directories:
# mkdir -p /var/lib/lxdm/authfiles //because there is the same for gdm and for  xdm but none for lxdm

* add a block text in /etc/ati/authatievents.sh : I copy the GDM block and write LXDM instead of GGM // don't know what I'm doing there, as I don't know bash and so on... just a guess, maybe imitating the preceeding blocks would be more relevant : no idea !!!

Now I'll try it, reboot it to see if that helps in any way. You might want to look at all what comes with "grep -R XDM *" under /etc, because I stopped at the first idea without looking at the other lines of the output.




melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: lxdm -- The LXDE Login Manager
« Reply #40 on: June 02, 2010, 05:50:18 AM »
Still XDM started.

Now if I do in console:
#updatedb
# locate XDM

and then

# locate Xsession

I find out there is a /usr/share/X11/xdm directory with plenty important files in it, some symlinks etc... and no /usr/share/X11/lxdm directory.

Still hope that will help you find out the last things missing to get it to work. I cross my fingers. :)

Regards,
Mélodie

/Edit : I had wrote /usr/share instead of /usr/share/X11/*   

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #41 on: June 02, 2010, 06:17:44 AM »
Thanks again, Mel.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: lxdm -- The LXDE Login Manager
« Reply #42 on: November 15, 2010, 04:02:37 AM »
Up !!

I have great news ! :D

I am in Archlinux (Archctk version, credit to it's creator !) and using Lxdm 0.3.0. It's running perfectly. Here it can be started from within /etc/inittab or from the specific Archlinux central configuration file, rc.conf. I run it from inittab.

Now the greater news : I found a src rpm from Mandriva, for the same version.

Here it is:
ftp://ftp.pbone.net/mirror/ftp.mandrivauser.de/rpm/GPL/2010.1/SRPMS/testing/lxdm-0.3.0-1mud2010.1.src.rpm

I have downloaded, extracted, and examined some of the files, to do a fast comparision with the lxdm used at Archlinux. At least the theme is the same ^^

You could compare it also, the page for Archlinux Lxdm with patches, list of files and so is here:
http://www.archlinux.org/packages/extra/i686/lxdm/

One thing found in the Lxdm sources, is the TODO. Here is what it says:
Quote
help me!

1. user list in greeter ui
2. lxdm-config tool to custom the lxdm
3. user switch support
4. multi seat support
5. manpage for lxdm and lxdm.conf


That would be nice if we could have a package to start testing it in PCLinuxOS now. What do you think ?

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #43 on: November 15, 2010, 04:57:21 AM »
Maybe.

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1169
Re: lxdm -- The LXDE Login Manager
« Reply #44 on: May 06, 2012, 07:33:28 AM »
Hi all,

i know this a very old thread but i played this weekend a bit with it. Exactly with version 0.4.1. I got it in the PCC and it started on the system startup. But the problem using it is the cpu load grows up to 100% (50% lxdm-binary and 50% X). I think there is a problem between X and LXDM. the thing is i don't know where to start the search or the direction of the search.

if someone has an idea would be wonderful.


btw. with lxdm my system saved 11mb of ram compared to gdm.
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD