06-21-2020, 12:17 PM
I'm using the recent release 53 and am having trouble getting X windows applications to display. When I try to run Xmir, it errors saying Failed to Connect to Mir. I tried variants of DISPLAY=:0, DISPLAY=:1, DISPLAY=:2, and DISPLAY=. The error is:
When I do ps, there appears to be a MirAgent running with a socket in /var/run/user/32011/mir_socket_trusted but passing that for Xmir -mirSocket doesn't help. I also saw /run/mir_socket in pas but passing that doesn't work either. Incidentally, neither mir_socket nor mir_socket_trusted actually exist as files at those paths.
I'm stuck. Is Mir running? Should Xmir be able to connect to it? How do we get it working.
Some notes to get to where I am. On a fresh UBports install of release 53:
(1) Xmir was failing because it couldn't find libGL. So I added the /usr/lib/aarch64-linux-gnu/mesa to /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf and ran sudo ldconfig. Then Xmir was able to get beyond the libGL missing error to the error I'm getting now.
(2) libertine via wasn't starting/creating a container from Settings. So I apt installed lxc lxd and python3-libertine-chroot, and created a container (to create I used the loopback ssh localhost trick). I was then able to use the Settings interface to install gedit and x11-apps. But libertine-launch fails, saying Xmir is not running on DISPLAY.
Any help would be greatly appreciated.
FYI under Debian phosh and plasma-mobile I was able to run x11 apps just from the terminal, it would be great if something like this were possible from Ubuntu Touch.
Thank you,
Saliency
Quote:Fatal server error:
(EE) Failed to connect to Mir: Failed to connect to server socket: No such file or directory
When I do ps, there appears to be a MirAgent running with a socket in /var/run/user/32011/mir_socket_trusted but passing that for Xmir -mirSocket doesn't help. I also saw /run/mir_socket in pas but passing that doesn't work either. Incidentally, neither mir_socket nor mir_socket_trusted actually exist as files at those paths.
I'm stuck. Is Mir running? Should Xmir be able to connect to it? How do we get it working.
Some notes to get to where I am. On a fresh UBports install of release 53:
(1) Xmir was failing because it couldn't find libGL. So I added the /usr/lib/aarch64-linux-gnu/mesa to /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf and ran sudo ldconfig. Then Xmir was able to get beyond the libGL missing error to the error I'm getting now.
(2) libertine via wasn't starting/creating a container from Settings. So I apt installed lxc lxd and python3-libertine-chroot, and created a container (to create I used the loopback ssh localhost trick). I was then able to use the Settings interface to install gedit and x11-apps. But libertine-launch fails, saying Xmir is not running on DISPLAY.
Any help would be greatly appreciated.
FYI under Debian phosh and plasma-mobile I was able to run x11 apps just from the terminal, it would be great if something like this were possible from Ubuntu Touch.
Thank you,
Saliency