Hi,
How can I auto login in XfCE of Porteus-v2.1 as guest or any non-root user?
Its a harddisk installation.
Thanks.
AutoLogin XfCE How
- francois
- Contributor
- Posts: 6456
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: AutoLogin XfCE How
You need to have the cheatcode login into the bootloader instructions. What installation do you have: usb, hdd, cd? What is your bootloader or how did you install porteus?
Cheatcodes in porteus are really important and salient features. They almost do everything. Have a look at them, this is a must. 8)
See faq, cheatcode:
http://www.porteus.org/tutorials/26-gen ... -them.html
For syslinux bootloader, find the porteus.cfg file (with mc in cli mode or with slocate, you have to install it) and modify it, example:
Do not hesitate to ask additional questions! 
Cheatcodes in porteus are really important and salient features. They almost do everything. Have a look at them, this is a must. 8)
See faq, cheatcode:
http://www.porteus.org/tutorials/26-gen ... -them.html
Code: Select all
login=user_name
... Lets you specify the name of the user (could be also 'root')
which will be autologged into GUI session.
If username is not provided then booting stops on the lxdm/kdm
login screen.
Code: Select all
MENU LABEL Graphics mode (xfce)
KERNEL vmlinuz
APPEND initrd=initrd.xz login=guest

Prendre son temps, profiter de celui qui passe.
Re: AutoLogin XfCE How
I've installed in Harddisk.... What installation do you have: usb, hdd, cd?
Bootloader is some other Linux distro's Grub (that distro is slow for my Computer compared to Porteus, so trying to use Porteus now).What is your bootloader
Actually I've installed Porteus from the KDE-ISO , Later downloaded and saved XfCE.xzm at porteus/optional directory. And using it with the load=xfce cheatcode from the Grub's kernel line.... how did you install porteus?
I've tried with login=guest but it's prompting at User Login screen for username & password.
Here's the kernel line:
Code: Select all
linux /boot/syslinux/vmlinuz initrd=initrd.xz changes=/porteus load=xfce login=guest volume=30%
initrd /boot/syslinux/initrd.xz
Thanks for reply.

- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: AutoLogin XfCE How
While we don't design our modules to accommodate having more than one desktop module active at a time, this should be working for you (I just tested this setup on my end). You don't need 'login=guest', as guest should autologin by default (login= should be used for any other user including root to autologin, but of course it does no harm to use it with guest).
Please try this without the 'changes=' cheatcode, as there might be something in your saved changes that is causing this (if you have anything in saved changes it will override what is in your modules). If it's still not working, please give me the output of:
You may need to be root to get those. rc.4 should be telling the system to start lxdm, and lxdm.conf will tell us what parameters are being passed to lxdm for autologin (it should be autologin=guest). If you have also experimented with lxde and used it with saved changes, you may have hit a bug where using lxde and xfce together breaks autologin via lxdm; I implemented a fix for that bug in 3.0rc2. If that's the case, you might see 'session=/usr/bin/startlxde' instead of startxfce4 in lxdm.conf. To remedy that, login without saved changes and delete /mnt/sdXY/porteus/changes/etc/lxdm/lxdm.conf (using the proper path to your changes folder on disk). Reboot and you should be good.
I hope that helps; let me know if it doesn't. Thanks!
Please try this without the 'changes=' cheatcode, as there might be something in your saved changes that is causing this (if you have anything in saved changes it will override what is in your modules). If it's still not working, please give me the output of:
Code: Select all
cat /etc/rc.d/rc.4
cat /etc/lxdm/lxdm.conf
I hope that helps; let me know if it doesn't. Thanks!
Please take a look at our online documentation, here. Suggestions are welcome!
Re: AutoLogin XfCE How
I've removed that file & Reboot. Solved!Ahau wrote:........ delete /mnt/sdXY/porteus/changes/etc/lxdm/lxdm.conf (using the proper path to your changes folder on disk). Reboot and you should be good.

Thanks for the help.
