View Single Post
Posts: 14 | Thanked: 28 times | Joined on May 2021
#163
Originally Posted by levone1 View Post
Does 'attach' work?...
Thanks for your help - but I'm still not getting anywhere - more than likely me just doing things wrong.

If someone wouldn't mind checking my process over, I'd be very grateful. This is what I did from the very beginning:

In a terminal I ran:
Code:
zypper in nemo-qml-plugin-dbus-qt5 sailfish-polkit-agent python3-base python3-gobject dbus-python3
Then installed lxc-templates-desktop, qxdisplay, and harbour-containers.
I swapped the daemon.py file out and made it executable.
I installed Debian Sid and Kali desktops (with 'Setup desktop' selected).
They wouldn't open so I cried for a bit.

I then attached a container, and ran in a second terminal:
Code:
/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"
This opened the "waiting for xwayland" screen.

I then tried to run:
Code:
/mnt/guest/start_desktop.sh 0
But it didn't work, so I cried again, this time clutching my childhood teddy bear.
I checked /var/lib/lxc/<container_name>/config and it seemed fine (maybe what I think was fine wasn't)
I then (in an attached container) ran:
Code:
/mnt/guest/setup_desktop.sh
and
Code:
/mnt/guest/setups/debian.sh
It seemed to go through the same process as when first installing the desktops through the GUI.
I then again ran (in another terminal window):
Code:
/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"
"waiting for xwayland" screen came up, and in a new terminal window I attached a container and ran:
Code:
/mnt/guest/start_desktop.sh 0
But to no avail.

This is what stops me getting any further it seems:
Code:
could not connect to wayland server
(EE)
Fatal server error:
(EE) Couldn't add screen
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Any ideas what I'm doing wrong? I'm running 4.1.0.23 on Xperia 10. Thank you.

Last edited by spoofykid; 2021-05-27 at 02:10.
 

The Following 2 Users Say Thank You to spoofykid For This Useful Post: