|
Page 19 of 26 |
|
Prev |
9 17 18 19
20 21
|
Next
| Last
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Quote:
Quote:
Quote:
|
Re: Full linux distros on Sailfish OS
I have no idea where the qxdisplay.desktop error comes from, I can't see a qxdisplay.desktop file being called anywhere in the lxc-templates or harbour-containers source files. I suspect it's some other UNIX tool getting in the way somewhere and automatically expecting a desktop file?
Was the container started with the LXC-attach button when you ran the following command? Code:
/usr/bin/qxdisplay -o landscape --wayland-socket-name "../../display/wayland-container-0Code:
qxdisplay -o landscape -d ../../display/wayland-container-1If your containers are not configured yet, I would indeed start fresh after destroying them and creating a new Debian Sid container. Sometimes things can break with Debian Sid because packages change fast and this version is not made to be stable (at some point the Xwayland compilation was broken for instance). However we tested a few days ago with Mosen on Pro1 and he could install Debian Sid (from CLI only using the instruction in the lxc-templates wiki for now, still issues with creating containers from GUI) and then setup the X desktop using the harbour-containers button at the bottm, and then start X with the above command. I updated the daemon.py fork, be sure to use the latest version before next attempts. |
Re: Full linux distros on Sailfish OS
Quote:
What was probably going wrong was I was running the below code as root - as when you select 'attach' in the Container GUI, and then open a new window (from that terminal window) it automatically opens the new window as root (I didn't think this would cause issues, but it obviously did). Code:
qxdisplay -o landscape -d ../../display/wayland-container-1Code:
/mnt/guest/start_desktop.sh 0Code:
[defaultuser@Xperia10 ~]$ /usr/bin/qxdisplay -o landscape --wayCode:
root@Kali:/# /mnt/guest/start_desktop.sh 0Code:
qxdisplay -o landscape -d ../../display/wayland-container-1Code:
root@Debian:/# /mnt/guest/start_desktop.sh 0 |
Re: Full linux distros on Sailfish OS
Just curious - I'm sure many have heard of the PinePhone - it has Mobian as a choice of operating system - can Mobian be installed as a container? Mobian operates well as a mobile desktop environment, and it would be great if it could be run within sailfish - Mobian is a bit easier to operate on a small screen compared to the normal desktop environment.
|
Re: Full linux distros on Sailfish OS
@spoofykid
when you have the x-wayland/qxdisplay window up. Do you then attach to the container at all from another terminal as root and execute the start_desktop.sh within the container? Code:
devel-suEdit, yeah, you did. Sorry again. |
Re: Full linux distros on Sailfish OS
@mosen
Yes, I did that multiple times. I think it was attempting to open x-wayland as root that failed for me. Though running /mnt/guest/start_desktop.sh 1 didn't work for me either - I have to run it with a '0' at the end instead of the '1' for the desktop to start. Edit: I just realised what the 1 or 0 represent, and either work for me. |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Glad you got it working, you can have fun configuring your container now!
There's still something broken with the GUI for installing containers, setting up desktop and starting X, that we'll need to investigate, but there are multiple factors that may have confounding effects so that's not going to be trivial (OS version, device model, Sid is always changing…). |
Re: Full linux distros on Sailfish OS
In case it's useful to anyone:
I install the desktop via the Containers GUI, run 'setup xsession' within the GUI, attach the container within the GUI, open a new terminal window, because it's root I run su defaultuser or if your user is nemo su nemo to get out of root, I run /usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0" from that window, minimise that and the "waiting for xwayland' windows, in the terminal window with the attached container run /mnt/guest/start_desktop.sh 0, and then finally minimise it and change to the "waiting for xwayland" window which should have the desktop running. Obviously this has all been documented, but the big one for me was exiting root using su defaultuser before running the wayland code. |
| All times are GMT. The time now is 13:00. |
Page 19 of 26 |
|
Prev |
9 17 18 19
20 21
|
Next
| Last
vBulletin® Version 3.8.8