finalqert.blogg.se

Tigervnc resolution
Tigervnc resolution












tigervnc resolution
  1. #Tigervnc resolution install
  2. #Tigervnc resolution code

My laptop from where I vnc into that server has a 1366x768 resolution. My vnc server, a old acer desktop PC, runs at 1440x900 resolution.

#Tigervnc resolution install

# I'm running GNOME (installed using sudo yum install gnome-*)Ĭonnect using Tiger 32-bit VNC Client v1.3.1 on Windows 7.If you run a vnc server on one box/device that has a different screen resolution to the vnc client box/device then one way to resolve that difference is to use xrandr scaling. # Xvnc is started by vncserver with following args: # I start the server using vncserver -geometry 800圆00 Versions with which it works for me right now (although I've not had issues with ANY versions in the past, I just install the latest using yum install gnome-* tigervnc-server and works fine): OS: RHEL 6.6 (Santiago)

tigervnc resolution

I tried all I could to add a new resolution to the xrandr, but to no avail, always end up with 'xrandr: Failed to get size of gamma for output default' error. With this the resolution changes to fit the size of the client window no matter what it is, and it's not zooming, it's actual resolution change (I can see the new resolution in xrandr output). Windows some version with Tiger VNC Client.but it resizes when I change the TigerVNC Client window. I don't know what the TigerVNC client tells remote vncserver or xrandr or Xvnc or gnome or. Perhaps the most ignorant answer I've posted but here goes: Use TigerVNC client/viewer and check 'Resize remote session to local window' under Screen tab of options. Line: VNC-0 connected 1600x900+0+0 0mm x 0mmīind the new modeline to the current VNC virtual monitor: $ xrandr -addmode VNC-0 "2560x1600_60.00" In the above xrandr output look for the display name on the second Or if the monitor is old get the GTF timings: $ gtf 2560 1600 60 List the modeline (see xrandr article in ArchLinux wiki) for Screen 0: minimum 32 x 32, current 1600 x 900, maximum 32768 x 32768Īnd you'll notice the screen being quite small. Once inside the VNC session start up a terminal window.Ĭonfirm that the new geometry is available in the VNC session: $ xrandr On the "2560x1600" computer start the VNC viewer (I prefer Start a VNC session with a geometry matching the physical display: $ vncserver -geometry 1600x900 :1 The computer with the resolution of "1600x900": With that background if the goal is to share a VNC session between twoĬomputers with the above resolutions and assuming that the VNC server is There must be a way to add custom modelines and man xrandr confirms

#Tigervnc resolution code

Think the developers who wrote the code are much smarter and the hardĬoded list is just a sample of values. Xrandr allows selecting the display modes (a.k.a resolutions) howeverĪny additional modeline such as "2560x1600" or "1600x900" would need to I'm using TightVnc viewer as the client and it automatically adapts to the new resolution.Īs this question comes up first on Google I thought I'd share a solution using TigerVNC which is the default these days. I can then easily switch to another resolution (f.e. When I run xrandr in a terminal, it displays all the available screen resolutions: bash> xrandr I just start vncserver without any -randr or multiple -geometry options. I'm running TigerVNC on my Linux server, which has basic randr support.














Tigervnc resolution