LXDE auto login problem

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
uyduruq
Black ninja
Black ninja
Posts: 32
Joined: 30 Sep 2012, 19:57
Distribution: 1.2

LXDE auto login problem

Post#1 by uyduruq » 12 Oct 2012, 19:10

Hello,
I was using v1.1 x64 and now using v1.2 with copy2ram option.
I have created a module with v1.1 to disable auto-login for lxde which that just replacing lxdm.conf file under /etc/lxdm. This module seems not working with v1.2. I think module is loading before this file is really created on fs, because if I rename the file, I can see it under /etc/lxdm. Because of this, root is logged on automatically when porteus boots.

The other problem; I am using Porteus with LXDE, so KDE module is not in my usb stick. I see that, if I don't use "lxde" cheat code when booting porteus, I cannot logoff the session, it is automatically logged on again. If I use lxde cheat code, then I can logoff and see Porteus standart logon screen. This behaviour was different with v1.1, no cheatcode was required if only lxde module is present.

What might be the problem?

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: LXDE auto login problem

Post#2 by Hamza » 12 Oct 2012, 19:31

Try to add "z-" at start of your custom module name.
NjVFQzY2Rg==

uyduruq
Black ninja
Black ninja
Posts: 32
Joined: 30 Sep 2012, 19:57
Distribution: 1.2

Re: LXDE auto login problem

Post#3 by uyduruq » 12 Oct 2012, 19:40

Hello, it did not work.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: LXDE auto login problem

Post#4 by Hamza » 12 Oct 2012, 20:03

Did you try the use of "rootcopy" ?
NjVFQzY2Rg==

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: LXDE auto login problem

Post#5 by fanthom » 12 Oct 2012, 21:49

in porteus-1.2 we have 'noautologin' cheatcode

Code: Select all

noautologin

   ... stops the Porteus startup process at the kdm/lxdm
       screen, so the user will need to provide a username
       and password to log in to their desired desktop
       environment.
This behaviour was different with v1.1, no cheatcode was required if only lxde module is present.
in 1.2 we have introduced 3rd desktop: XFCE which complicated things a bit (simple if -> else in rc.M is not possible anymore) so 'lxde' and 'xfce' cheats are necessary.

Cheers
Please add [Solved] to your thread title if the solution was found.

uyduruq
Black ninja
Black ninja
Posts: 32
Joined: 30 Sep 2012, 19:57
Distribution: 1.2

Re: LXDE auto login problem

Post#6 by uyduruq » 17 Oct 2012, 18:27

Thanks, noautologin has solved my problem.
I have checked the documentation before I ask to forum, but I realized that I had read old documentation after I saw this cheatcode!

Post Reply