LXDE and THE DM and my lxdm

Discussion on LXDE releases and Development. This forum is not the best way to contact the developers, please use the Development mailing list and Sourceforge to interact with them.
phillipe
Posts: 41
Joined: Mon Apr 27, 2009 4:12 pm

Re: LXDE and THE DM and my lxdm

Post by phillipe »

Hi All!

I liked this project very much man!

So I decided to make a package for Archlinux users.

Anyone who is interested in testing the SVN version of LXDM, please download the LXDM PKGBUILD here.

If Arch users use YAOURT, so just do: $ yaourt -S lxdm-svn


Thanks for this project! :D
==> Phillipe Smith ( SmithuX ) <==
Email: phillipe@archlinux.com.br
WebSite: http://www.smithux.com
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: LXDE and THE DM and my lxdm

Post by maces »

I have tested it on 64bit and 32 bit, using phillipe's pkgbuild.

1. when I start lxdm on runlevel 5 via inittab it starts, bit when I try to start it as deamon, I get the following:

Code: Select all

/etc/rc.d/functions: line:200 /etc/rc.d/lxdm: no such file or directory
Line 200:

Code: Select all

start_daemon() {
	/etc/rc.d/$1 start
}
wants to start lxdm but "lxdm" isn't there.
@phillipe: The pkgbuild should provide a shell script which launches "lxdm -d" when "/ect.rc.d/lxdm start" is started. Beside this, thx for uploading the pkgbuild.


2. "/usr/bin/lxsession -s LXDE" is using very much cpu power, means half of an "Intel Atom". This is only when I starting LXDE through LXDM.

3. When using sudo, I noticed, that auto completion is working, like:

Code: Select all

sudo lxter<tab> => lxterminal
but when I start it by hiting enter:

Code: Select all

sudo: lxterminal: command not found
when I use

Code: Select all

sudo /usr/bin/lxterminal
everything works fine.
When I sue gdm this all works quite well. Maybe lxdm doesn't export some variables?

4. Is it possible to change the "theme", i mean this is not important at this stage of development, but if there is already a possibility ;)

That's it so far, btw: very nice job.

maces
phillipe
Posts: 41
Joined: Mon Apr 27, 2009 4:12 pm

Re: LXDE and THE DM and my lxdm

Post by phillipe »

Thanks maces!
I used the /etc/rc.d/slim daemon script and I made some alterations to make the /etc/rc.d/lxdm daemon script.
So, now, LXDM works in the DAEMONS section of /etc/rc.conf.
Make a try please!
2. "/usr/bin/lxsession -s LXDE" is using very much cpu power, means half of an "Intel Atom". This is only when I starting LXDE through LXDM.
....
When I sue gdm this all works quite well. Maybe lxdm doesn't export some variables?
I don't have these problems in my Arch maces.
4. Is it possible to change the "theme", i mean this is not important at this stage of development, but if there is already a possibility ;)
Yes, it is possible maces.

Edit the file /etc/lxdm/lxdm.conf and modify the theme in the line:
gtk_theme=Clearlooks
EDIT: Here is one screenshot of LXDM customized with a custom theme and a custom background that I made.

Image

For those who want the wallpaper I use click here.
==> Phillipe Smith ( SmithuX ) <==
Email: phillipe@archlinux.com.br
WebSite: http://www.smithux.com
gilir
Posts: 7
Joined: Fri Nov 20, 2009 3:42 pm

Re: LXDE and THE DM and my lxdm

Post by gilir »

I played with lxdm a bit on Ubuntu and saw that there is no .Xauthority file created, and the code for it was disable. Do you plan to fix it ? Because for me, it blocked anything launched with gksu :( I don't know how Archlinux works, but they should have the same problem if gksu is handle the same way.

Apart that, it's working pretty well :) It's a really nice replacement for gdm.
Texstar
Posts: 14
Joined: Mon Mar 30, 2009 8:16 am

Re: LXDE and THE DM and my lxdm

Post by Texstar »

Where/how do I change the code in lxdm to look for session files in /etc/X11/dm/Sessions instead of /usr/share/xsessions?

Thanks!
Texstar















/
phillipe
Posts: 41
Joined: Mon Apr 27, 2009 4:12 pm

Re: LXDE and THE DM and my lxdm

Post by phillipe »

Texstar wrote:Where/how do I change the code in lxdm to look for session files in /etc/X11/dm/Sessions instead of /etc/X11/dm/Sessions?

Thanks!
Texstar
/
You don't need to change the code Texstar, just make a symbolic link from /etc/X11/dm/Sessions to /etc/X11/dm/Sessions, like this:

Code: Select all

ln -s /etc/X11/dm/Sessions/* /etc/X11/dm/Sessions
==> Phillipe Smith ( SmithuX ) <==
Email: phillipe@archlinux.com.br
WebSite: http://www.smithux.com
Texstar
Posts: 14
Joined: Mon Mar 30, 2009 8:16 am

Re: LXDE and THE DM and my lxdm

Post by Texstar »

In KDM and GDM there is a setting to restart the xserver mostly needed to keep nvidia and fglrx drivers from hanging.

GDM
AlwaysRestartServer=true

KDM
TerminateServer=true

It there such a setting for LXDM?

Thanks,
Tex
Locked