<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
could anyone explain me some internals of the X server especially
the moment of shutting down.<br>
<br>
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.<br>
<br>
Inspired by the tutorials:<br>
<br>
<a class="moz-txt-link-freetext" href="https://blog.hamal.in/?p=15">https://blog.hamal.in/?p=15</a><br>
<br>
<a class="moz-txt-link-freetext" href="https://www.youtube.com/watch?v=t2yj8QYoBhA&list=PLcUid3OP_4OX9q80EIEAWsolQV5cr6RQx&index=4">https://www.youtube.com/watch?v=t2yj8QYoBhA&list=PLcUid3OP_4OX9q80EIEAWsolQV5cr6RQx&index=4</a><br>
<br>
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).<br>
<br>
After linking /dev/null with tty0<br>
<i><br>
</i><i>ln -s /dev/null /dev/tty0</i><br>
<br>
and restarting the xserver, there was a complaint about the
inappropriate ioctl for device.<br>
<br>
With this option, the server starts without problems:<br>
<br>
<i>X -sharevts vt0</i><br>
<br>
but, the display remains black.<br>
<br>
Next I do as follows:<br>
<br>
<ul>
<li>startlxde (no screen output),</li>
<li>stop lxde (no screen output),</li>
<li>stop xserver - on the tablet display the last frame from the
desktop session appears.</li>
</ul>
<br>
<br>
Same behaviour when I do cat /dev/urandom > /dev/fb0 with the
running xserver and then stopping them (gray pixels shows up).<br>
<br>
So my questions:<br>
<br>
<ul>
<li>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?</li>
<li>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 )?</li>
</ul>
<br>
X.Org X Server 1.20.1<br>
X Protocol Version 11, Revision 0<br>
[ 8516.256] Build Operating System: Linux 4.9.0-7-armmp-lpae armv7l
Debian<br>
[ 8516.257] Current Operating System: Linux localhost 3.4.67 #1 SMP
PREEMPT Frii<br>
Dec 11 22:20:29 CST 2015 armv7l<br>
[ 8516.257] Kernel command line: console=ttyMT0,921600n1
vmalloc=496M slub_max__<br>
order=0 lcm=1-nt51012_hd720_dsi_vdo fps=8941 vram=14680064
emmc_id=21 ddr_id=0 bb<br>
ootprof.pl_t=2053 bootprof.lk_t=1578 printk.disable_uart=1
boot_reason=4 ~Y<br>
[ 8516.258] Build Date: 17 August 2018 08:05:00PM<br>
[ 8516.258] xorg-server 2:1.20.1-1 (<a class="moz-txt-link-freetext" href="https://www.debian.org/support">https://www.debian.org/support</a>)<br>
[ 8516.258] Current version of pixman: 0.34.0 <br>
<br>
<br>
<br>
</body>
</html>