Try to run X on the android tablet natively without VNC.

Paul aziuk.p at onet.pl
Mon Sep 3 20:23:08 UTC 2018


Hi,

could anyone explain me some internals of the X server especially the 
moment of shutting down.

I try to install the Debian armel distro with X11 on the Lenovo Tab2 
a7-10f tablet without using the vnc, the XServer XSDL or any other 
remote desktop solutions.

Inspired by the tutorials:

https://blog.hamal.in/?p=15

https://www.youtube.com/watch?v=t2yj8QYoBhA&list=PLcUid3OP_4OX9q80EIEAWsolQV5cr6RQx&index=4

I successfully stopped the media/zygote/surfaceflinger services and in 
the chroot environment I started the xserver. The first problem was that 
there was no tty0 available (supposed the kernel was compiling without 
CONFIG_VT=y).

After linking /dev/null with tty0
/
//ln -s /dev/null /dev/tty0/

and restarting the xserver, there was a complaint about the 
inappropriate ioctl for device.

With this option, the server starts without problems:

/X -sharevts vt0/

but, the display remains black.

Next I do as follows:

  * startlxde (no screen output),
  * stop lxde (no screen output),
  * stop xserver - on the tablet display the last frame from the desktop
    session appears.



Same behaviour when I do cat /dev/urandom > /dev/fb0 with the running 
xserver and then stopping them (gray pixels shows up).

So my questions:

  * Where exactly, in this particular example, the X sends the 'last'
    frame when it shuts down? I mean, is this a file in /dev/ folder?
  * Is it possible to start the xserver and redirect the "graphic
    stream" directly to that place so I could see the working desktop
    environment on the tablet (without access to the tty0 )?


X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[  8516.256] Build Operating System: Linux 4.9.0-7-armmp-lpae armv7l Debian
[  8516.257] Current Operating System: Linux localhost 3.4.67 #1 SMP 
PREEMPT Frii
  Dec 11 22:20:29 CST 2015 armv7l
[  8516.257] Kernel command line: console=ttyMT0,921600n1 vmalloc=496M 
slub_max__
order=0 lcm=1-nt51012_hd720_dsi_vdo fps=8941 vram=14680064 emmc_id=21 
ddr_id=0 bb
ootprof.pl_t=2053 bootprof.lk_t=1578 printk.disable_uart=1 boot_reason=4 ~Y
[  8516.258] Build Date: 17 August 2018  08:05:00PM
[  8516.258] xorg-server 2:1.20.1-1 (https://www.debian.org/support)
[  8516.258] Current version of pixman: 0.34.0



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20180903/d23154b9/attachment.html>


More information about the xorg mailing list