Code: Select all
chown -R guest:users /home/guest
Code: Select all
chown -R guest:users /home/guest
32 and 64 bit.brokenman wrote:Is this only in 32bit?It has long been observed that in the text mode Russian alphabet (сyrillic) appears as follows:
No. Can you give me example of this (these) command(s)?Have you tried setting the character encoding in the terminal?
Code: Select all
root@porteus:~# ls /root/Загрузки/kbd-1.15-x86_64-3/usr/share/kbd/consolefonts
161.cp.gz drdos8x14.psfu.gz lat1-14.psfu.gz
162.cp.gz drdos8x16.psfu.gz lat1-16.psfu.gz
163.cp.gz drdos8x6.psfu.gz lat2-08.psfu.gz
164.cp.gz drdos8x8.psfu.gz lat2-10.psfu.gz
165.cp.gz gr737a-8x8.psfu.gz lat2-12.psfu.gz
737.cp.gz gr737a-9x14.psfu.gz lat2-14.psfu.gz
880.cp.gz gr737a-9x16.psfu.gz lat2-16.psfu.gz
928.cp.gz gr737b-8x11.psfu.gz lat2a-16.psfu.gz
972.cp.gz gr737b-9x16-medieval.psfu.gz lat4-08.psfu.gz
Agafari-12.psfu.gz gr737c-8x14.psfu.gz lat4-10.psfu.gz
Agafari-14.psfu.gz gr737c-8x16.psfu.gz lat4-12.psfu.gz
Agafari-16.psfu.gz gr737c-8x6.psfu.gz lat4-14.psfu.gz
Cyr_a8x14.psfu.gz gr737c-8x7.psfu.gz lat4-16+.psfu.gz
Cyr_a8x16.psfu.gz gr737c-8x8.psfu.gz lat4-16.psfu.gz
Cyr_a8x8.psfu.gz gr737d-8x16.psfu.gz lat4-19.psfu.gz
ERRORS gr928-8x16-thin.psfu.gz lat4a-08.psfu.gz
Goha-12.psfu.gz gr928-9x14.psfu.gz lat4a-10.psfu.gz
Goha-14.psfu.gz gr928-9x16.psfu.gz lat4a-12.psfu.gz
Goha-16.psfu.gz gr928a-8x14.psfu.gz lat4a-14.psfu.gz
GohaClassic-12.psfu.gz gr928a-8x16.psfu.gz lat4a-16+.psfu.gz
GohaClassic-14.psfu.gz gr928b-8x14.psfu.gz lat4a-16.psfu.gz
GohaClassic-16.psfu.gz gr928b-8x16.psfu.gz lat4a-19.psfu.gz
Lat2-Terminus16.psfu.gz greek-polytonic.psfu.gz lat5-12.psfu.gz
LatArCyrHeb-08.psfu.gz iso01-12x22.psfu.gz lat5-14.psfu.gz
LatArCyrHeb-14.psfu.gz iso01.08.gz lat5-16.psfu.gz
LatArCyrHeb-16+.psfu.gz iso01.14.gz lat7-14.psfu.gz
LatArCyrHeb-16.psfu.gz iso01.16.gz lat7a-14.psfu.gz
LatArCyrHeb-19.psfu.gz iso02-12x22.psfu.gz lat7a-16.psf.gz
Mik_8x16.gz iso02.08.gz lat9-08.psf.gz
README.12x22 iso02.14.gz lat9-10.psf.gz
README.Arabic iso02.16.gz lat9-12.psf.gz
README.Cyrillic iso03.08.gz lat9-14.psf.gz
README.Ethiopic iso03.14.gz lat9-16.psf.gz
README.Greek iso03.16.gz lat9u-08.psfu.gz
README.Hebrew iso04.08.gz lat9u-10.psfu.gz
README.Lat2-Terminus16 iso04.14.gz lat9u-12.psfu.gz
README.cp1250 iso04.16.gz lat9u-14.psfu.gz
README.cybercafe iso05.08.gz lat9u-16.psfu.gz
README.drdos iso05.14.gz lat9v-08.psfu.gz
README.lat0 iso05.16.gz lat9v-10.psfu.gz
README.lat7 iso06.08.gz lat9v-12.psfu.gz
README.lat9 iso06.14.gz lat9v-14.psfu.gz
README.psfu iso06.16.gz lat9v-16.psfu.gz
UniCyrExt_8x16.psf.gz iso07.14.gz lat9w-08.psfu.gz
UniCyr_8x14.psf.gz iso07.16.gz lat9w-10.psfu.gz
UniCyr_8x16.psf.gz iso07u-16.psfu.gz lat9w-12.psfu.gz
UniCyr_8x8.psf.gz iso08.08.gz lat9w-14.psfu.gz
alt-8x14.gz iso08.14.gz lat9w-16.psfu.gz
alt-8x16.gz iso08.16.gz m.fnt.gz
alt-8x8.gz iso09.08.gz ml.fnt.gz
altc-8x16.gz iso09.14.gz mod_d.fnt.gz
aply16.psf.gz iso09.16.gz mod_s.fnt.gz
arm8.fnt.gz iso10.08.gz mr.fnt.gz
b.fnt.gz iso10.14.gz mu.fnt.gz
c.fnt.gz iso10.16.gz partialfonts/
cp1250.psfu.gz koi8-14.psf.gz r.fnt.gz
cp850-8x14.psfu.gz koi8c-8x16.gz rl.fnt.gz
cp850-8x16.psfu.gz koi8r-8x14.gz ro.fnt.gz
cp850-8x8.psfu.gz koi8r-8x16.gz ruscii_8x16.psfu.gz
cp857.08.gz koi8r-8x8.gz ruscii_8x8.psfu.gz
cp857.14.gz koi8r.8x8.psfu.gz s.fnt.gz
cp857.16.gz koi8u_8x14.psfu.gz sc.fnt.gz
cp865-8x14.psfu.gz koi8u_8x16.psfu.gz scrawl_s.fnt.gz
cp865-8x16.psfu.gz koi8u_8x8.psfu.gz scrawl_w.fnt.gz
cp865-8x8.psfu.gz lat0-08.psfu.gz sd.fnt.gz
cp866-8x14.psf.gz lat0-10.psfu.gz sun12x22.psfu.gz
cp866-8x16.psf.gz lat0-12.psfu.gz t.fnt.gz
cp866-8x8.psf.gz lat0-14.psfu.gz t850b.fnt.gz
cybercafe.fnt.gz lat0-16.psfu.gz tcvn8x16.psf.gz
cyr-sun16.psfu.gz lat1-08.psfu.gz viscii10-8x16.psfu.gz
default8x16.psfu.gz lat1-10.psfu.gz
default8x9.psfu.gz lat1-12.psfu.gz
root@porteus:~#
Code: Select all
#!/bin/bash
#modifies /etc/fstab to add 'comment=x-gvfs-show' to all devices.
#This allows the devices to show up in the pcmanfm and thunar left
#panes under udisks2
if [ "$1" = "start" ]; then
for a in `cat /etc/fstab |sed '/Device partitions/,/^$/!d'|grep '/dev/'|cut -d ' ' -f4|sort -u|grep -v 'x-gvfs-show'`; do
sed -i '/Device partitions/,/^$/ '"s/$a/$a,comment=x-gvfs-show/g"'' /etc/fstab;
done
fi
ncmprhnsbl wrote:as root:whether this will stick on saving/reboot is a good questionCode: Select all
chown -R guest:users /home/guest
Code: Select all
root@porteus:~# ls -l /home
total 0
drwxr-xr-x 32 root root 80 Jun 16 12:18 guest/
root@porteus:~#
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# mloop /mnt/sda5/porteus3.2/changes/porteussave.dat
using /dev/loop28
Please wait while i gather some info ....
mount: wrong fs type, bad option, bad superblock on /dev/loop28,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
#################################
Your data file has been mounted at:
/mnt/loop
You can unmount it by typing uloop
Here is a list of the files:
root@porteus:/home/guest# ls /mnt/loop
root@porteus:/home/guest# uloop
nothing is mounted in /mnt/loop
Something was most definitely added to /home/guest. The question is: What was added? The answer really depends on how you went about the procedures above.I booted 3.2rc3 with no changes= parm.
I created a new 256MB save.dat file.
I rebooted 3.2rc3 with changes=EXIT; and address of the new save.dat file.
I added and saved the password for my wi-fi router.
I changed the clock display to be 12 hrs.
I rebooted, saving my changes,
On rebooting I get the guest logon screen.
Nothing was added to /home/guest/.
1. Created the save.dat using 3.2rc3.brokenman wrote:Something was most definitely added to /home/guest. The question is: What was added? The answer really depends on how you went about the procedures above.
Code: Select all
set ISO3x=porteus-nemesis-v3.5-lxde-x86_64.iso
set ISO32X=Porteus-CINNAMON-v3.2rc3x-x86_64.iso
set ISO32=Porteus-CINNAMON-v3.2rc3-x86_64.iso
:
:
title Porteus 3.2 Always Fresh +\n264MB\n %ISO32% with networking & Firefox
find --set-root /ISOs/%ISO32%
map --heads=0 --sectors-per-track=0 /ISOs/%ISO32% (0xff)
map --hook
root (0xff)
#kernel /boot/syslinux/vmlinuz from=/ISOs/%ISO32% extramod=/porteus3.2/Modules changes=EXIT:/porteus3.2/changes/porteussave.dat
kernel /boot/syslinux/vmlinuz from=/ISOs/%ISO32% extramod=/porteus3.2/Modules;/porteus3.2/modsavedat
initrd /boot/syslinux/initrd.xz
Code: Select all
guest@porteus:~$ ls /mnt/sda5/porteus3.2/Modules
firefox-47.0b9-x86_64-1.xzm*
flashplayer-plugin-11.2.202.621-x86_64-1alien.xzm*
guest@porteus:~$ ls /mnt/sda5/porteus3.2/modsavedat
porteussave.dat.xzm*
guest@porteus:~$
Code: Select all
title Porteus 3.2 changes= \n264MB\n%ISO32% with networking & Firefox
find --set-root /ISOs/%ISO32%
map --heads=0 --sectors-per-track=0 /ISOs/%ISO32% (0xff)
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz from=/ISOs/%ISO32% extramod=/porteus3.2/Modules changes=EXIT:/porteus3.2/changes/porteussave.dat
#kernel /boot/syslinux/vmlinuz from=/ISOs/%ISO32% extramod=/porteus3.2/Modules;/porteus3.2/modsavedat
initrd /boot/syslinux/initrd.xz
Code: Select all
guest@porteus:~$ mloop /mnt/sda5/porteus3.2/changes/porteussave.dat
Please enter root's password below
Password:
using /dev/loop8
Please wait while i gather some info ....
#################################
Your data file has been mounted at:
/mnt/loop
You can unmount it by typing uloop
Here is a list of the files:
etc home lib root usr var
guest@porteus:~$ ls -l /mnt/loop/home
total 0
drwxr-xr-x 16 guest users 322 Jun 16 12:15 guest/
guest@porteus:~$ ls -l /mnt/loop/home/guest
total 0
drwxr-xr-x 2 guest users 6 Jun 15 23:44 Desktop/
drwxr-xr-x 2 guest users 6 Feb 21 01:25 Documents/
drwxr-xr-x 2 guest users 6 Feb 21 01:35 Downloads/
drwxr-xr-x 2 guest users 6 Feb 21 01:44 Music/
drwxr-xr-x 2 guest users 6 Feb 21 01:36 Pictures/
drwxr-xr-x 2 guest users 6 Feb 21 01:40 Videos/
guest@porteus:~$ ls -l /mnt/loop/home/guest/Desktop
total 0
guest@porteus:~$ ls -l /mnt/loop/etc
total 24
drwxr-xr-x 3 root root 32 Jun 15 23:45 NetworkManager/
-rw-r--r-- 1 root root 42 Jun 15 23:49 dhcpcd.duid
-r-------- 1 root root 192 Jun 15 23:49 dhcpcd.secret
-rw-r--r-- 1 root root 802 Jun 16 12:12 fstab
drwxr-xr-x 3 root root 30 Jun 16 12:13 gconf/
-rw-r--r-- 1 root root 264 Jun 16 12:16 mtab
-rw------- 1 root users 0 Jun 15 23:50 mtab.fuselock
drwxr-xr-x 2 root root 24 Jun 16 12:12 profile.d/
-rw------- 1 root root 512 Jun 16 12:16 random-seed
-rw-r--r-- 1 root root 130 Jun 16 12:12 resolv.conf
drwxr-xr-x 3 root root 21 Jun 16 12:14 samba/
drwxr-xr-x 3 root root 21 Jun 15 23:44 udev/
guest@porteus:~$ ls -l /mnt/loop/lib
total 0
drwxr-xr-x 3 root root 27 Jun 15 23:44 modules/
guest@porteus:~$ ls -l /mnt/loop/root
/bin/ls: cannot open directory '/mnt/loop/root': Permission denied
guest@porteus:~$ ls -l /mnt/loop/usr
total 0
drwxr-xr-x 3 root root 26 Jun 16 12:12 share/
guest@porteus:~$ ls -l /mnt/loop/var
total 0
drwxr-xr-x 4 root root 37 Jun 16 12:14 cache/
drwxr-xr-x 7 root root 79 Jun 16 12:12 lib/
drwxr-xr-x 2 root root 6 Jun 16 12:18 lock/
drwxr-xr-x 3 root root 247 Jun 16 12:13 log/
drwxr-xr-x 3 root root 18 Jun 16 12:12 spool/
guest@porteus:~$
I know you said you had enough but maybe this mini log of what I just did may help.brokenman wrote:Anything else you need?
No. That should be enough.
Code: Select all
1. Booted porteus 3.2 rc3 x86_64 Cinnamon ISO
AF mode, no extramods, no changes
Porteus save file manager
Created new 256MB save file.
2. ReBooted porteus 3.2 rc3 x86_64 Cinnamon ISO
AF mode, no extramods
changes=EXIT
Menu > Preferences > Date & Time > 24 hr clock > off
3. ReBooted porteus 3.2 rc3 x86_64 Cinnamon ISO
AF mode, no extramods
changes=EXIT
Logon screen for guest
entered password for guest
Logon screen for guest reappeared
Changed logon to root
System came up but clock is displaying 24 hr format.
It good for GUI variant, but not for 'Text mode'brokenman wrote:No. Can you give me example of this (these) command(s)?
It depends which desktop but look in the terminal menus for changing the encoding. In xfce4 it is 'Terminal/Set Encoding'
Code: Select all
cyr ru alt_shift_toggle --style=sans --size 16 -e utf-8