Ich verwende den xpra-Client auf einem 14-Zoll-Laptop und den xpra-Server auf einem 15-Zoll-Laptop. Das xpra-Client-Fenster auf dem 14-Zoll-Laptop zeigt den Bildschirm des 15-Zoll-Laptops nur teilweise (ein Teil unten und ein Teil rechts sind abgeschnitten). Der Screenshot unten zeigt den Bildschirm des 14-Zoll-Laptops mit dem xpra-Client-Fenster darin.
Auf beiden Laptops läuft Lubuntu 18.04.
Die Remote-Xpra-Version sowie die Bildschirmgröße und -auflösung sind:
$ xpra --version
xpra v3.0.8-r25889
$ xdpyinfo | grep dimensions
dimensions: 1920x1080 pixels (508x285 millimeters)
Die lokale Xpra-Version sowie Bildschirmgröße und -auflösung sind:
$ xpra --version
xpra v3.0.8-r25889
$ xdpyinfo | grep dimensions
dimensions: 1440x900 pixels (381x238 millimeters)
Hier ist der Befehl, den ich zum Herstellen der Verbindung ausgeführt habe. Muss ich im Befehl weitere Informationen angeben, um das Problem zu lösen?
$ xpra shadow ssh:"t@onion":0
(xpra:16983): dbind-WARNING **: 20:13:10.163: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2020-04-07 20:13:10,318 Xpra GTK3 X11 client version 3.0.7-r25627 64-bit
2020-04-07 20:13:10,613 running on Linux Ubuntu 18.04 bionic
2020-04-07 20:13:10,615 window manager is 'Openbox'
2020-04-07 20:13:10,697 Warning: failed to import opencv:
2020-04-07 20:13:10,697 No module named 'cv2'
2020-04-07 20:13:10,698 webcam forwarding is disabled
(Xpra-Audio-query:17000): dbind-WARNING **: 20:13:11.757: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2020-04-07 20:13:11,895 GStreamer version 1.14.5 for Python 3.6.9 64-bit
2020-04-07 20:13:12,374 No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
2020-04-07 20:13:13,002 Error: cannot handle window transparency
2020-04-07 20:13:13,002 screen is not composited
2020-04-07 20:13:13,086 Warning: vendor 'Intel Open Source Technology Center' is greylisted,
2020-04-07 20:13:13,086 you may want to turn off OpenGL if you encounter bugs
2020-04-07 20:13:13,349 Error: cannot handle window transparency
2020-04-07 20:13:13,349 screen is not composited
2020-04-07 20:13:13,360 Warning: window 4294967295 changed its transparency attribute
2020-04-07 20:13:13,361 from False to True, behaviour is undefined
2020-04-07 20:13:13,450 OpenGL enabled with Mesa DRI Mobile Intel® GM45 Express Chipset
2020-04-07 20:13:13,730 Connected (version 2.0, client OpenSSH_7.6p1)
2020-04-07 20:13:14,386 loaded RSA private key from '/home/t/.ssh/id_rsa'
2020-04-07 20:13:14,405 Authentication (publickey) successful!
2020-04-07 20:13:14,736 keyboard settings: rules=evdev, model=pc105, layout=us
2020-04-07 20:13:14,834 desktop size is 1440x900 with 1 screen:
2020-04-07 20:13:14,835 :0.0 (381x238 mm - DPI: 96x96) workarea: 1440x876
2020-04-07 20:13:14,835 LVDS-1 (303x190 mm - DPI: 120x120)
2020-04-07 20:13:14,909 no ethtool interface speed available for wlx801f02b5c389
2020-04-07 20:13:20,742 enabled remote logging
2020-04-07 20:13:20,744 Xpra GTK3 shadow server version 3.0.8-r25889 64-bit
2020-04-07 20:13:20,746 running on Linux Ubuntu 18.04 bionic
2020-04-07 20:13:21,120 server does not support xi input devices
2020-04-07 20:13:21,123 server uses: auto
(Xpra-Audio-play:17029): dbind-WARNING **: 20:13:22.207: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2020-04-07 20:13:22,299 sound output using pulseaudio device:
2020-04-07 20:13:22,300 sound output 'Built-in Audio Analog Stereo'
2020-04-07 20:13:22,898 sound output using 'opus' audio codec
Antwort1
Nutzen Sie die --desktop-scaling
Option zum Verkleinern des Serverfensters, Sie können dies auch zur Laufzeit über das Systray-Menü ändern.