Recently I've been trying to reserve space on my desktop using xrandr so I can use VNC to serve that space to a client.
I use XFCE and the proprietary drivers on an Nvidia GPU.
So far I've been doing:
gtf 1067 582 60 since I want to reserve a 1067x592 space
It returns the modeline:
Modeline "1064x592_60.00" 50.32 1064 1104 1216 1368 592 593 596 613 -HSync +Vsync
So I add it as a new mode:
xrandr --newmode "1064x592_60.00" 50.32 1064 1104 1216 1368 592 593 596 613 -HSync +Vsync
And add that mode to a disconnected display:
xrandr --addmode DVI-I-0 1064x592_60.00
At that point when querying xrandr, the new mode is listed but not added to the display, and indeed if I try:
xrandr --output DVI-I-0 --mode 1064x592_60.00
xrandr: cannot find mode "1064x592_60.00"
So while no command written above returns an error, the --addmode does effectively nothing.
- using other, simpler mode names
- using other disconnected displays
- using other resolutions
- both Nvidia and open-source drivers
- googling, but to no avail
Do you have any idea what might be the problem ?