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

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: lxdm -- The LXDE Login Manager
« Reply #45 on: May 06, 2012, 05:24:22 PM »
Ok played a bit more.

found a patch that fixes the lxdm-binary part. but i have still the 50% of cpu load for X.

The full life is a big mess

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


Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: lxdm -- The LXDE Login Manager
« Reply #46 on: May 06, 2012, 11:38:57 PM »
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.

ghostbunny,

What did you install from? I still have the (much) older LXDM on a machine I can test from. I remember having the same issue with growing RAM usage. And that's on a machine with only 512MB. I've long since switched back to GDM, but I still have the old installation. Had to fidget with desktop files to get a usable LXDM desktop selection. Unfortunately, according to what Texstar and Neal said at the time, the LXDM developer doesn't use a PCLinuxOS approved method of selecting the desktop environment to use.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: lxdm -- The LXDE Login Manager
« Reply #47 on: May 07, 2012, 04:43:01 AM »
ghostbunny,

What did you install from? I still have the (much) older LXDM on a machine I can test from. I remember having the same issue with growing RAM usage. And that's on a machine with only 512MB. I've long since switched back to GDM, but I still have the old installation. Had to fidget with desktop files to get a usable LXDM desktop selection. Unfortunately, according to what Texstar and Neal said at the time, the LXDM developer doesn't use a PCLinuxOS approved method of selecting the desktop environment to use.


hi djohnston,

i'm not sure whether i understand your question correct. i packaged this based on a mandriva rpm on a installation from last year (2011.12 or so).
And my ram usage isn't growing it's shrinking :D but the cpu usage is the problem. X causes always 50% cpu load if i use lxdm.

The full life is a big mess

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


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxdm -- The LXDE Login Manager
« Reply #48 on: May 07, 2012, 05:05:27 AM »
LXDM is buggy. IMO, part of its bugginess is due to its developer not taking into consideration the way things are set up/configured on distros other than what he uses.     

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: lxdm -- The LXDE Login Manager
« Reply #49 on: May 07, 2012, 08:28:39 PM »
ghostbunny,

What did you install from? I still have the (much) older LXDM on a machine I can test from. I remember having the same issue with growing RAM usage. And that's on a machine with only 512MB. I've long since switched back to GDM, but I still have the old installation. Had to fidget with desktop files to get a usable LXDM desktop selection. Unfortunately, according to what Texstar and Neal said at the time, the LXDM developer doesn't use a PCLinuxOS approved method of selecting the desktop environment to use.


hi djohnston,

i'm not sure whether i understand your question correct. i packaged this based on a mandriva rpm on a installation from last year (2011.12 or so).
And my ram usage isn't growing it's shrinking :D but the cpu usage is the problem. X causes always 50% cpu load if i use lxdm.


If you want to PM me a link, I can test it. But, I agree with Neal. I think it was late last year when I first tested it, and it was buggy. The LXDM developer seems to be overly arrogant, too.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: lxdm -- The LXDE Login Manager
« Reply #50 on: May 12, 2012, 01:30:35 AM »
ghostbunny,

I installed your LXDM test rpm.

# rpm -Uvh lxdm-0.4.1-3ghostbunny2012.i586.rpm

I set the display manager in PCC to LXDM. Rebooted. Pressed escape at the splash screen to get a verbose screen. Booted up and ... LXDM would not start and give me a login screen. Rebooted and tried again. Same thing. Booted to runlevel 3 and changed display manager back to GDM. I was running a 3.2.15-pclos1 kernel. Had never gotten around to updating to the next test release.

So, I installed 3.2.16-pclos1 kernel and rebooted. All modules compiled on boot. Reinstalled from the rpm.

# rpm -Uvh --replacepkgs lxdm-0.4.1-3ghostbunny2012.i586.rpm

Checked in Synaptic. LXDM showed as being installed. Went back to PCC and changed display manager to LXDM again. Rebooted. Computer booted fine, but LXDM still would not start. I don't know what to say. I was able to use it from a test RPM supplied by Neal about 6 months ago on the same machine. But, I ended up completely uninstalling that one due to very poor performance. I'll be completely uninstalling this one, too.

Specs for the test machine: Intel PIII@800Mhz 512MB RAM nVidia NV44A (GeForce6200)
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: lxdm -- The LXDE Login Manager
« Reply #51 on: May 12, 2012, 02:51:59 AM »
thanks for report djohnston,

but it is strange that it dont start on your maschine i will check this. Maybe i did change some other system settings to get it work, i try very much things and probably i didnt wrote the thing to get it work in the spec file.

The full life is a big mess

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


Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: lxdm -- The LXDE Login Manager
« Reply #52 on: May 16, 2012, 05:05:07 PM »
I'm tired..., where is the package lxdm-0.4.1-3ghostbunny2012.i586.rpm ?

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: lxdm -- The LXDE Login Manager
« Reply #53 on: May 16, 2012, 05:23:56 PM »
I'm tired..., where is the package lxdm-0.4.1-3ghostbunny2012.i586.rpm ?

I deleted ghostbunny's PM, so I'll post my drop box link here.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: lxdm -- The LXDE Login Manager
« Reply #54 on: May 16, 2012, 05:26:36 PM »
thanks, but better is the source ;)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: lxdm -- The LXDE Login Manager
« Reply #55 on: May 16, 2012, 05:30:52 PM »
thanks, but better is the source ;)

That's a copy of his "source" from his dropbox. But, if you prefer, you can wait for ghostbunny to post it and do a diff ...
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: lxdm -- The LXDE Login Manager
« Reply #56 on: May 16, 2012, 05:37:48 PM »
i was checking with file-roller, seems like my last build, i get it not proper work ( grrr &%$/(&%$§E) :(
Think, we are to silly for it  ;D

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: lxdm -- The LXDE Login Manager
« Reply #57 on: May 19, 2012, 04:47:14 PM »
wwoooohhhhhhhooooooo i got it

at first @djohnston

there is a little mistake in /etc/lxdm/lxdm.conf

There is a line which points to lxdm-greeter-... in the path is a "local" remove it and then it should start.

the rest of the solution to get it work without a X load of 50%

The problem wasn't lxdm itself it is the pclos start process.
The dm script (start of the display manager) in /rc.d/init.d is called in every runlevel exactly the problem is the call on runlevel 3.

we need to delete the call there. after this it is working well but there isnt a big difference between the ram usage in lxdm and gdm. :(

Now one question: Does we get trouble with other things when deleting the dm call on runlevel 3? tryed gdm after the change it works also well like before.

i will prepare a new rpm for testing on the next evening

regards
ghostbunny
« Last Edit: May 19, 2012, 04:49:13 PM by ghostbunny »
The full life is a big mess

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


Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: lxdm -- The LXDE Login Manager
« Reply #58 on: May 19, 2012, 04:52:45 PM »
wwoooohhhhhhhooooooo i got it

i will prepare a new rpm for testing on the next evening

regards
ghostbunny

Looking forward to testing it. The one I had installed a few months ago did not conform to the "PCLinuxOS ways" of doing things. Hope this one does!
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: lxdm -- The LXDE Login Manager
« Reply #59 on: May 19, 2012, 05:10:35 PM »
The problem wasn't lxdm itself it is the pclos start process.
The dm script (start of the display manager) in /rc.d/init.d is called in every runlevel exactly the problem is the call on runlevel 3.

we need to delete the call there. after this it is working well but there isnt a big difference between the ram usage in lxdm and gdm. :(

Now one question: Does we get trouble with other things when deleting the dm call on runlevel 3? tryed gdm after the change it works also well like before.

The init script dm (/etc/init.d/dm), in turn will start another script: /etc/X11/prefdm, the latter already include support for various dm: gdm, gnome, kdm, kde, wdm, xdm, slim, lxdm.

The condition to start lxdm, is that it should be defined in /etc/sysconfig/desktop as DISPLAYMANAGER=lxdm, alternatively, if DISPLAYMANAGER is not defined, it look at DESKTOP, allowing for the same values.

Look at the scripts for further info.

The fact that dm is active at runlevel 3 is not correct, as it should run only at level 5 ... but the issue probably is only a side effect of a wrong invocation of lxdm.

HTH, AS