maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Full linux distros on Sailfish OS (https://talk.maemo.org/showthread.php?t=101080)

vaskas 2020-12-16 03:34

Re: Full linux distros on Sailfish OS
 
Hi guys, I am trying to get `debian.sh` to start from ShellEx - is there any way to work around the su requirement for lxc-attach apart from enabling passwordless execution for defaultuser in /etc/sudoers? I couldn't find an askpass program for SFOS either.

levone1 2020-12-16 10:18

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by vaskas (Post 1570505)
Hi guys, I am trying to get `debian.sh` to start from ShellEx - is there any way to work around the su requirement for lxc-attach apart from enabling passwordless execution for defaultuser in /etc/sudoers? I couldn't find an askpass program for SFOS either.

Try qCommand instead...

vaskas 2021-01-14 02:58

Re: Full linux distros on Sailfish OS
 
Has anyone been able to get the camera working in the LXC container? I bind-mounted all the video* devices and they are showing correctly in /dev but am having no luck with any applications.

levone1 2021-01-15 02:43

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by vaskas (Post 1570698)
Has anyone been able to get the camera working in the LXC container? I bind-mounted all the video* devices and they are showing correctly in /dev but am having no luck with any applications.

Which have you tried? I tried Cheese, Pinhole and Megapixels. Cheese starts and gives "no device found", Pinhole starts but gives error "viewfinder is not in ready state", and Megapixels won't start, shows error in terminal about "...no config file".

Can you tell me the proper mount command for video devices? Attempting 'ls -ltr /dev/video*' gives, "no such file or directory" ...

vaskas 2021-02-17 03:41

Re: Full linux distros on Sailfish OS
 
I added the following lines into my /var/lib/lxc/Debian/config:

lxc.cgroup.devices.allow = c 81:* rwm
lxc.mount.entry = /dev/video0 dev/video0 none bind,create=file 0 0
lxc.mount.entry = /dev/video1 dev/video1 none bind,create=file 0 0
lxc.mount.entry = /dev/video2 dev/video2 none bind,create=file 0 0
lxc.mount.entry = /dev/video32 dev/video32 none bind,create=file 0 0
lxc.mount.entry = /dev/video33 dev/video33 none bind,create=file 0 0

I can see the devices inside the container's /dev. But none of the apps seem to be able to work with them.

mibry 2021-03-10 20:27

Re: Full linux distros on Sailfish OS
 
Hi,

lurker of the forums here, I upgraded my phone 4.0.1.48, tried to use harbour-containers without success. The xwayland display failed to start. I have not tried to trouble start as of yet.

mosen 2021-03-11 01:14

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by mibry (Post 1571179)
Hi,

lurker of the forums here, I upgraded my phone 4.0.1.48, tried to use harbour-containers without success. The xwayland display failed to start. I have not tried to trouble start as of yet.

Welcome mibry!

Since you are in devel waters it is best to first ask Adam in person on Telegram how (and wether) to update at all ;)

@bundyo might have advise since he upgraded to 4.0.1 very early successfully. He needed to manually downgrade some packages afair.
Adams Proš related Telegram group again:
https://t.me/sfos_user_pro1

mibry 2021-03-11 04:41

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by mosen (Post 1571180)
Welcome mibry!

Since you are in devel waters it is best to first ask Adam in person on Telegram how (and wether) to update at all ;)

@bundyo might have advise since he upgraded to 4.0.1 very early successfully. He needed to manually downgrade some packages afair.
Adams Proš related Telegram group again:
https://t.me/sfos_user_pro1

Thanks, I reflashed my pro1 back to 3.4.

mibry 2021-03-19 22:51

Re: Full linux distros on Sailfish OS
 
Is there any plans to update for sailfish 4 without having to downgrade RPM's?

Thanks in advance.

Bundyo 2021-03-21 21:28

Re: Full linux distros on Sailfish OS
 
I didn't downgrade - just some packages changed naming, so I had to do that before upgrading. Not sure, but I think in testing there's no need to manually do that anymore. You can ask Adam in the Telegram chat.


All times are GMT. The time now is 21:18.

vBulletin® Version 3.8.8