Cool.  I will do some tinkering and update the wiki here with best practices:

https://turbovnc.org/Documentation/Compatibility30

On 7/4/22 3:37 AM, Per Weijnitz wrote:
The problem has been solved, and it was not related to TurboVNC.

In case anyone has the same problem, here's what I did:
  1. thorough reset of gnome settings: |dconf reset -f /org/gnome/|
  2. remove all "Xft.dpi"-settings från your X-resource files (I had it both in ~/.Xdefaults and ~/.Xresources).


Den tors 30 juni 2022 kl 15:40 skrev Per Weijnitz <[email protected]>:

    Oh, and a local X-server with Gnome is currently running too, on
    the remote host. Perhaps that complicates things even further, in
    case Gnome has problems separating things.

    torsdag 30 juni 2022 kl. 15:36:03 UTC+2 skrev Per Weijnitz:

        Yes, I have indeed had that parameter on 200% on the local X
        server previously. That can be the source of the problem.

        torsdag 30 juni 2022 kl. 15:32:22 UTC+2 skrev DRC:

            Did you previously set the display scaling to 200% on the
            local
            display?  GNOME has a tendency to store and restore
            display settings in
            a way that interferes with VNC servers.  I will try to
            reproduce the issue.

            On 6/30/22 8:25 AM, Per Weijnitz wrote:
            >
            > I experience a possible bug regarding the Gnome display
            scaling (or
            > I'm just doing something in the wrong way).
            >
            > To reproduce:
            >  1. start server on remote host:
            /opt/TurboVNC/bin/vncserver -fg
            >  2. setup ssh tunnel from local to remote: ssh -t -L
            > 5900:localhost:5902 remoteserver 'read dummy'
            >  3. connect a client from local machine:
            /opt/TurboVNC/bin/vncviewer
            >  localhost:0
            >      This results in a working session, with a Gnome
            session running.
            > In my case, it has the display scaling set to 200% (can
            be checked
            > with: gnome-control-center display)
            >  4. I can toggle scaling to 100% and things look good.
            >
            > Now, if I terminate the vncviewer session and reconnect,
            the scaling
            > is back to 200%.
            > Also, if I switch to fullscreen, the scaling is back at
            200%. And if I
            > set it back to 100% in fullscreen, then toggle
            fullscreen off, the
            > scaling jumps back to 200%.
            >
            > Client OS:     Debian GNU/Linux 11 (bullseye)
            > Remote OS: Ubuntu 22.04 LTS
            > TurboVNC: dev branch (3.1 evolving),
            turbovnc_3.0.80_amd64.deb,
            > 43816122, Jun 23,f8f2c533e5a4dda891f4917856576b6e

-- You received this message because you are subscribed to a topic in
    the Google Groups "TurboVNC User Discussion/Support" group.
    To unsubscribe from this topic, visit
    https://groups.google.com/d/topic/turbovnc-users/MIsF6ZyBfv4/unsubscribe.
    To unsubscribe from this group and all its topics, send an email
    to [email protected].
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/turbovnc-users/b54b5232-d9d0-4f85-b833-9daef82ddb0fn%40googlegroups.com
    
<https://groups.google.com/d/msgid/turbovnc-users/b54b5232-d9d0-4f85-b833-9daef82ddb0fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/CAJjBYSbF08BdwWNogjLvfPh3oj0o90Aj18c33QoZH0dV-aq2qA%40mail.gmail.com <https://groups.google.com/d/msgid/turbovnc-users/CAJjBYSbF08BdwWNogjLvfPh3oj0o90Aj18c33QoZH0dV-aq2qA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TurboVNC 
User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/03eb1f4e-a84a-d662-e84a-a5222db865f9%40virtualgl.org.

Reply via email to