Linux Lite Forums

Hardware - Support => Other => Topic started by: Had Matter on August 12, 2018, 06:18:50 AM

Title: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Had Matter on August 12, 2018, 06:18:50 AM
Using Linux Lite in a Virtualbox VM. Increased the RAM for the VM. After this booting the VM ends in a login prompt (to the desktop environment?) with user pre-filled as "linuxlite".

It looks as if something was reset when Linux Lite discovered the RAM increase - rolling the RAM increase back does not get rid of the login prompt. I assume this login was previously done behind the scenes with some stored password.

As it does not seem possible to skip this login, and the only visible desktop component is the wallpaper, the VM is stuck.

Is there a fix for this? Or is it a bug?

Details:
Linux Lite 4.0 64 bit downloaded from Linux Lite site.
Running on VirtualBox 5.2.16 r123759 (Qt5.6.2) on Windows 10.
Installed in VM according to this guide (https://www.linuxliteos.com/forums/tutorials/how-to-install-test-and-use-linux-lite-in-oracle-virtualbox/msg2019/#msg2019).

PS: Correct subforum? Lemme know if not and I'll try and move it
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: firenice03 on August 12, 2018, 10:51:37 AM
Can't say persay why.. But if you can't login, the Live enviroments at least in previous versions would occasionally display a login prompt especially on laptops; password was blank/empty. Hitting enter would bypass.
If not the username may need changed to linux with no password.


May atleast allow you access back in the system to further troubleshoot..
Good luck
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Had Matter on August 12, 2018, 11:26:26 AM
Thanks! Yes, there is a stickied thread about that issue, but none of the suggestions there work. What then happens is the password and/or user gets rejected and the prompt pops back up.

Likely the fastest road in my case is to define a new VM with the amount of RAM I want, would be up and running in ½ an hour. But if that is necessary, experimenting with RAM amounts is not just something that can be done on the fly.
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Had Matter on October 07, 2018, 10:49:40 AM
If not the username may need changed to linux with no password.
Double-posting to add: username linux with no password does not work.

I made a new VM and now have the issue again after making some changes (and recklessly updated the guest additions to the latest version from virtualbox.org) and got locked out again. It appears I'm locked out of the machine unless I can get past this login prompt.
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: trinidad on October 07, 2018, 11:31:05 AM
Lightdm display: Other>
Type: linux
Hit Enter
Password> leave blank
Hit Enter again.

The UI doesn't always respond to mouse clicks, and requires two return/enter. You must return/enter linux as user name first, and then return/enter password as blank. Not particularly intuitive, just how it is. Confused me at first.

TC
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Had Matter on October 07, 2018, 02:39:48 PM
Thanks - I didn't get to try your suggestion, the issue apparently went away after a couple of shutdowns (Virtualbox force shutdown).
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: bitsnpcs on October 07, 2018, 03:09:54 PM
experimenting with RAM amounts is not just something that can be done on the fly.

It is not on the fly but you can right click the machine and clone it, then try changes in the clone first, if they don't work delete the clone and make a new clone, it takes around < 1.5 minutes to make the clone etc.
So it saves a lot of time compared to making a new machine.
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Moltke on October 07, 2018, 05:46:11 PM
How much RAM do you have at your disposal for this experiment? I'm asking because Linux Lite needs only 1GB at the very least to run properly, of course, much more RAM means better performance...well, when it comes to VMs that may not be the case. You can assign lots of RAM and still get almost the same performance as with 1GB. If you're looking for better performance CPU is the key. If your machine has something like this (https://www.intel.com/content/www/us/en/products/processors/core/i7-processors/i7-plus-8700-optane-16gb.html) or better yet like this (https://www.amd.com/en/support/cpu/amd-ryzen-processors/amd-ryzen-threadripper-processors/amd-ryzen-threadripper-2990wx) one then you should be able to get a decent performance since you could assign more than one cpu to the VM, but if your machine has a quite old dual-core or even a quad-core processor it won't make much of a difference no matter how much RAM it uses cause you won't be able to surpass the 1 cpu limit unless you want to fry yours. I've been a virtualbox user for quite sometime now, run several VMs; Windows, Linux, android and  even Apple OS and I realized that they should be used for testing purposes only - at least for me - and not to take like a daily/work machine.


Hope this helps! :)
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Had Matter on October 07, 2018, 07:06:08 PM
How much RAM do you have at your disposal for this experiment?

 If your machine has something like this (https://www.intel.com/content/www/us/en/products/processors/core/i7-processors/i7-plus-8700-optane-16gb.html)

It's an i7-7700K at 4.20GHz, 8 cores, 16 GB RAM. This machine I have the issue with is assigned 3 cores and 2GB RAM. Thanks for suggesting this could have to do with the issue.

BTW anything important is saved on a different (virtual) hard drive than the one Linux Lite is on, so I expect I can always recover any files - though I mostly use VMs to sandbox stuff such as accessing anything to do with money from the Windows PC, so the VMs themselves are disposable. Which appears to be a good thing since this login prompt issue just reappeared.
Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Moltke on October 07, 2018, 09:40:16 PM
Quote
It's an i7-7700K at 4.20GHz, 8 cores, 16 GB RAM. This machine I have the issue with is assigned 3 cores and 2GB RAM. Thanks for suggesting this could have to do with the issue.

Those specs looks good enough.

Quote
this login prompt issue just reappeared.

Did it reappear in a new VM you just created or on the same one?

Quote
Installed in VM according to this guide.

Maybe you should try a different approach; repeat the process but choose not to do something, I'd suggest you may try creating the VM without enabling "PAE/NX”. Leave that one since it's its default configuration unchecked and see how that goes. In any case, you can create a VM as simple as follows:

Open virtualbox, select "new" and follow the instructions, you already made it so you should know the procedure by now. Leave its defaults except for video memory which you can increase up to 256mb instead of the 128mb. You can find instructions on how to on this link https://www.linuxliteos.com/forums/off-topic/my-first-try/msg38800/#msg38800 You  should enable 3D accelaration as well. And if you wish you may assign your initial CPU and RAM config; 3 cores and 2GB respectively. Don't check/change anything else. Now, you could try this and see if it works.

Hope this helps! :)





Title: Re: Increasing RAM for Linux Lite guest in Virtualbox leads to desktop login prompt
Post by: Had Matter on October 19, 2018, 05:10:59 PM
Hope this helps! :)
Thanks again! As Ithere was nothing essential on the virtual HD where Linux Lite was installed, I simply re-installed and will see how it goes.