I followed the guide here:
I've done it completely through twice, very carefully each time, and I have the same problem resulting. When I boot my custom ISO with Virtualbox, it doesn't load as if it's live, but asks me to log in. I have to press F1 to log in, then a text field appears asking for username and password. I've not set any username or password and would prefer it to load the desktop on boot.
I'm quite certain that I followed the directions exactly, and the things I modified in customizing was nothing more than installing a few tools and creating a custom menu in the Cinnamon-menu settings. I don't think those changes should cause the problem I'm facing.
Any thoughts on how to correct this?
Reference: http://pinguyos.com/2015/09/pinguy-buil ... 2336772305The problem is that virtualbox sets up users (vbox_sf for shared folders) as userid 999. But casper (the app that controls the "live cd system") hard codes the Pinguy Builder userid as 999 also! So this means that the "live" user isn't ever created (since 999 already exists!). The solution is to give a different uid to the casper created user.
This terminal command will make the change for you automagically:
sed -i -e 's@user-uid [0-9]*@user-uid 990@' /usr/share/initramfs-tools/scripts/casper-bottom/25adduser
To interpret this command, in the 25adduser file, I am changing "user-uid 999" to "user-uid 990". You can just manually make that edit if you want, but thought others may enjoy the sed one-liner to do it automagically.
After this fix, I am no longer faced with the "login screen" when starting the live system: it auto-logs-in just as it should!
There really should be a casper patch to move away from the hard-coded uid, maybe it could be a Pinguy Builder variable in /etc/PinguyBuilder.conf but for now the hack to change that uid to something *OTHER THAN 999* seems to work!