I use TightVNC Viewer version 1.4.0 and want to save 75% scale and Full-screen mode settings. When I set them, close connection and then open it again, settings are default again.
How to save it permanently? Is it possible to save a password?
For Windows XP:
For Windows 7 (Right clicking in the Task Manager doesn't display the correct menu):
fullscreen=0 to fullscreen=1.
If you are using TightVNC 2.x, on Windows it is not straight forward like you would expect. You should save connection info to .vnc file, and you cannot just Open with... tvnviewer.exe
The full procedure is that you should Copy shortcut of your existing VNC Viewer, rename it to your connection name and right click it, click Properties and inside Target editbox put parameter called optionsfile. The final Target should look like this:
"C:\Program Files\TightVNC\tvnviewer.exe" -optionsfile="C:\fullpath\savedconnection.vnc"
I am a TightVnc newbie but am 'familiar' with 'programming' techniques (well, just about keeping my head above the waterline). This question is a bit old but it had me stumped for a while. Here's what I did to get a copy of the TnvViewer 'OptionsFile':
- Open/Load TightVnc Viewer on my Windows 10 PC; ie connect to the other PC.
- On the toolbar of the TightVnc viewer window > click the 'save' icon ("Save session to .vnc file".
- This opens a Windows Explorer 'save' window to my Windows PC; navigate to my chosen folder, create a filename, and click 'Save'.
- I now have a 'standard/basic' options file to play with.
Apologies, as I cannot confirm what all the options do; I was just pleased to get the file. As long as the Windows Explorer 'Open With' link connects the options file with TnvViewer, double clicking the options file puts me straight into TnvViewer on my nominated PC. Hope this helps other Newbies.
In my version of TightVNC 1.2.9, the target must look like this (/config instead of -optionsfile= in Arunas' answer):
"C:\Program Files (x86)\VNC\vncviewer_T129.exe" /config "C:\Users\...\vnc\mysettings.vnc"
The configuration options you mentioned are options of the vncviewer program, so, the answer depends on what kind of viewer you use. There are already several answers applicable in case you run vncviewer on windows machine.
In case your client machine is linux and you use vncviewer installed together with tigervnc package, the viewer configuration file located at ~/.vnc/default.tigervnc.
You have to create the file manually, example of file contents (first string is magic, must be exactly like like this):
TigerVNC Configuration file Version 1.0
MenuKey=F12
FullScreen=1
RemoteResize=0
Available options are described in man:
man vncviewer
On current TightVNC version: start a session, then click the diskette on the button bar. You'll be asked to save the password there. If you do and then double click on the saved session, the connection will be opened immediately without asking for password. Unfortunately, TightVNC is too stupid to offer profiles as Putty does.
"C:\Program Files\TightVNC\tvnviewer.exe" -optionsfile=FILENAME.vnc