[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Try to run X on the android tablet natively without VNC.
From:       Paul <aziuk.p () onet ! pl>
Date:       2018-09-03 20:23:08
Message-ID: be0d43a8-b3fe-17b1-2b2a-19d9719ac2c0 () onet ! pl
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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




[Attachment #5 (text/html)]

<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&amp;list=PLcUid3OP_4OX9q80EIEAWsolQV \
5cr6RQx&amp;index=4">https://www.youtube.com/watch?v=t2yj8QYoBhA&amp;list=PLcUid3OP_4OX9q80EIEAWsolQV5cr6RQx&amp;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 &gt; /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>


[Attachment #6 (text/plain)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic