You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that xserver-xsdl sets the -nolisten unix X server option by default.
I suppose this is done because the X server (any X server) hardcodes the unix domain socket to /tmp/.X11-unix/X<n>, and by default on android /tmp is not available + / is mounted read-only + a non rooted device has no write permission outside it's app folder.
"local" connections are still available through the abstract domain socket @/tmp/.X11-unix/X<n> (that is the "-listen local" X server option which is on by default)
I have a rooted device so to workaround the issue I did the following:
added "-listen unix" from the app configuration
before starting xserver-xsdl from my scripts, i temporarily mount / as rw, symlink /data/data/x.org.server/files/tmp to /tmp
once xserver-xsdl is up i bind mount /data/data/x.org.server/files/tmp/.X11-unix to the container's /tmp
Wouldn't it be convenient to allow xserver-xsdl to create the unix domain socket in /data/data/x.org.server/files/tmp instead? A rooted device is still needed but at least it would not require somewhat dangerous tricks to make it work
Bye
The text was updated successfully, but these errors were encountered:
Hi,
I noticed that xserver-xsdl sets the
-nolisten unix
X server option by default.I suppose this is done because the X server (any X server) hardcodes the unix domain socket to
/tmp/.X11-unix/X<n>
, and by default on android/tmp
is not available +/
is mounted read-only + a non rooted device has no write permission outside it's app folder."local" connections are still available through the abstract domain socket
@/tmp/.X11-unix/X<n>
(that is the"-listen local"
X server option which is on by default)I have a rooted device so to workaround the issue I did the following:
"-listen unix"
from the app configuration/
asrw
, symlink/data/data/x.org.server/files/tmp
to/tmp
/data/data/x.org.server/files/tmp/.X11-unix
to the container's/tmp
Wouldn't it be convenient to allow xserver-xsdl to create the unix domain socket in
/data/data/x.org.server/files/tmp
instead? A rooted device is still needed but at least it would not require somewhat dangerous tricks to make it workBye
The text was updated successfully, but these errors were encountered: