Page 1 of 1

automatically login with another user rather than the guest

Posted: 05 Apr 2014, 02:23
by alexandre-samuel
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?

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 03:15
by francois
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:
http://forum.porteus.org/viewtopic.php?f=81&t=2403

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 17:58
by alexandre-samuel
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?

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 18:11
by francois
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)^

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 18:25
by donald
@alexandre-samuel
cheatcodes can be added to the APPEND line of your /boot/syslinux/porteus.cfg

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 19:11
by alexandre-samuel
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.

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 19:33
by francois
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

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 20:42
by alexandre-samuel
@francois

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

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 20:46
by freestyler
@alexandre-samuel
Make the changes to porteus.cfg

Re: automatically login with another user rather than the gu

Posted: 05 Apr 2014, 22:16
by alexandre-samuel
Thanks very much!

SOLVED