[SOLVED] How should I logout? (from 'root' acct > into new created standard 'user')
4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How should I logout? (from 'root' acct > into new created standard 'user')
Hi guys, after instalation 4Mlinux v34.2 to PC hdd and restarts and setting root paswd and a few settings > then I've followed web-site original instructions to create standard new 'user' & paswd > and after that I should log-out from root and log-in into standard user.
Q1:
But how can I log-out from this root acct and get into 'user'?
The JWM start menu doesn't have logout button & using some commands did not help logout:
Neither restart works - 4MLinux just restart & log straight into 'root' acct again & again ...
I used also the Menu > JWM exit > so it exit into black command screen > I used command logout > then try login again as 'user' > enter passw > controll command 'whoami' says 'user' > but it's not letting use command 'startx' - there's always answer:
killall: can't kill pid XXX: Operation not permited
Is there please any way how to do it? How to log in and use allways standard acct. 'user' instead of 'root' in 4MLinux.
Thank you.
Q2:
So it looks like I will have to wipe it out of my hdd and try to do clear reinstall.
What is the proper way to install & create 7 use acct. 'user'?
1. install linux with create root > set root > install all sw & everything settings as 'root' > then create 'user' acct > log into 'user' > use 'user'?
or
2. install linux with create root > set root > create 'user' acct. right away > log into 'user' > install all sw & everything settings as 'user' > use 'user'?
or
3. install linux with create root > set root > create 'user' acct right away > stay into 'root' > install all sw & everything setiings as 'root' > then log into 'user' > use 'user'?
Q3:
And how to make 4MLinux to start pc automatic into 'user' (not into 'root')?
exec replaces the current process with a new one described in its arguments
the new command overlays the current shell without spawning a new process.
Since the pid (Process Identity does not change then the new command replaces without
remembering the old process, including the root ID it was running with, everything run from that point on will be the new user you have named because the suSet User runs its arguments as user.
The - tells su to set up and run the login sequence.
If your computer has a UEFI BIOS, you MUST Power off to obtain a clean reboot. Rebooting with many UEFI firmware versions DOES NOT perform a clean warm re-boot. I suggest you log off and remove the power cord from your computer. Then wait at least ten seconds before replacing the power cord. Remember the original IBM PC power supply was designed to retain power for at least ten seconds
Rebooting with many UEFI firmware versions DOES NOT perform a clean warm re-boot.
I wonder if that's what is stopping my Lenovo Thinkstation from rebooting. istr it did reboot when I first got it a couple of years ago, but it doesn't now unless I briefly switch off and on again.
A simple way to find out that works for me is:Ii hold down the left SHIFT key when I click on shutdown OR reboot. Works every time on my Lenovo ThinkCenter with Linux or Windows 10. Sometimes shutdown and reboot do not give me a clean reboot if I forget to hold down the LEFT SHIFT key. Then I must remove the power cord. Aa far as i can tell the UEFI firmware seems to be designed to keep a minimum power state to the motherboard and retain the previous boot parameters.
M
A simple way to find out that works for me is:Ii hold down the left SHIFT key when I click on shutdown OR reboot. Works every time on my Lenovo ThinkCenter with Linux or Windows 10.
M
I tried that last night, keeping the left shift down through shutdown and into restart. It still froze on me after completing the POST. It always freezes either there (where UEFI is supposed to hand over to the bootloader) or later where the bootloader is supposed to hand over to the kernel. But unlike you, I can always unfreeze it by flicking the wall switch. I've never had to unplug it.
OK, thank you guys a lot for your help.
After a few months of trying now I know that I did read the manual of 4MLinux wrong:
There is an instruction "... recommended to not create regular user account ..." following with instructions how to create regular user account.
So I did not see the word "NOT" and followed it ...
Sorry about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.