Page 1 of 1

(Solved) Not saving in v2.0 xfce, no flash for youtube

Posted: 06 Apr 2013, 20:06
by Sagittarius
I have different frugal installations for Porteus on my HD:

Version 1.2 xfce works fine, saves changes and updates. Flash for youtube videos work.

Version 2.0 xfce is not saving updates or changes. Flash does not work.

My menu.lst entry:

title Porteus-XFCE-v2.0
kernel (hd0,0)/Porteus-XFCE-v2.0/boot/syslinux/vmlinuz from=/Linux_ISO/Porteus-XFCE-v2.0-i486.iso noswap kmap=es extramod=/mnt/sda1/Porteus-XFCE-v2.0/porteus/optional login=root
initrd=(hd0,0)/Porteus-XFCE-v2.0/boot/syslinux/initrd.xz
boot

- chromium-25.0.1323.1-i686-1sl.xzm loads from /porteus/optional
- PPM is configured to save to /mnt/sda1/Porteus-XFCE-v2.0/porteus/modules
- save.dat file is in /mnt/sda1/Porteus-XFCE-v2.0 - porteus.cfg edited manually (edit porteus.cfg is not working from PSC) but anything on the desktop disappears at next boot
- Updater for PSC is saving to /opt/isoloop/porteus/modules

I've moved the downloaded updated file 008-firefox_130309-alldesktops.xzm to rootcopy but it's not being loaded. It's still using FF v18.0.2.

I have another old computer with a dead HD so I boot that up with a live CD with version 2.0 Razor and that plays Flash okay.

What am I doing wrong in order to be able to update, save changes and be able to use Adobe Flash?

Re: Not saving in v2.0 xfce, no flash for youtube

Posted: 06 Apr 2013, 20:52
by brokenman
PPM is configured to save to /mnt/sda1/Porteus-XFCE-v2.0/porteus/modules
This folder is for modules only. Any modules put here should be activated at boot without any change in PPM

I've moved the downloaded updated file 008-firefox_130309-alldesktops.xzm
Move it to the above modules folder.

Can you please run from root console: chmod 777 /tmp and check flash again?
If it still doesn't work, start your browser from a console and check for any error output when watching flash.

Updater for PSC is saving to /opt/isoloop/porteus/modules
Not sure what you mean by 'PSC is saving to' but you should be saving somewhere outside the live file system. /opt/isoloop/porteus sounds to me like a live filesystem?

Re: Not saving in v2.0 xfce, no flash for youtube

Posted: 06 Apr 2013, 21:45
by fanthom
@brokenman
Sagittarius is booting from ISO image (from=/Linux_ISO/Porteus-XFCE-v2.0-i486.iso) that's why some things are working differently (will explain everything).

@Sagittarius
- save.dat file is in /mnt/sda1/Porteus-XFCE-v2.0 - porteus.cfg edited manually (edit porteus.cfg is not working from PSC) but anything on the desktop disappears at next boot
your menu.lst tells me that you are using grub as bootloader, that's why you should put 'changes=/mnt/sda1/Porteus-XFCE-v2.0/save.dat' cheatcode to menu.lst and not porteus.cfg. this should make your changes persistent.
btw: PSC wont be able to edit porteus.cfg as you are booting from read-only iso image.
Updater for PSC is saving to /opt/isoloop/porteus/modules
/opt/isoloop is a folder inside initrd where ISO image was mounted (to be able to find .sgn file, access modules from /base, etc). Updater is confused in this case, should display a warning that destination is read-only and exit or suggest using of extramod folder (that would cover the case when porteus is booted from ro media).
for now you'll have to download updates manually from:
http://ponce.cc/porteus/i486/testing/updates/
and place them in your extramod folder.
I've moved the downloaded updated file 008-firefox_130309-alldesktops.xzm to rootcopy but it's not being loaded.
/rootcopy is for files and folders not modules. as pointed by brokenman - please move it to your 'extramod=' folder and should work (you could also add 'noload=008-firfox.xzm' cheatcode so old version of firefox included in the ISO would not be loaded during boot)

not sure about the flash. did you test it in firefox or chromium?

Re: Not saving in v2.0 xfce, no flash for youtube

Posted: 06 Apr 2013, 21:56
by brokenman
Thanks Fanthom. Missed the iso boot. I'll have a look at the updater and fix this bug.

Re: Not saving in v2.0 xfce, no flash for youtube

Posted: 07 Apr 2013, 22:10
by Sagittarius
@Brokenman, I ran chmod 777 /tmp from root console but flash still didn't work. I ran FF from a console and same happened, no error output.

The strange thing is that, as I mentioned in previous post, flash works booting from the live CD of Razor. Well, I also have an clean, untouched frugal installation of Razor I extracted to this computer but flash does not work here! This frugal install also boots from the iso image, like version xfce, maybe that's something to do with the problem.

@fanthom, thanks for all your explanations: I'm now on the updated Firefox and it's saving changes.

As for flash, it happens for both FF and Chromium, the latter says "couldn't load plugin". In FF the video just goes black when you press the play button.

Re: Not saving in v2.0 xfce, no flash for youtube

Posted: 08 Apr 2013, 16:35
by Ahau
Hi Sagittarius,

I'm wondering if your hardware might be making the difference for flash -- it might run on one computer but not the other, depending on the processor (SSE2 instructions if I recall correctly), see here: http://forum.porteus.org/viewtopic.php? ... 2&start=15. You might consider downgrading flashplayer. I have some modules for the older versions here:

32-bit: http://porteus-xfce.googlecode.com/file ... 1_Ahau.xzm
64-bit: http://porteus-xfce.googlecode.com/file ... 1_Ahau.xzm

If you are booting from an iso image, you could load the appropriate flash module with the 'extramod' cheatcode, or you could remaster your iso image to include it inside /porteus/modules.

I hope that helps!

Re: Not saving in v2.0 xfce, no flash for youtube

Posted: 08 Apr 2013, 19:02
by Sagittarius
Hi Ahau, that was bang on! Sorry, I forgot I had the same problem before with Porteus 1.2. All is good now and you guys rock :D