I am trying to run X on an unrooted Moto Z Play. For that I installed GNURoot which is running a limited version of Debian. One of the limits is that I can't access /dev
. This causes startx
and also xinit
to fail, because it can't access /dev/tty*
.
Is there any way to start X without that access?
On my old (rooted) phone, I was running Linux Deploy, which shared its desktop via VNC. Is anything similar possible without root and with the SELinux limitations in place?
Edit: I don't want X to access the phone's display hardware, I only want it to be available via VNC so I can access it via a VNC app pointed to localhost
.