Hi,
I'm trying to edit /etc/lxdm/lxdm.conf to autologin under my proper user name instead of guest. However, after every reboot, my changes to lxdm.conf are gone (while changes to other files are persistent). Later I also tried to put an lxdm.conf in my rootcopy/ and even rebuilt the 003-xfce4.xzm module with my lxdm.conf, but none of that worked: the default lxdm.conf file always returned.
Am I missing something?
Thanks,
Arne.
(running Linux porteus 3.9.11-porteus #1 SMP PREEMPT Mon Jul 22 22:29:21 UTC 2013 x86_64)
changes to /etc/lxdm/lxdm.conf lost on reboot
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: changes to /etc/lxdm/lxdm.conf lost on reboot
hi barnex,
please use 'login=user' cheatcode.
also - please read /boot/docs/cheatcodes.txt and other docs from http://www.porteus.org/info/tips-and-tricks.html and http://www.porteus.org/info/tutorials.html as many users are asking about features which are well explained in our basic documentation.
please use 'login=user' cheatcode.
also - please read /boot/docs/cheatcodes.txt and other docs from http://www.porteus.org/info/tips-and-tricks.html and http://www.porteus.org/info/tutorials.html as many users are asking about features which are well explained in our basic documentation.
Please add [Solved] to your thread title if the solution was found.
- wread
- Module Guard
- Posts: 1257
- Joined: 09 Jan 2011, 18:48
- Distribution: Porteus v5.0-kde-64 bits
- Location: Santo Domingo
- Contact:
Re: changes to /etc/lxdm/lxdm.conf lost on reboot
We must remember to rtfm...
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!
The Porteus Community never sleeps!
Re: changes to /etc/lxdm/lxdm.conf lost on reboot
sorry guys, but I had already tried the login=arne cheatcode and it didn't work either:
boots into lxdm login screen, with the keyboard layout wrongly set
boots straight into guest account, not login screen like the documentation suggests.
Sure I can logout guest and login myself, that's only a minor annoyance.
But I would like to understand why my changes to lxdm.conf are not persistent, while changes to /etc/shadow et al., made in the same way, stayed fine. Maybe I want to make some other customization there as well. Am I missing some subtlety about the live FS?
-Arne
Code: Select all
login=arne
Code: Select all
login
Sure I can logout guest and login myself, that's only a minor annoyance.
But I would like to understand why my changes to lxdm.conf are not persistent, while changes to /etc/shadow et al., made in the same way, stayed fine. Maybe I want to make some other customization there as well. Am I missing some subtlety about the live FS?
-Arne
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: changes to /etc/lxdm/lxdm.conf lost on reboot
Hi Arne,
My suggestion would be to make your changes to lxdm.conf and them copy it into the rootcopy folder with the full path.
cp -a --parents /etc/lxdm/lxde.conf /mnt/sdxY/porteus/rootcopy
Rootcopy is the last folder to be copied to the live file system so if this does not work then there may be something wrong with your setup.
My suggestion would be to make your changes to lxdm.conf and them copy it into the rootcopy folder with the full path.
cp -a --parents /etc/lxdm/lxde.conf /mnt/sdxY/porteus/rootcopy
Rootcopy is the last folder to be copied to the live file system so if this does not work then there may be something wrong with your setup.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: changes to /etc/lxdm/lxdm.conf lost on reboot
@barnex
correction:
'login' wont disable autologin, 'login=' will do
'login=arne' should bring you to the desktop, please check if /home/arne is there and has correct permissions. once you boot with 'login=arne' you should get lxdm.conf updated automatically with this username.
also - there is a bug which i reported to Ahau:
so if you are saving changes and previously booted to LXDE then please apply above solution.
correction:
'login' wont disable autologin, 'login=' will do
'login=arne' should bring you to the desktop, please check if /home/arne is there and has correct permissions. once you boot with 'login=arne' you should get lxdm.conf updated automatically with this username.
also - there is a bug which i reported to Ahau:
Code: Select all
when you boot into LXDE with saved changes and then switch to XFCE then booting stops at the login screen.
this is because edited lxdm.conf persists in changes and is overwriting one from xfce module (has 'session=/usr/bin/startlxde')
solution is to use sed to change to 'startxfce4' in rc.4 or point config to /usr/bin/startde which would be a symlink to startlxde/startxfce4/startrazor/whatever.
Please add [Solved] to your thread title if the solution was found.