[SOLVED] how to load my desktop and bypass login screen?
-
- White ninja
- Posts: 23
- Joined: 30 Jul 2013, 07:22
- Distribution: Porteus v2 xfce
- Location: malaysia
[SOLVED] how to load my desktop and bypass login screen?
I tried to add - login=root - to the append line of porteus.cfg but it didn't work.
I have also tried to add - load=xfce - to the append line of porteus.cfg but it still stops at the login screen when booting.
I have also tried to add - load=xfce - to the append line of porteus.cfg but it still stops at the login screen when booting.
Last edited by pchan on 03 Sep 2013, 17:10, edited 1 time in total.
- francois
- Contributor
- Posts: 6307
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: how to load my desktop and bypass login screen?
It works here for me. I have a hdd or frugal install, see menu.lst:
Code: Select all
title porteus on sda5 /32bit_v21 XFCE
root (hd0,4)
kernel /32bit_v21/boot/syslinux/vmlinuz from=/dev/sda5/32bit_v21 changes=EXIT:/32bit_v21/porteus login=root
initrd /32bit_v21/boot/syslinux/initrd.xz
boot
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 23
- Joined: 30 Jul 2013, 07:22
- Distribution: Porteus v2 xfce
- Location: malaysia
Re: how to load my desktop and bypass login screen?
Thanks for response.
I am not using grub so i don't have a menu.lst to work with. I installed to my sdcard and use porteus syslinux boot loader. So, the file I should work with is porteus.cfg found in the /boot/syslinux/ folder. It looks like the menu.lst that grub bootloader uses.
I have tried many times with the login=root but i will try once more and see if i can get it to work. I like to boot right into my xfce desktop gui without having to go through the log in screen.
In the login screen, i notice that I have to again select xfce session otherwise, the default desktop will just bring me back to the login screen.
Anyway, I am not so security conscious so i don't want to have to type in user name and password in order to login. I want to login straight to desktop environment.
Thanks
I am not using grub so i don't have a menu.lst to work with. I installed to my sdcard and use porteus syslinux boot loader. So, the file I should work with is porteus.cfg found in the /boot/syslinux/ folder. It looks like the menu.lst that grub bootloader uses.
I have tried many times with the login=root but i will try once more and see if i can get it to work. I like to boot right into my xfce desktop gui without having to go through the log in screen.
In the login screen, i notice that I have to again select xfce session otherwise, the default desktop will just bring me back to the login screen.
Anyway, I am not so security conscious so i don't want to have to type in user name and password in order to login. I want to login straight to desktop environment.
Thanks
-
- White ninja
- Posts: 23
- Joined: 30 Jul 2013, 07:22
- Distribution: Porteus v2 xfce
- Location: malaysia
Re: how to load my desktop and bypass login screen?
No, I cannot get it to work. The login=root cheatcode does not work for me. I am using porteus 2.1 xfce.
help appreciated. Thanks
help appreciated. Thanks
- francois
- Contributor
- Posts: 6307
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: how to load my desktop and bypass login screen?
Did you add:
In the append line?
As in:
http://www.porteus.org/tutorials/37-ins ... ition.html
See this thread that might help you, even if it is on multiple boot:
Maybe you will find pertinent examples to help you. And submit the equivalent of the menu.lst. For example:
If you are intersted we could also change your bootloader to grub:
http://forum.porteus.org/viewtopic.php?f=62&t=946
Code: Select all
login=root
As in:
Code: Select all
APPEND initrd=/64/boot/syslinux/initrd.xz from=64 changes=/64/porteus login=root
See this thread that might help you, even if it is on multiple boot:
Maybe you will find pertinent examples to help you. And submit the equivalent of the menu.lst. For example:
Code: Select all
LABEL fresh
MENU LABEL 64-bit KDE, Fresh
KERNEL /64/boot/syslinux/vmlinuz
APPEND initrd=/64/boot/syslinux/initrd.xz from=64
http://forum.porteus.org/viewtopic.php?f=62&t=946
Last edited by francois on 27 Sep 2013, 12:30, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: how to load my desktop and bypass login screen?
First things first. When you boot to the menu screen, hit the TAB button and then add login=root to make sure it works. If so then you can edit /mnt/sdxY/boot/syslinux/porteus.cfg and add the cheatcode to the appropriate line as Francois said.
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.
-
- White ninja
- Posts: 23
- Joined: 30 Jul 2013, 07:22
- Distribution: Porteus v2 xfce
- Location: malaysia
Re: how to load my desktop and bypass login screen?
thanks.
i tried pressing the tab key and then type in login=root at the bootup menu.
i noticed that i already have the string login=root at the end of my append line.
anyway, i typed in login=root again.
it brought me to the login screen but this time, the xfce session is already selected for me. so that's a progress.
i'm going to try typing the cheatcode login=root 2 times at the end of the append line and report back tonight.
i am also considering replacing the syslinux boot loader with grub. i think there could be more flexibility by having a menu.lst. if i'm not wrong, through the menu.lst, i can actually direct grub to load different types of porteus desktop??
i'm just not sure under grub, what i should do to make porteus save to my save.dat since the settings of each desktop environment might be different.
anyway, having multiple porteus is just an idea. if i can't get that to work, i really don't mind sticking to xfce. the main thing is i want to boot in directly without login screen.
Thanks
i tried pressing the tab key and then type in login=root at the bootup menu.
i noticed that i already have the string login=root at the end of my append line.
anyway, i typed in login=root again.
it brought me to the login screen but this time, the xfce session is already selected for me. so that's a progress.
i'm going to try typing the cheatcode login=root 2 times at the end of the append line and report back tonight.
i am also considering replacing the syslinux boot loader with grub. i think there could be more flexibility by having a menu.lst. if i'm not wrong, through the menu.lst, i can actually direct grub to load different types of porteus desktop??
i'm just not sure under grub, what i should do to make porteus save to my save.dat since the settings of each desktop environment might be different.
anyway, having multiple porteus is just an idea. if i can't get that to work, i really don't mind sticking to xfce. the main thing is i want to boot in directly without login screen.
Thanks
-
- White ninja
- Posts: 23
- Joined: 30 Jul 2013, 07:22
- Distribution: Porteus v2 xfce
- Location: malaysia
Re: how to load my desktop and bypass login screen?
Okay, I tried typing login=root at the end of append line in porteus.cfg but it didn't work.
At the login screen, the xfce desktop session was also not selected for me.
At the login screen, the xfce desktop session was also not selected for me.
- francois
- Contributor
- Posts: 6307
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: how to load my desktop and bypass login screen?
8)If you are intersted we could also change your bootloader to grub:
http://forum.porteus.org/viewtopic.php?f=62&t=946
But syslinux should work as well. 8)
Last edited by francois on 11 Aug 2013, 14:35, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.
- fanthom
- Moderator Team
- Posts: 5588
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: how to load my desktop and bypass login screen?
'login=root' works for sure in 'Always Fresh' mode so there is something happening in saved changes. Ahau should track it down soon.
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 23
- Joined: 30 Jul 2013, 07:22
- Distribution: Porteus v2 xfce
- Location: malaysia
Re: how to load my desktop and bypass login screen?
Thanks fanthom,
yes, i noticed now that in francois menu.lst, there's no file.dat (save file).
this means that the system is ext3 so no need to have save.dat file.
my pendrive is fat32 so i'm using a save file for persistence. Somehow, the login=root could not work in fat32.
I hope the problem can be solved. I really like using porteus.
Thanks
yes, i noticed now that in francois menu.lst, there's no file.dat (save file).
this means that the system is ext3 so no need to have save.dat file.
my pendrive is fat32 so i'm using a save file for persistence. Somehow, the login=root could not work in fat32.
I hope the problem can be solved. I really like using porteus.
Thanks
- francois
- Contributor
- Posts: 6307
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: how to load my desktop and bypass login screen?
I am ext2. Maybe you could make 2 partitions on your usb if you want to keep some place for some windows' files. 

Prendre son temps, profiter de celui qui passe.
- Ahau
- King of Docs
- Posts: 1331
- Joined: 28 Dec 2010, 15:18
- Distribution: LXDE & Xfce 32/64-bit
- Location: USA
Re: how to load my desktop and bypass login screen?
@pchan, is there a chance you have another (older) porteus install located on your machine, on a hard drive or cdrom, perhaps?
If not, please try booting into 'always fresh' mode to see if that works, report back here, and in either case, please upload the xpsinfo report as Hamza mentioned, this should help us track down the cause.
Thanks!
If not, please try booting into 'always fresh' mode to see if that works, report back here, and in either case, please upload the xpsinfo report as Hamza mentioned, this should help us track down the cause.
Thanks!
Please take a look at our online documentation, here. Suggestions are welcome!
-
- White ninja
- Posts: 23
- Joined: 30 Jul 2013, 07:22
- Distribution: Porteus v2 xfce
- Location: malaysia
Re: how to load my desktop and bypass login screen?
Here's my porteus.cfgLABEL xfce
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus login=root
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT
Porteus 2.1 xfce
Fat32 sdcard
Netbook : acer aspire d257 netbook
Intel Atom n570
Hoping to be able to log in without login screen
Cheatcode "login=root" is used and typed in at the end of the append line.
Status : not working. need help