Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x2goclient wrong windows size by default #1066

Open
antoinetran opened this issue Sep 15, 2023 · 1 comment
Open

x2goclient wrong windows size by default #1066

antoinetran opened this issue Sep 15, 2023 · 1 comment

Comments

@antoinetran
Copy link

Expected Behavior

Connection as X2GO to a KDE Desktop will create a Window that can be resized. Plus the KDE menu is visible at bottom.

Current Behavior

Connection as X2GO to KDE Desktop will create a Window that cannot be resized. Plus the desktop is too big for the window, so even the KDE menu at bottom cannot be seen.

Environment
Client:
Reproducible with

  • CentOS 7.9 with X2GO client 4.1.1.1
  • Windows 10 with X2GO client 4.1.2.2
    NOT reproducible with
  • Windows 10 with X2GO client 4.0.5.0

Workaround
(A)
If one does xrandr -s 1600x900, then this fix the window size, and we can see the KDE menu. But the window cannot be resized again. If after that, one logout (either KDE menu -> logout or directly at x2go client logout button, or let the KDE timeout autologout), then after relogging with the same user, the window size is now resizable and we can see directly the KDE menu.

(B)
Instead of doing xrandr [workaround (A)], it is also possible to create for any new user a kscreen file:

mkdir /etc/skel/.kde/share/apps/kscreen -p
cat <<EOF >/etc/skel/.kde/share/apps/kscreen/c21f969b5f03d33d43e04f8f136e7682
[ { "enabled" : true, "id" : "default", "metadata" : { "name" : "default" }, "mode" : { "refresh" : 60.0, "size" : { "height" : 900, "width" : 1440 } }, "pos" : { "x" : 0, "y" : 0 }, "primary" : true, "rotation" : 1 } ]
EOF

Then X2GO client connects as if we already configured window size of 1440x900 (see code kscreen beyond), and this also ignore X2GO client size field in profile. But that is OK because we can fix the size.

@uli42
Copy link
Member

uli42 commented Sep 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants