puavo-org / puavo-os

Puavo OS is an disk image based operating system that is built from Debian GNU/Linux and is specifically designed for learning.
https://puavo.org
GNU General Public License v2.0
13 stars 7 forks source link

Wine applications in guest mode #614

Closed ralf-krause closed 1 year ago

ralf-krause commented 1 year ago

Hi, in Magdeburg a lot of schools are using the application Fuxnoten to write the school reports. Fuxnoten is a Windows application.

We have the following setting. The Fuxnoten application to write the school reports is on an usb stick in a crypted folder. The encryption is done with Cryptomator. Cryptomator should be on every Puavo laptop ... it's configured for all devices in Magdeburg. When the Fuxnoten folder is decrypted then the user should start the Fuxnoten application from this folder.

I tested it with some test accounts on different Puavo devices. Yes, it works fine and it's great!

When I try to start the Fuxnoten application in guest mode it does not work. Is this an issue for the guest mode? I think that currently no Windows application will start in guest mode. Or is this a feature because nobody should be able to run Windows applications in guest mode?

Best regards, Ralf

Mazhoon commented 1 year ago

In general they definitely should, and in my experience, do work. (I do most of my Wine-related testing on guest account, to get a fresh testing environment with re-login.) If it's only Fuxnoten and other software run from USB sticks, my initial guess would be that it's somehow related to decrypted folder's or USB stick's permissions (these are cases I don't think I have ever tested running Wine on).

ralf-krause commented 1 year ago

I started Puavo in guest mode again. I put in the stick and decrypted the folder. I moved the decrypted folder to the Puavo desktop. Then I tried to start the Fuxnoten application from the desktop ... not from the Cryptomator device. The Wine application loaded some things from anywhere to configure itself. And then I got an error message "Error: No files to zip!".

When I logged in with any demo user the Fuxnoten application starts with Wine from the desktop or from the decrypted Cryptomator folder on the usb stick. It works and there seems to be no problem.

I you want to test the demo files yourself you can download and try it. The Cryptomator password is 1234567ABC.

Mazhoon commented 1 year ago

Okay, thank you! I can reproduce as described. Interesting. I didn't yet see an explanation for this, but I'll have a deeper look later.

Mazhoon commented 1 year ago

Okay, I inspected more. On a real account, Erfassungsmodul_01A/erfassungsmodul_fuxmedia.exe: "Error - no files to zip!" Erfassungsmodul_02A/erfassungsmodul_fuxmedia.exe: Starts and everything seems ok. On guest account Erfassungsmodul_01A/erfassungsmodul_fuxmedia.exe: "Error - no files to zip!" Erfassungsmodul_02A/erfassungsmodul_fuxmedia.exe: Starts and everything seems ok.

Mazhoon commented 1 year ago

Closing this one, as based on my tests (previous message) the problem was not related to guest account, but one test dataset being functional (on both guest and normal accounts) and one not working with either. Please do comment if you observe any different behaviour.