Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using TigerVnc to connect to my local server on lan enviroenment. I doubleclick on the TigerVnc viewer, a windows asking the server IP open up, I write the ip addres and then connect. There is any way to make a shortcut with the ip address hardcoded on the shortcut, so it directly connects to the server ip address?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Binary files usually accept command line arguments. vncviewer.exe does too. Create a regular shortcut, then in properties, add `host:port' after the path leading to vncviewer.exe like so:

Target: "C:\Program Files (x86)\TigerVNC\vncviewer.exe" tryggve.lan:2212
share|improve this answer
add comment

Open a VNC session to the servers, log in, etc.

Then (this assumes it's a Win32 client), right click on the title bar and goto 'Save connection info'. It will warn you about saving passwords, click 'yes' then choose where you want to save the file.

Once you have the file saved it will create a 'servername.vnc' file, double click on that and it'll log you in.

Sometimes VNC get's glitchy and does not associate .vnc files with the viewer during install, in which case you can create a batch file that does something like vncviewer.exe /config C:\myserver.vnc (run vncviewer.exe /? to get all the options).

share|improve this answer
    
it is a win32 client running on windows 7, but with right click the standard menu comes up to move, size, minimize, etc and no save option comes up. –  Terix Mar 15 '13 at 13:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.