spoofykid
|
2021-05-24
, 20:08
|
Posts: 14 |
Thanked: 28 times |
Joined on May 2021
|
#161
|
|
2021-05-24
, 21:23
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#162
|
Did you manage to open up the desktop? I'm running 4.1.0.23 on Xperia 10, and with Kabouik's guide I got harbour-containers running, and two desktops installed - Debian Sid and Kali - however, when I go to run them nothing happens (I start the service, and then pressing 'X session' achieves nothing). Am I doing something wrong? Thanks
/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"
/mnt/guest/start_desktop.sh 0
|
2021-05-25
, 00:59
|
Posts: 14 |
Thanked: 28 times |
Joined on May 2021
|
#163
|
zypper in nemo-qml-plugin-dbus-qt5 sailfish-polkit-agent python3-base python3-gobject dbus-python3
/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"
/mnt/guest/start_desktop.sh 0
/mnt/guest/setup_desktop.sh
/mnt/guest/setups/debian.sh
/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"
/mnt/guest/start_desktop.sh 0
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
|
2021-05-25
, 02:48
|
|
Posts: 435 |
Thanked: 684 times |
Joined on Apr 2012
@ Netherlands 020
|
#164
|
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:
Then installed lxc-templates-desktop, qxdisplay, and harbour-containers.Code:zypper in nemo-qml-plugin-dbus-qt5 sailfish-polkit-agent python3-base python3-gobject dbus-python3
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:This opened the "waiting for xwayland" screen.Code:/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"
I couldn't run '/mnt/guest/start_desktop.sh 0' as /mnt/guest didn't exist. I tried running '/usr/share/harbour-containers/scripts/guest/start_desktop.sh 0' but that couldn't find the file (dump thing to try?)
I created a guest folder in /mnt and copied everything from /usr/share/harbour-containers/scripts/guest/ into it.
I then tried to run:
But it didn't work, so I cried again, this time clutching my childhood teddy bear.Code:/mnt/guest/start_desktop.sh 0
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:andCode:/mnt/guest/setup_desktop.shIt seemed to go through the same process as when first installing the desktops through the GUI.Code:/mnt/guest/setups/debian.sh
I then again ran (in another terminal window):"waiting for xwayland" screen came up, and in a new terminal window I attached a container and ran:Code:/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"But to no avail.Code:/mnt/guest/start_desktop.sh 0
This is what stops me getting any further it seems:
Any ideas what I'm doing wrong? I'm running 4.1.0.23 on Xperia 10. Thank you.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
/bin/sh /mnt/guest/start_desktop.sh 0 root &
|
2021-05-25
, 03:24
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#165
|
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:
Then installed lxc-templates-desktop, qxdisplay, and harbour-containers.Code:zypper in nemo-qml-plugin-dbus-qt5 sailfish-polkit-agent python3-base python3-gobject dbus-python3
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:This opened the "waiting for xwayland" screen.Code:/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"
I couldn't run '/mnt/guest/start_desktop.sh 0' as /mnt/guest didn't exist. I tried running '/usr/share/harbour-containers/scripts/guest/start_desktop.sh 0' but that couldn't find the file (dump thing to try?)
I created a guest folder in /mnt and copied everything from /usr/share/harbour-containers/scripts/guest/ into it.
I then tried to run:
But it didn't work, so I cried again, this time clutching my childhood teddy bear.Code:/mnt/guest/start_desktop.sh 0
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:andCode:/mnt/guest/setup_desktop.shIt seemed to go through the same process as when first installing the desktops through the GUI.Code:/mnt/guest/setups/debian.sh
I then again ran (in another terminal window):"waiting for xwayland" screen came up, and in a new terminal window I attached a container and ran:Code:/usr/bin/qxdisplay --wayland-socket-name "../../display/wayland-container-0"But to no avail.Code:/mnt/guest/start_desktop.sh 0
This is what stops me getting any further it seems:
Any ideas what I'm doing wrong? I'm running 4.1.0.23 on Xperia 10. Thank you.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
|
2021-05-25
, 10:29
|
Posts: 14 |
Thanked: 28 times |
Joined on May 2021
|
#166
|
[root@Xperia10 defaultuser]# ls -lha /dev/pts/ total 0 drwxr-xr-x 2 root root 0 May 25 17:23 . drwxr-xr-x 23 root root 7.8K May 25 17:26 .. c--x--x--x 1 root tty 136, 0 May 25 17:56 0 crw--w---- 1 defaultu tty 136, 1 May 25 22:12 1 c--------- 1 root root 5, 2 May 25 17:23 ptmx [root@Xperia10 defaultuser]# ls -l /dev/ptmx /dev/pts/ptmx crw-rw-rw- 1 root root 5, 2 May 25 22:12 /dev/p tmx c--------- 1 root root 5, 2 May 25 17:23 /dev/p ts/ptmx [root@Xperia10 defaultuser]# zcat /proc/config.gz | grep CO NFIG_DEVPTS_MULTIPLE_INSTANCES [root@Xperia10 defaultuser]# [root@Xperia10 defaultuser]# lxc-checkconfig --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled User namespace: enabled newuidmap is not installed newgidmap is not installed Network namespace: enabled --- Control groups --- Cgroups: enabled Cgroup v1 mount points: /sys/fs/cgroup/systemd /sys/fs/cgroup/blkio /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/net_cls /sys/fs/cgroup/devices /sys/fs/cgroup/perf_event /sys/fs/cgroup/memory /sys/fs/cgroup/freezer Cgroup v2 mount points: /sys/fs/cgroup/unified Cgroup v1 clone_children flag: enabled Cgroup device: enabled Cgroup sched: enabled Cgroup cpu account: enabled Cgroup memory controller: enabled Cgroup cpuset: missing --- Misc --- Veth pair device: enabled, not loaded Macvlan: enabled, not loaded Vlan: enabled, not loaded Bridges: enabled, not loaded Advanced netfilter: enabled, not loaded CONFIG_NF_NAT_IPV4: enabled, not loaded CONFIG_NF_NAT_IPV6: enabled, not loaded CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded CONFIG_IP6_NF_TARGET_MASQUERADE: missing CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded FUSE (for use with lxcfs): enabled, not loaded --- Checkpoint/Restore --- checkpoint restore: enabled CONFIG_FHANDLE: enabled CONFIG_EVENTFD: enabled CONFIG_EPOLL: enabled CONFIG_UNIX_DIAG: enabled CONFIG_INET_DIAG: enabled CONFIG_PACKET_DIAG: enabled CONFIG_NETLINK_DIAG: enabled File capabilities: Note : Before booting a new kernel, you can check its configura tion usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
|
2021-05-25
, 11:58
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#168
|
|
2021-05-25
, 15:46
|
Posts: 35 |
Thanked: 149 times |
Joined on Jul 2011
|
#169
|
|
2021-05-25
, 19:57
|
Posts: 14 |
Thanked: 28 times |
Joined on May 2021
|
#170
|
if ([ $KVER_MAJOR -lt 4 ]) || ([ $KVER_MAJOR -eq 4 ] && [ $KVER_MINOR -lt 7 ]); then echo -n "Multiple /dev/pts instances: " && is_enabled DEVPTS_MULTIPLE_INSTANCES fi
The Following User Says Thank You to spoofykid For This Useful Post: | ||
Tags |
application, development, linux |
|