Im trying to use VNC to remote access my linux box (TigerVNC)
my desktop is 3440x1440, so I want to use this when using vnc
I use
/usr/bin/x0vncserver -display :0 -geometry 3440x1440 -rfbport 5900 -passwordfile $HOME/.vnc/passwd`
and vnc comes up fine but at 1024x768 (way too small for use :))
when it starts I can see
Geometry: Desktop geometry is set to 1024x768+0+0
XDesktop: Using evdev codemap
XDesktop:
XDesktop: XTest extension present - version 2.2
XDesktop: RANDR extension not present
XDesktop: Will not be able to handle session resize
so looks like RANDR is not able to resize,
I cannot use xrandr -s to set the resolution , since no display output is connected (its virtual)
I then noticed if I set the framebuffer to 3440x1440, using
xrandr --fb 3440x1440
and restart vncserver, now the desktop IS the correct size - YAY!
however, i3 still is using the 1024x768, so basically Ive a 3440x1440 display but with i3 in the top corner
how can I inform it to resize?
I tried restarting lightdm service, but that resets the fb, and so I end up back at 1024x768
any thoughts?
or is there a better approach to getting a vnc connection at full resolution?
Ive been searching for a solution all day… but solutions just say use xrandr -s which doesnt work without a physical display, or use -geometry when starting server which doesnt work (probably due to missing randr extension)
odd, you’d think remote admin on a server machine is a pretty common task