Discussion:
XORG and Dummy driver compatible with Android
Mgr. Janusz Chmiel
2018-11-14 15:13:00 UTC
Permalink
Please does somebody of us know if there is AN hack, which will allow Me
to run X11 based apps on Android operating system, which would use XORG
as X server?
I have heart, that booting Linux kernel directly from SD cart for
example from rooted Android device can cause touching display damage if
somebody will try to run startx command from rooted system, because XORG
perhaps uses some monitor calibration, which may be can damage touching
display on Android devices.
Because I do not see at all, display output quality or usability is not
important for Me. I only need that communication between app and XORG
will run at software level.
Or is it not possible?
I can use Orca screen reader and several GTK apps at The same time
thanks to Proot, Termux. But I would be much more happy, if I would be
able to use native Linux XORG instead of complex communication between
Xserver XSDL which run on Android native C code and Termux session.
Some instructions are very welcomed.
I can use Xserver for ARMHF or for ARM64 CPu architectures.
Thank you very much for yours advices.

_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/
Ilya Anfimov
2018-11-19 09:20:17 UTC
Permalink
Please does somebody of us know if there is AN hack, which will allow Me to
run X11 based apps on Android operating system, which would use XORG as X
server?
I have heart, that booting Linux kernel directly from SD cart for example
from rooted Android device can cause touching display damage if somebody
will try to run startx command from rooted system, because XORG perhaps uses
some monitor calibration, which may be can damage touching display on
Android devices.
Because I do not see at all, display output quality or usability is not
important for Me. I only need that communication between app and XORG will
run at software level.
Or is it not possible?
Good day. In a fresh termux, there is an x11-repo package,
that adds a repository https://termux-x11.ml with X tools and libraries.

There is xorg-server-xvfb package, with the Xvfb binary,
that does exactly what you want.

(Note: as usual, openssl dependency was forgotten there.
Install and/or upgrade openssl to run it).
I can use Orca screen reader and several GTK apps at The same time thanks to
Proot, Termux. But I would be much more happy, if I would be able to use
native Linux XORG instead of complex communication between Xserver XSDL
which run on Android native C code and Termux session.
Some instructions are very welcomed.
I can use Xserver for ARMHF or for ARM64 CPu architectures.
Thank you very much for yours advices.
_______________________________________________
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subs
Mgr. Janusz Chmiel
2018-11-19 09:58:00 UTC
Permalink
Dear MR Anfimov,
Thank you very much for yours professional support.
But I AM sad, that external keyboard may be could not be used from AN x
running app.
When I will type
export DISPLAY=:0
on Debian executed by using Proot, do you think, that Debian would be
able to communicate with Xserver whichwill run on Termux?
Because Pulseaudio can be used by this way without issues.

It would be ideal solution. I would like to publicly thank all engaged C
and C++ language programmers, who are making specific source code
modifications so even XORG can be used on Termux environment.
Without yours hard work, Linux on Android would stay to be only Illusion
and not The reality.

Termux have significantly changed my life. Because I Am able to use
sound without distortion and system instability. And fortunately, there
are many GTK compatible applications, which do not create shared memory
files or shared executable stack.
Those apps including mate-control-center, many GTK window managers and
even Pulseaudio havebuild in techniques to use normal memory pool
instead of shared memory pool. Sure, developers have much more work to
adapt their sources to support both modes.

_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your
Ilya Anfimov
2018-11-19 10:57:18 UTC
Permalink
On Mon, Nov 19, 2018 at 10:58:00AM +0100, Mgr. Janusz Chmiel wrote:

Good day.
Post by Mgr. Janusz Chmiel
Dear MR Anfimov,
Thank you very much for yours professional support.
But I AM sad, that external keyboard may be could not be used from AN x
running app.
Cannot say much about keyboard support in Xvfb. In general, key-
board would be disabled by default, but anything Xorg can support
can be enabled in config.
I don't know whether this android port supports any keyboard in-
put from android libraries...
Post by Mgr. Janusz Chmiel
When I will type
export DISPLAY=:0
on Debian executed by using Proot, do you think, that Debian would be able
to communicate with Xserver whichwill run on Termux?
I have never used Proot, so don't know exactly. The DISPLAY=:0
requires common /tmp directory -- if it is, then probably yes,
this will work.

Anyway, if DISPLAY=:0 is not usable -- you always can enable
tcp/ip (remove -nolisten tcp from startup scripts) and connect to
127.0.0.1:0


_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listi
Mgr. Janusz Chmiel
2018-11-19 17:13:41 UTC
Permalink
aaaUnfortunately, Display =:0 do not work.
Please, which script and where is located so I can remove
nolisten tcp

I AM getting The following error related to Keyboard, but it shouldnot
be fatal.
Warning:          Unsupported high keycode 372 for name <I372> ignored
                   X11 cannot support keycodes above 255
But I Am afraid, that because running GTK app willnot create separate
Android sub window, I will not be able to control active X app from
external keyboard connected to Android evice.


_______________________________________________
***@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription addre

Loading...