Does anybody know how to:
1) Make the LinuxCoin USB ask for a password before getting to the desktop?
2) Make the default on boot be to Persistence?
3) Make an exact mirror image duplicate of the USB?
TIA!
1) edit /usr/share/gdm/defaults.conf and change AutomaticLoginEnable=true to AutomaticLoginEnable=false.
2) Depends on what method you used to get it onto your flash media. Just open up syslinux.cfg and replace everything with
default menu.c32
prompt 0
menu title LinuxCoin
timeout 0
label linuxcoin
menu label LinuxCoin Persistent (flash only)
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config quiet splash persistent rw vga=791
3) This has been covered lots of times. If I was you though I'd just create as many sticks as you need and use your persistence file as a backup. If you need to reformat just create the stick and place your live-rw on the root of your flash media and yor golden
#3) Worked great! (my apologies for not being able to find it, I have spent hours and hours trying 8^)
#1) 8^(
Leafpad will not save it
Root terminal gives (after login user live):
user@linuxcoin:~$ edit /usr/share/gdm/defaults.conf
Warning: unknown mime-type for "/usr/share/gdm/defaults.conf" -- using "application/octet-stream"
Error: no write permission for file "/usr/share/gdm/defaults.conf"
user@linuxcoin:~$
Trying to set file permissions in File Manager I get:
: Error setting permissions: Operation not permitted
user@linuxcoin:~$ chmod u+w /usr/share/gdm/defaults.conf
chmod: changing permissions of `/usr/share/gdm/defaults.conf': Operation not permitted
May have success! In Root Terminal:
root@linuxcoin:/home/user# ls -l ''/usr/share/gdm/defaults.conf''
-rw-r--r-- 1 root root 33977 Jun 21 17:55 /usr/share/gdm/defaults.conf
root@linuxcoin:/home/user# chmod o+rw /usr/share/gdm/defaults.conf
root@linuxcoin:/home/user# ls -l ''/usr/share/gdm/defaults.conf''
-rw-r--rw- 1 root root 33977 Jun 21 17:55 /usr/share/gdm/defaults.conf
root@linuxcoin:/home/user#
After this LeafPad seems to have saved the change.
Will reboot now to see if it worked
Did not work, booted straight to default
now going to try:
sudo leafpad /usr/share/gdm/defaults.conf
Hmmmm, the file obviously was changed but it had no effect:
"AutomaticLoginEnable=false"
Giving up on this one, now going to try #2
#2) I assume I will have the same no access to file issues as #1
Oh joy, now I can't find syslinux.cfg
root@linuxcoin:/home/user# sudo find / -iname 'syslinux.cfg'
/live/image/syslinux.cfg
sudo leafpad /live/image/syslinux.cfg
Ok, seems to have saved it, Time to reboot and test!