LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   cannot log into 4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/cannot-log-into-4mlinux-4175690826/)

RiccoH 02-19-2021 07:23 PM

cannot log into 4MLinux
 
Hello, I am a new member. I just downloaded and installed (or so I thought) 4MLinux on an Asus EEE netbook.
It seemed to work fine running from the DVD that I burned the image to, and I followed the instructions...changing the root password, etc.

After reboot, I get "4MLinux Login:"...I enter "root"...I get "Password"...I enter the password that I gave it during the live boot...and I get "Login incorrect".

What am I doing wrong???

Brains 02-19-2021 09:09 PM

4MLinux was written to the DVD and closed, nothing else can be written to the DVD. When 4MLinux is running off the DVD it is loaded in RAM memory and operates exactly like it would if it was installed on a drive. And you can do anything like change password but because you can't write to the DVD only the OS running in RAM. Once you shutdown or reboot, all changes are lost and it's the same after every reboot.

In order for changes to persist you probably need to install it to a drive be it hard drive or external drive. Some Linux live allow creating a persistence file when installed to USB flash drive which will allow changes to be saved, but they are mostly Debian based, not sure if you can enable persistence with 4MLinux.

RiccoH 02-20-2021 12:13 AM

Not the problem
 
I burned the DVD in order to do an install on my hard drive...I followed the directions given during the boot up, which included the root password change, and went to the installer and started it. During the install, I was not prompted to set a user name, password, or to reset the root password.

After install was complete, and reboot was done, it loads to a login prompt. Since I wasn't asked to set ANY other passwords, I assumed that it wanted the root password that it asked me to set earlier in the process...but it doesn't. It won't accept a start x command either. For a system that perports to be fast & easy...well, it's fast...until it quits.

I've loaded a dozen different linux versions...never had this kind of trouble. 😡

Brains 02-20-2021 12:48 AM

OK
You did not mention you installed to hard drive in your first post.
You probably have a root account, but are not allowed to log into Xsession as root.
You have to create a user account.
Boot to single user/recovery mode without X, log in as root, and create a user with command below, after the user is created you switch user to the user and startx.
In the useradd command, change "jo" to the username you want for your user.
Code:

useradd -g users -G wheel cdrom video usb users audio -m jo
Then enter passwd command to set a password for the user, change jo for your user name:
Code:

passwd jo

michaelk 02-20-2021 08:34 AM

As a reference I just installed 35.1 as a VirtualBox virtual machine. After installation and reboot it ran the same start up script asking for a root password as did the live CD. Version 35.1 automatically logs in as root and starts the desktop. Although the online help guide shows after login you need to enter startx to start the desktop.

What version are you running?

I will ask for your thread to be moved to the 4M forum so hopefully you will get direct help from the developers.

zk1234 02-20-2021 03:13 PM

Quote:

Originally Posted by michaelk (Post 6222462)
What version are you running?

This is exactly what I would like to get to know, too.


All times are GMT -5. The time now is 07:37 PM.