Page 4 of 10

Re: Porteus-v3.2rc3 Bug Reports

Posted: 14 Jun 2016, 02:35
by wread
Hi Jay!
I tried the kde5 version in VB, it is a good start; some files still missing.

Besides, kde people moved some files to other places.... for instance Porteus service menus should live now in /usr/share/kservices5 (dolphin right-click menues). Others you have already noticed..

Regards!

Re: Porteus-v3.2rc3 Bug Reports

Posted: 14 Jun 2016, 02:37
by brokenman
Mind if I merge some of this Bogomips? I could use it to add an automatic ISO update feature. That is, when there are base modules to update, a person booting from an ISO could have their ISO remastered automatically. So Ed_P I have to retract my statement about why Porteus doesn't care about where it booted from in the case of an ISO.

Thanks for the info Wread.

Re: Porteus-v3.2rc3 Bug Reports

Posted: 14 Jun 2016, 05:24
by Ed_P
:friends:
Bogomips wrote:@Ed_P

Code: Select all

guest@porteus:~$ cat /var/log/porteus-iso-data 
/mnt/sda10/tmp/iso/rc3/x86_64/Porteus-CINNAMON-v3.2rc3-x86_64.iso
Thanks Bogomips but it doesn't work for me.

Code: Select all

guest@porteus:~$ uname -r
4.6.1-porteus
guest@porteus:~$ uname -m
x86_64
guest@porteus:~$ cat /var/log/porteus-iso-data
cat: /var/log/porteus-iso-data: No such file or directory
guest@porteus:~$ 

Code: Select all

guest@porteus:~$ ./bootdev.sh
System Memory:   173M
Boot device:   /mnt/isoloop
Boot device format: 
Boot folder:   /porteus/
Boot mode:     ISO /ISOs/Porteus-CINNAMON-v3.2rc3-x86_64.iso
OS:       Porteus-v3.2rc3
ARCH:     x86_64
Kernel:   Linux porteus 4.6.1-porteus #1
Cmdline:  quiet from=/ISOs/Porteus-CINNAMON-v3.2rc3-x86_64.iso extramod=/porteus3.2/Modules
^C
guest@porteus:~$
md5sum initrd.xz
7e2b5b43a2808e23ad58ad58f6ab4a35 initrd.xz
Not sure what you want me to do with this.

Code: Select all

guest@porteus:~$ ls /var/log/porteus-*
/var/log/porteus-livedbg
guest@porteus:~$ ls /var/log/
ConsoleKit/     debug     nfsd/              samba/    syslog
Xorg.0.log      dmesg     packages/          scripts/  wpa_supplicant.log
Xorg.0.log.old  faillog   pm-powersave.log   secure    wtmp
btmp            lastlog   porteus-livedbg    setup/
cron            maillog   removed_packages/  slim.log
cups/           messages  removed_scripts/   spooler
guest@porteus:~$ 
-edit-

Code: Select all

guest@porteus:~$ cat /var/log/syslog | grep "iso"
cat: /var/log/syslog: Permission denied
guest@porteus:~$ cat /var/log/Xorg.0.log | grep "iso"
[    15.263] Kernel command line: quiet from=/ISOs/Porteus-CINNAMON-v3.2rc3-x86_64.iso extramod=/porteus3.2/Modules
guest@porteus:~$ cat /var/log/slim.log | grep "iso"
guest@porteus:~$ cat /var/log/porteus-livedbg | grep "iso"
/mnt/isoloop
/mnt/isoloop/porteus
/mnt/isoloop/porteus/base/000-kernel.xzm
/mnt/isoloop/porteus/base/001-core.xzm
/mnt/isoloop/porteus/base/002-xorg.xzm
/mnt/isoloop/porteus/base/003-cinnamon.xzm
guest@porteus:~$ cat /var/log/cron | grep "iso"
cat: /var/log/cron: Permission denied
guest@porteus:~$ cat /var/log/dmesg | grep "iso"
[    0.000000] Command line: from=/ISOs/Porteus-CINNAMON-v3.2rc3-x86_64.iso extramod=/porteus3.2/Modules
[    0.000000] Kernel command line: quiet from=/ISOs/Porteus-CINNAMON-v3.2rc3-x86_64.iso extramod=/porteus3.2/Modules
guest@porteus:~$ 
brokenman wrote:Mind if I merge some of this Bogomips? I could use it to add an automatic ISO update feature. That is, when there are base modules to update, a person booting from an ISO could have their ISO remastered automatically.
:Yahoo!: I like the sounds of this. :good:

But why couldn't the updates be saved as part of the changes file?

Re: Porteus-v3.2rc3 Bug Reports

Posted: 14 Jun 2016, 11:28
by Bogomips
brokenman wrote:Mind if I merge some of this Bogomips? I could use it to add an automatic ISO update feature.
With pleasure, and hopefully Ed will be able to give it a full workout beforehand. Also contains the indefinite delay wait on iffy usb stick. After booting from usb it goes offline while kernel, initrd being loaded, then comes on again before initrd processing and goes off just before search for sign file. :twisted:
Ed_P wrote:
md5sum initrd.xz
7e2b5b43a2808e23ad58ad58f6ab4a35 initrd.xz
Not sure what you want me to do with this.
Test it. Replace the initrd.xz in your iso with the test initrd.xz, boot from iso with this initrd, and see if /var/log/porteus-iso data is something like the example given. If not working properly or still unsure how, open topic under Intertmediate/Advanced, and we'll progress it from there. .:friends:

Re: Porteus-v3.2rc3 Bug Reports

Posted: 14 Jun 2016, 16:28
by Blaze
@ brokenman

What about
Can you add 'manual mount' function for Nemo (Cinnamon), Caja (Mate) and, perhaps for Thunar (Xfce), Dolphin (KDE)?
Note. If possible, after manual mounting of these partitions - they are not will be displayed at the desktop of these file managers.
Image
^^^Please look at this picture^^^
?

/etc/modprobe.d/blacklist.conf with

Code: Select all

blacklist nouveau
blacklist vga16fb
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
does not helped me with Cinnamon.
Cinnamon just crashed. You are currently running in Fallback Mode. Yes/No.
Damn!

Please add USM-3.2-Russian-Localization-by-Blaze.7z (mirror) to the next release of Porteus.

Re: Porteus-v3.2rc3 Bug Reports

Posted: 14 Jun 2016, 19:05
by Ed_P
Bogomips wrote:Replace the initrd.xz in your iso with the test initrd.xz, boot from iso with this initrd, and see if /var/log/porteus-iso data is something like the example given. If not working properly or still unsure how, open topic under Intertmediate/Advanced, and we'll progress it from there. .:friends:
Continued here: http://forum.porteus.org/viewtopic.php?f=140&t=5953

Re: Porteus-v3.2rc3 Bug Reports

Posted: 15 Jun 2016, 02:18
by brokenman
But why couldn't the updates be saved as part of the changes file?
I'd prefer to stay away from changes folders/files as these are largely user centric. If I don't mess with it I can leave it out of the equation. Changes files can be a real headache. Also if just the base modules are updated then these changes can be easily rolled back.

Blaze, if you find out what makes those little triangle things that allow mount/unmount I'd like to know.

Thanks Bogomips, I'll stick with the ISO code for now until I can read through the USB thing.

Re: Porteus-v3.2rc3 Bug Reports

Posted: 15 Jun 2016, 07:24
by ncmprhnsbl
RE: device visability in nemo(and others?) ...
a usb device(fat) added after bootup appears as it should and can be unmounted..
any(or maybe only POSIX?) device or partition present when booted does not..
tried out the gvfs-partition-toggle script from nemesis and this makes a partition visible
but cannot be unmounted by guest user via eject button..

Re: Porteus-v3.2rc3 Bug Reports

Posted: 15 Jun 2016, 17:54
by Blaze
Bug report.

It has long been observed that in the text mode Russian alphabet (сyrillic) appears as follows:

Image

Image

Image

I tested it with Russian localization 010-locales-ru-utf8-noarch-2b1.xzm by PaulBy

Anybody knows how to fix it?
brokenman wrote:Blaze, if you find out what makes those little triangle things that allow mount/unmount I'd like to know.
Run dconf-editor and browse to org -> cinnamon -> desktop - media-handling -> check automount
Image
Image
Image
BTW, look at the left corner of this picture - Super Flat Remix have 2 missing icons.

About Bookmarks in Nemo (Cinnamon). You can omit this step. I think that user will add necessary bookmarks in Nemo.
You are need to create bookmarks file at ~/.config/gtk-3.0 directory (where ~ it's guest and root directories)

for guest account

Code: Select all

file:///home/guest/Documents Documents
file:///home/guest/Downloads Downloads
file:///home/guest/Music Music
file:///home/guest/Pictures Pictures
file:///home/guest/Videos Videos     
for root account

Code: Select all

file:///root/Documents Documents
file:///root/Downloads Downloads
file:///root/Music Music
file:///root/Pictures Pictures
file:///root/Videos Videos     
example 1

Code: Select all

guest@porteus:~$ cat ~/.config/gtk-3.0/bookmarks
file:///home/guest/Documents Documents
file:///home/guest/Downloads Downloads
file:///home/guest/Music Music
file:///home/guest/Pictures Pictures
file:///home/guest/Videos Videos
guest@porteus:~$ 
example 2

Code: Select all

root@porteus:~# cat ~/.config/gtk-3.0/bookmarks
file:///root/Documents Documents
file:///root/Downloads Downloads
file:///root/Music Music
file:///root/Pictures Pictures
file:///root/Videos Videos
root@porteus:~# 
I don't know, but you can to run

Code: Select all

xdg-user-dirs-update
after this command you will recive this file user-dirs.dirs + at home folder of guest and root will be made these folders Public and Templates

Code: Select all

root@porteus:~# cat ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
root@porteus:~#   

Re: Porteus-v3.2rc3 Bug Reports

Posted: 15 Jun 2016, 21:56
by upv
Porteus-v3.2rc3 Bug
root@porteus:/home/guest# amixer set 'Auto-Mute Mode' Disabled
ALSA lib control.c:843:(snd_ctl_open_conf) Invalid type for CTL default definition
amixer: Mixer attach default error: Invalid argument
root@porteus:/home/guest# alsamixer
ALSA lib control.c:843:(snd_ctl_open_conf) Invalid type for CTL default definition
cannot open mixer: Invalid argument
root@porteus:/home/guest#

In Kmix unavailable mixers except "build-in audio analog stereo" and "NDA NVidia digital srereo"

Re: Porteus-v3.2rc3 Bug Reports

Posted: 15 Jun 2016, 23:48
by Bogomips
Blaze wrote:About Bookmarks in Nemo (Cinnamon). You can omit this step. I think that user will add necessary bookmarks in Nemo
  • Save nemo settings:

    Code: Select all

    dconf dump /org/nemo/ > file
  • Restore nemo settings

    Code: Select all

    dconf load /org/nemo/ < file
@ upv
ALSA no longer in control, all Pulse Audio now. However PulseAudio will honour ALSA settings. So alsactl works:

Code: Select all

root@porteus:/home/guest# alsactl restore
root@porteus:/home/guest# alsactl restore
alsactl: set_control:1461: Cannot write control '2:0:0:Independent HP:0' : Device or resource busy                         

Re: Porteus-v3.2rc3 Bug Reports

Posted: 16 Jun 2016, 01:50
by brokenman
It has long been observed that in the text mode Russian alphabet (сyrillic) appears as follows:
Is this only in 32bit? Have you tried setting the character encoding in the terminal?

Re: Porteus-v3.2rc3 Bug Reports

Posted: 16 Jun 2016, 04:10
by Ed_P
Cinnamon 64bit

Use of a used save.dat file generates a logon screen for user guest. Entering the guest password simply reloads the logon screen. If I change the user id to root the system boots.

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/.
Firefox wasn't run.

The guest logon loops.

Re: Porteus-v3.2rc3 Bug Reports

Posted: 16 Jun 2016, 04:37
by ncmprhnsbl
@Ed_P
as brokenman says ... maybe guest permissions.. log in to root and check who owns /home/guest

Code: Select all

ls -l /home

Re: Porteus-v3.2rc3 Bug Reports

Posted: 16 Jun 2016, 05:12
by Ed_P
^

Code: Select all

root@porteus:~# ls -l /home
total 0
drwxr-xr-x 25 root root 80 Jun 16 01:03 guest/
root@porteus:~# 
And is that because I am logged on now as root or because Porteus saved /home that way when I was logged on as guest?

More importantly, can it be fixed?

Code: Select all

root@porteus:~# su guest
guest@porteus:/root$ ls -l home
/bin/ls: cannot access 'home': Permission denied
guest@porteus:/root$ ls -l home/guest
/bin/ls: cannot access 'home/guest': Permission denied
guest@porteus:/root$