automatically login with another user rather than the guest

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

automatically login with another user rather than the guest

Post#1 by alexandre-samuel » 05 Apr 2014, 02:23

I do not speak English very well, so forgive me any errors.

I created a new user x, and when the system starts i want it logs with user x.

How do I do this?

User avatar
francois
Contributor
Contributor
Posts: 4905
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: automatically login with another user rather than the gu

Post#2 by francois » 05 Apr 2014, 03:15

Welcome alexandre-samuel. :)

You have to use the cheatcode login=user-x, see cheatcodes:
http://www.porteus.org/tutorials/26-gen ... -them.html
What type of installation do you have: usb, hdd? You have to put the login= cheatcode in the bootloader instructions.

But it is written here that it would be better to stick with the guest user, see:
viewtopic.php?f=81&t=2403
Voltaire: Le mieux est l'ennemi du bien.

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: automatically login with another user rather than the gu

Post#3 by alexandre-samuel » 05 Apr 2014, 17:58

Thanks for help me!

It worked, but every time I have to do the same thing: 1) push Tab and enter login = user-x.

There's no way I do it once and be saved?

User avatar
francois
Contributor
Contributor
Posts: 4905
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: automatically login with another user rather than the gu

Post#4 by francois » 05 Apr 2014, 18:11

It seems that you do not know about the cheatcodes for porteus, which is:

Code: Select all

login=user-x,y,z
Cheatcodes are specified to the bootloader. What type of installation do you have? Did you provide for a save changes folder with the changes= (cheatcode) that will save the changes to your desktop environment (de)^
Voltaire: Le mieux est l'ennemi du bien.

donald
Full of knowledge
Full of knowledge
Posts: 1126
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: automatically login with another user rather than the gu

Post#5 by donald » 05 Apr 2014, 18:25

@alexandre-samuel
cheatcodes can be added to the APPEND line of your /boot/syslinux/porteus.cfg

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: automatically login with another user rather than the gu

Post#6 by alexandre-samuel » 05 Apr 2014, 19:11

Thanks for all answers!

I did the method of @donald. Thanks!

@francois

I use hd. How do i do by tab?

After this answer I will mark as solved. This is to let everyone know of two ways.

User avatar
francois
Contributor
Contributor
Posts: 4905
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: automatically login with another user rather than the gu

Post#7 by francois » 05 Apr 2014, 19:33

When the bootloader start you have a few seconds or more, before it begins to load the program of the os. So as soon as you see something like:

Code: Select all

Porteus-3.0 64bit Graphics mode (kde)
Use the tab key and you should be able to edit the instructions and even add some info.
Add:
login=user-x
Voltaire: Le mieux est l'ennemi du bien.

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: automatically login with another user rather than the gu

Post#8 by alexandre-samuel » 05 Apr 2014, 20:42

@francois

It worked, but when i reboot the system, i have do again! Is there a permanent way well as the method of @donald?

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: automatically login with another user rather than the gu

Post#9 by freestyler » 05 Apr 2014, 20:46

@alexandre-samuel
Make the changes to porteus.cfg
https://www.porteus-apps.org

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: automatically login with another user rather than the gu

Post#10 by alexandre-samuel » 05 Apr 2014, 22:16

Thanks very much!

SOLVED

Post Reply