[X2Go-User] How to scale remote apps on laptop 4k hidpi displays?

2020-07-16 Thread Leho Kraav
Hi


I'm running a 3840x2400 laptop display in 200% scaled mode, on gnome-shell-3.36.

x2goclient-4.1.2.2 UI can be fixed up with QT_AUTO_SCREEN_SCALE_FACTOR=1.

But remote apps still launch in native resolution, making everything tiny small.
This happens for both Wayland and Xorg-based Gnome session.

Is there a solution to getting the remote x2go session match the current scale 
of local display?
Mailing list searches for "hidpi" etc failed to find anything useful.

-- 
Leho Kraav, senior technology & digital marketing architect
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] How to scale remote apps on laptop 4k hidpi displays?

2020-07-16 Thread Stefan Baur
Am 16.07.20 um 12:06 schrieb Leho Kraav:
> 
> But remote apps still launch in native resolution, making everything tiny 
> small.
> This happens for both Wayland and Xorg-based Gnome session.

There is no Wayland support in X2Go, so whatever you're seeing in
Wayland is actually an X server running in the background.


> Is there a solution to getting the remote x2go session match the current 
> scale of local display?
> Mailing list searches for "hidpi" etc failed to find anything useful.

What happens when you set a different DPI value in the X2GoClient's
session configuration?  The default value is 96.  If I set it to 200, I
get huge text on all menu buttons etc. - so maybe this is what you're
looking for?

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] How to scale remote apps on laptop 4k hidpi displays?

2020-07-16 Thread Ulrich Sibiller
If you are using shadowing (accessing a running X server) the screen
will be scaled down to your local native resolution. At quick glance I
don't see in the code that this could work for normal session. And I
also am unsure if it might scale up for shadowed sessions.

Uli

On Thu, Jul 16, 2020 at 12:07 PM Leho Kraav  wrote:
>
> Hi
>
>
> I'm running a 3840x2400 laptop display in 200% scaled mode, on 
> gnome-shell-3.36.
>
> x2goclient-4.1.2.2 UI can be fixed up with QT_AUTO_SCREEN_SCALE_FACTOR=1.
>
> But remote apps still launch in native resolution, making everything tiny 
> small.
> This happens for both Wayland and Xorg-based Gnome session.
>
> Is there a solution to getting the remote x2go session match the current 
> scale of local display?
> Mailing list searches for "hidpi" etc failed to find anything useful.
>
> --
> Leho Kraav, senior technology & digital marketing architect
> ___
> x2go-user mailing list
> x2go-user@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-user
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] How to scale remote apps on laptop 4k hidpi displays?

2020-07-16 Thread Leho Kraav
On Thu, Jul 16, 2020 at 12:16:40PM +0200, Stefan Baur wrote:
> Am 16.07.20 um 12:06 schrieb Leho Kraav:

> > Is there a solution to getting the remote x2go session match the current 
> > scale of local display?
> > Mailing list searches for "hidpi" etc failed to find anything useful.
> 
> What happens when you set a different DPI value in the X2GoClient's
> session configuration?  The default value is 96.  If I set it to 200, I
> get huge text on all menu buttons etc. - so maybe this is what you're
> looking for?

Ooh, for whatever reason, setting "Custom DPI: 192" now works.

I could swear it didn't have any effect last I tried it, but my remote
IntelliJ IDE now seems to scale correctly. Tyvm!
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go Broker GUI selection issue [command = ]

2020-07-16 Thread Jyoti Kumar
Thank you Stefan.

I am able to login Broker server using ssh userid and password   from below 
command.

--broker-url=ssh://192.168.0.19:/usr/bin/x2gobroker

 Now I want to login broker server  through ssh .pem key,  how to do that ?   I 
am using x2go client in Windows 7.

If I share user id and password of broker server to anyone, he can login 
through Putty or any Terminal  via " ssh 192.168.0.19 "  as well as through 
x2go client.  It seems risky .

How to secure it  ?
Is there a way to disable putty or terminal access of ssh and allow only  
through x2go client.


Regards Jyoti Kumar
Mobile: +919953437397
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go Broker GUI selection issue [command = ]

2020-07-16 Thread Stefan Baur
Am 16.07.20 um 18:22 schrieb Jyoti Kumar:
>  Now I want to login broker server  through ssh .pem key,  how to do that ?   
> I am using x2go client in Windows 7.

You don't. ;)

X2GoClient on Windows can read OpenSSH Private Key files, and it can
work with pageant.exe, which in turn can read PuTTY-style SSH Private
Key files.


> If I share user id and password of broker server to anyone, he can login 
> through Putty or any Terminal  via " ssh 192.168.0.19 "  as well as through 
> x2go client.  It seems risky .
> 
> How to secure it  ?
> Is there a way to disable putty or terminal access of ssh and allow only  
> through x2go client.

X2Go is not a security mechanism, X2Go is a remote desktop/remote
application tool.  You need to use the standard Linux security
mechanisms to lock down your system.  However, I would guess it's near
impossible to lock it down in a way that login via SSH to a shell is
blocked, but X2Go still works.

If you want to increase security against people that are not supposed to
be using your server, that can be done with 2FA (either SSH keyfiles, or
various OTP methods).  But blocking a legitimate user from running the
shell, while still allowing X2Go ... no.

A longer explanation why this won't work, and why this is the wrong way
to solve your issue, can be found in this bug report from a while ago:


-Stefan


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user