Hallihallo,
ich trenne das jetzt einmal vom ursprünglichen Thread
https://forum.ubuntuusers.de/topic/laptop-oder-android-tablet-als-zweiter-bildsch/
ab, weil es sich doch um sehr unterschiedliche Probleme handelt.
Gern möchte ich mein altes Android-Tablet als zweiten Bildschirm nutzen, und zwar mit der Möglichkeit, Fenster zu verschieben, sprich: Andere Fenster auf dem Tablet als auf dem Dektop-Monitor.
Nach Anleitung von Mathieu Grenier in
https://askubuntu.com/questions/28608/how-do-you-use-an-android-tablet-as-a-second-display
bin ich nun soweit, dass mein Tablet den Hauptbildschirm spiegelt.
Installation von x11vnc in Desktop.
Installation von VNC Viewer for Android in Tablet.
Eingabe von Nickname, Passwort, IP-Adresse des Desktops, Port (5901) in der Android-App.
Bildschirmauflösungen:
Toshiba AT 300: 1280 horizontale x 800 vertikale Pixel
EIZO FlexScan SX2462W: 1920 horizontale x 1200 vertikale
Dann in der Konsole:
x11vnc -rfbauth ~/.vnc/passwd -clip 1280x800+1920+0
Und in der androidVNC-App: Connect-Button drücken.
martin@Z390M:~$ x11vnc -rfbauth ~/.vnc/passwd -clip 1280x800+1920+0 30/03/2020 12:45:52 passing arg to libvncserver: -rfbauth 30/03/2020 12:45:52 passing arg to libvncserver: /home/martin/.vnc/passwd 30/03/2020 12:45:52 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 31586 30/03/2020 12:45:52 Using X display :0 30/03/2020 12:45:52 rootwin: 0x4ce reswin: 0x8c00001 dpy: 0x95f73c10 30/03/2020 12:45:52 30/03/2020 12:45:52 ------------------ USEFUL INFORMATION ------------------ 30/03/2020 12:45:52 X DAMAGE available on display, using it for polling hints. 30/03/2020 12:45:52 To disable this behavior use: '-noxdamage' 30/03/2020 12:45:52 30/03/2020 12:45:52 Most compositing window managers like 'compiz' or 'beryl' 30/03/2020 12:45:52 cause X DAMAGE to fail, and so you may not see any screen 30/03/2020 12:45:52 updates via VNC. Either disable 'compiz' (recommended) or 30/03/2020 12:45:52 supply the x11vnc '-noxdamage' command line option. 30/03/2020 12:45:52 30/03/2020 12:45:52 Wireframing: -wireframe mode is in effect for window moves. 30/03/2020 12:45:52 If this yields undesired behavior (poor response, painting 30/03/2020 12:45:52 errors, etc) it may be disabled: 30/03/2020 12:45:52 - use '-nowf' to disable wireframing completely. 30/03/2020 12:45:52 - use '-nowcr' to disable the Copy Rectangle after the 30/03/2020 12:45:52 moved window is released in the new position. 30/03/2020 12:45:52 Also see the -help entry for tuning parameters. 30/03/2020 12:45:52 You can press 3 Alt_L's (Left "Alt" key) in a row to 30/03/2020 12:45:52 repaint the screen, also see the -fixscreen option for 30/03/2020 12:45:52 periodic repaints. 30/03/2020 12:45:52 30/03/2020 12:45:52 XFIXES available on display, resetting cursor mode 30/03/2020 12:45:52 to: '-cursor most'. 30/03/2020 12:45:52 to disable this behavior use: '-cursor arrow' 30/03/2020 12:45:52 or '-noxfixes'. 30/03/2020 12:45:52 using XFIXES for cursor drawing. 30/03/2020 12:45:52 GrabServer control via XTEST. 30/03/2020 12:45:52 30/03/2020 12:45:52 Scroll Detection: -scrollcopyrect mode is in effect to 30/03/2020 12:45:52 use RECORD extension to try to detect scrolling windows 30/03/2020 12:45:52 (induced by either user keystroke or mouse input). 30/03/2020 12:45:52 If this yields undesired behavior (poor response, painting 30/03/2020 12:45:52 errors, etc) it may be disabled via: '-noscr' 30/03/2020 12:45:52 Also see the -help entry for tuning parameters. 30/03/2020 12:45:52 You can press 3 Alt_L's (Left "Alt" key) in a row to 30/03/2020 12:45:52 repaint the screen, also see the -fixscreen option for 30/03/2020 12:45:52 periodic repaints. 30/03/2020 12:45:52 30/03/2020 12:45:52 XKEYBOARD: 30/03/2020 12:45:52 Switching to -xkb mode to recover these keysyms: 30/03/2020 12:45:52 xkb noxkb Keysym ("X" means present) 30/03/2020 12:45:52 --- ----- ----------------------------- 30/03/2020 12:45:52 X 0x40 at 30/03/2020 12:45:52 X 0x5b bracketleft 30/03/2020 12:45:52 X 0x5d bracketright 30/03/2020 12:45:52 X 0x7b braceleft 30/03/2020 12:45:52 X 0x7d braceright 30/03/2020 12:45:52 X 0x7c bar 30/03/2020 12:45:52 X 0x5c backslash 30/03/2020 12:45:52 30/03/2020 12:45:52 If this makes the key mapping worse you can 30/03/2020 12:45:52 disable it with the "-noxkb" option. 30/03/2020 12:45:52 30/03/2020 12:45:52 30/03/2020 12:45:52 X FBPM extension not supported. 30/03/2020 12:45:52 X display is capable of DPMS. 30/03/2020 12:45:52 -------------------------------------------------------- 30/03/2020 12:45:52 30/03/2020 12:45:52 *** ignoring invalid -clip WxH+X+Y: 1280x800+1920+0 30/03/2020 12:45:52 Default visual ID: 0x21 30/03/2020 12:45:53 Read initial data from X display into framebuffer. 30/03/2020 12:45:53 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/7680 30/03/2020 12:45:53 30/03/2020 12:45:53 X display :0 is 32bpp depth=24 true color 30/03/2020 12:45:53 30/03/2020 12:45:53 Autoprobing TCP port 30/03/2020 12:45:53 Autoprobing selected TCP port 5901 30/03/2020 12:45:53 Autoprobing TCP6 port 30/03/2020 12:45:53 rfbListenOnTCP6Port: error in bind IPv6 socket: Address already in use 30/03/2020 12:45:53 Autoprobing selected TCP6 port 5901 30/03/2020 12:45:53 listen6: bind: Address already in use 30/03/2020 12:45:53 Not listening on IPv6 interface. 30/03/2020 12:45:53 30/03/2020 12:45:53 Xinerama is present and active (e.g. multi-head). 30/03/2020 12:45:53 Xinerama: number of sub-screens: 1 30/03/2020 12:45:53 Xinerama: no blackouts needed (only one sub-screen) 30/03/2020 12:45:53 30/03/2020 12:45:53 fb read rate: 1693 MB/sec 30/03/2020 12:45:53 fast read: reset -wait ms to: 10 30/03/2020 12:45:53 fast read: reset -defer ms to: 10 30/03/2020 12:45:53 The X server says there are 10 mouse buttons. 30/03/2020 12:45:53 screen setup finished. 30/03/2020 12:45:53 The VNC desktop is: Z390M:1 PORT=5901 ****************************************************************************** Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet? The scheme stores pixel data offscreen on the VNC viewer side for faster retrieval. It should work with any VNC viewer. Try it by running: x11vnc -ncache 10 ... One can also add -ncache_cr for smooth 'copyrect' window motion. More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching 30/03/2020 12:45:55 Got connection from client 192.168.1.120 30/03/2020 12:45:55 other clients: 30/03/2020 12:45:55 Normal socket connection 30/03/2020 12:45:55 Disabled X server key autorepeat. 30/03/2020 12:45:55 to force back on run: 'xset r on' (3 times) 30/03/2020 12:45:55 incr accepted_client=1 for 192.168.1.120:51491 sock=11 30/03/2020 12:45:55 Client Protocol Version 3.8 30/03/2020 12:45:55 Protocol version sent 3.8, using 3.8 30/03/2020 12:45:55 rfbProcessClientSecurityType: executing handler for type 2 30/03/2020 12:45:55 copy_tiles: allocating first_line at size 61 30/03/2020 12:45:56 Pixel format for client 192.168.1.120: 30/03/2020 12:45:56 8 bpp, depth 6 30/03/2020 12:45:56 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0 30/03/2020 12:45:57 Enabling LastRect protocol extension for client 192.168.1.120 30/03/2020 12:45:57 Enabling NewFBSize protocol extension for client 192.168.1.120 30/03/2020 12:45:57 Using ZRLE encoding for client 192.168.1.120 30/03/2020 12:45:57 client 1 network rate 2490.7 KB/sec (2490.7 eff KB/sec) 30/03/2020 12:45:57 client 1 latency: 2.1 ms 30/03/2020 12:45:57 dt1: 0.7099, dt2: 0.2162 dt3: 0.0021 bytes: 2304012 30/03/2020 12:45:57 link_rate: LR_LAN - 2 ms, 2490 KB/s 30/03/2020 12:45:57 client useCopyRect: 192.168.1.120 0 30/03/2020 12:45:57 client_set_net: 192.168.1.120 0.0691 30/03/2020 12:45:57 created xdamage object: 0x8c00040 30/03/2020 12:46:05 created selwin: 0x8c00041 30/03/2020 12:46:05 called initialize_xfixes() 30/03/2020 12:46:24 cursor_noshape_updates_clients: 1 30/03/2020 12:46:25 cursor_noshape_updates_clients: 1 30/03/2020 12:46:26 cursor_noshape_updates_clients: 1 30/03/2020 12:46:40 cursor_noshape_updates_clients: 1 30/03/2020 12:47:00 cursor_noshape_updates_clients: 1
Das Ganze ergibt eine ggü. dem Desktop-Monitor (fast) identische Bildschirmanzeige im Tablet. Mein Ziel, in Desktop und Tablet an unterschiedlichen Fenster zu arbeiten, ist damit leider noch nicht erreicht. Hat jemand dazu eine Idee?
Gruß
Marind