View Single Post
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#198
@levone1
I've checked my install on the device and still can start the desktop distro. (SFOS 4.1)
I slightly needed to amend the script that I wrote to start it because the installed Waydroid interferes with the Debian container.

If you run the following commands in a terminal, you should be able to start the Desktop distro: (my container name is Debian, so I use this in the example, you can replace it with your container name)

Before you do this, please ensure the container is not running!

1. Start the container:
sudo lxc-start -n Debian -d &
(or start it with devel-su if you don't have sudo installed)
2. Start the compositor in landscape mode:
/usr/bin/qxcompositor --wayland-socket-name "../../display/wayland-container-0" &
or in portrait:
/usr/bin/qxcompositor -o portrait --wayland-socket-name "../../display/wayland-container-0" &
3. finally attach the container and start the distro:
sudo lxc-attach -n Debian -- /mnt/guest/start_desktop.sh 0 &

(I've made a script that is doing all in one go, so that can be used as an icon on the app drawer.)
 

The Following 4 Users Say Thank You to edp17 For This Useful Post: