[winswitch] client side window is too tall and wide

Antoine Martin antoine at nagafix.co.uk
Wed Dec 18 17:36:23 GMT 2019


On 18/12/2019 20:40, Tim via shifter-users wrote:
> 
>  Here is the command output when running Xpra client on  C55dt-a  (display  size 15.6") to connect to Xpra server on T400 (display size 14.1").
The physical size of the display rarely matters much (only for DPI
calculations), only the resolution is relevant to your problem.

In this case, from your log output it seems that the client was running
at 1366x768. The server resolution is not shown.

> Both runs Lubuntu 18.04 with LXDE and OpenBox and latest Xpra version. The client window on C55dt-a has no scrollbar and resize in the window's menu is disabled. (When I run Xpra client on T400 to connect to Xpra server on C55dt-a,  same problem: the client window also has no scrollbar and resize in the window's menu is also disabled.)
> 
> $ xpra shadow ssh:"$remote":0
>
> (xpra:7808): dbind-WARNING **: 08:22:17.752: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
> 2019-12-18 08:22:18,822 Xpra GTK3 X11 client version 3.0.3-r24690 64-bit
> 2019-12-18 08:22:19,260  running on Linux Ubuntu 18.04 bionic
> 2019-12-18 08:22:19,264  window manager is 'Openbox'
> 2019-12-18 08:22:20,135 Warning: failed to import opencv:
> 2019-12-18 08:22:20,136  No module named 'cv2'
> 2019-12-18 08:22:20,136  webcam forwarding is disabled
> 
> (Xpra-Audio-query:7829): dbind-WARNING **: 08:22:22.703: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
> 2019-12-18 08:22:22,855 GStreamer version 1.14.5 for Python 3.6.9 64-bit
> 2019-12-18 08:22:22,857 Warning: no pulseaudio information available
> 2019-12-18 08:22:22,858  No module named 'distutils.spawn'
> 2019-12-18 08:22:25,151 No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
> 2019-12-18 08:22:30,183 Error: cannot handle window transparency
> 2019-12-18 08:22:30,184  screen is not composited
> 2019-12-18 08:22:33,336 Error: cannot handle window transparency
> 2019-12-18 08:22:33,336  screen is not composited
> 2019-12-18 08:22:33,355 Warning: window 4294967295 changed its transparency attribute
> 2019-12-18 08:22:33,356  from False to True, behaviour is undefined
It is pretty rare these days to run a DE without transparency.

> 2019-12-18 08:22:34,591 OpenGL enabled with AMD KABINI (DRM 2.50.0, 4.15.0-65-generic, LLVM 8.0.0)
> 2019-12-18 08:22:34,994 Connected (version 2.0, client OpenSSH_7.6p1)
> 2019-12-18 08:22:36,246 loaded RSA private key from '/home/t/.ssh/id_rsa'
> 2019-12-18 08:22:36,339 Authentication (publickey) successful!
> 2019-12-18 08:22:38,485  keyboard settings: rules=evdev, model=pc105, layout=us
> 2019-12-18 08:22:38,625  desktop size is 1366x768 with 1 screen:
> 2019-12-18 08:22:38,626   :0.0 (361x203 mm - DPI: 96x96) workarea: 1366x744
> 2019-12-18 08:22:38,626     LVDS (345x194 mm - DPI: 100x100)
> 2019-12-18 08:22:38,771 no ethtool interface speed available for wlp5s0
> 2019-12-18 08:23:41,870 enabled remote logging
> 2019-12-18 08:23:41,884 Xpra GTK3 shadow server version 3.0.3-r24690 64-bit
> 2019-12-18 08:23:41,886  running on Linux Ubuntu 18.04 bionic
> 2019-12-18 08:23:42,252 server does not support xi input devices
> 2019-12-18 08:23:42,254  server uses: auto
> 2019-12-18 08:23:46,798 Warning: the sound output process has failed to start
> 2019-12-18 08:23:49,394 Warning: the opus sound sink has stopped

As suggested in my previous reply:
"you could use the desktop-scaling option or the scaling option from the
system tray to downscale the window."

If that is not sufficient for your needs, please create a ticket.

Cheers,
Antoine



> 
> 
> 
> 
>     On Wednesday, December 11, 2019, 7:17:23 PM UTC, Tim <timlee126 at yahoo.com> wrote:  
>  
>  
> 
> Hi,I am using xpra between two Lubuntu 18.04. The two laptops have different screen sizes: Thinkpad T400 with smaller display, and Toshiba satellite c55dt-a with bigger display.
> When running xpra client on T400 to access xpra server on C55dt-a, the client window is smaller than T400 display in both height and width.
> When doing the opposite, the client window on C55dt-a is bigger than C55dt-a display in both height and width.  I can resize it, and although I can move it from side to side, I can't move it from up to down, so I miss some part down below. I was wondering how I can solve the problem?
> Thanks.
> 
> 
>   
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> https://lists.devloop.org.uk/mailman/listinfo/shifter-users
> 




More information about the shifter-users mailing list