﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>The VNC Manager - SmartCode Solutions Forum / General / VNC Tips &amp; Tricks </title><generator>InstantForum.NET v4.1.4</generator><description>The VNC Manager - SmartCode Solutions Forum</description><link>http://vncmanager.com/forum/</link><webMaster>forums@s-code.com</webMaster><lastBuildDate>Tue, 16 Mar 2010 15:34:36 GMT</lastBuildDate><ttl>20</ttl><item><title>VNC Manager and VMWare</title><link>http://vncmanager.com/forum/Topic2026-15-1.aspx</link><description>I use VMWare server running on a Linux host with multiple virtual Linux guest machines. I never install a GUI on the Linux host or guest machines and so I am forced to use an SSH client (until VNCManager includes a built in SSH client**) to access to the Linux virtual machines. You can use this simple approach to gain command line (Console) access to to the virtual Linux guest machines from withing VNC Manager. The real benefit here is that this is a console session not an SSH connection and you will get an almost complete reboot. More on that at the end of this.&lt;br&gt;&lt;br&gt;[b]NOTE:[/b]&lt;br&gt;VMWare server includes a built in vnc server and does not require adding host server software. You must however, have the VMWare tools installed on the guest machines. &lt;br&gt;&lt;br&gt;Use your favorite method to access the host machine. You will need to find where your virtual machines are stored. Edit the guest VMX file and add the following, changing the port and password to suit. You will need to change the port for each guest that you want to access. &lt;br&gt;&lt;br&gt;[code]&lt;br&gt;  RemoteDisplay.vnc.enabled = "TRUE"&lt;br&gt;  RemoteDisplay.vnc.port = "59010"&lt;br&gt;  RemoteDisplay.vnc.password = "password"&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;From within VNC Manager add your new computers. [b]IMPORTANT:[/b] The IP address for all virtual guest machines will be the host machine address NOT the address of the virtual guest machine. You will need to make sure to set your port value to match the value that you added in the VMX file. I use SSH tunneling so I add the ssh access information to the VNC Manager SSH tunneling tab. [b]IMPORTANT: [/b]this will be tunneling to the host machine address. &lt;br&gt;&lt;br&gt;Once you have one machine set up it is a simple matter to copy as in Select the computer you have just set up, hold down the CTRL key and drag to the bottom of the list and release the CTRL key. Now just edit the Name and the VNC port value to match another computer you have added the RemoteDisplay.vnc.  &lt;br&gt;&lt;br&gt;You should now have tabbed console access to your virtual machines. You will almost get a complete reboot session although you do loose the connection as the machine resets. If you re-establish the connection immediately after you loose it you will get an almost complete startup including the ability to do interactive startups or connect to a machine with NO ip address or an address on a different subnet. &lt;br&gt;&lt;br&gt;This should work on Windows hosts as well as Linux although I have not tested it.</description><pubDate>Tue, 22 Apr 2008 13:07:53 GMT</pubDate><dc:creator>zarthan</dc:creator></item><item><title>Mutiple Dispays</title><link>http://vncmanager.com/forum/Topic2364-15-1.aspx</link><description>How can I only view one display?  In other apps you can specify what display you want to view.</description><pubDate>Wed, 21 Jan 2009 12:14:06 GMT</pubDate><dc:creator>stevenalbright</dc:creator></item><item><title>LINUX VNCSERVER setup</title><link>http://vncmanager.com/forum/Topic1666-15-1.aspx</link><description>[size=4]Connecting VNC Manager to vncserver on Linux[/size]&lt;br&gt;&lt;br&gt;NOTE: This is a work in progress. Feel free to comment, correct, or add to it. Try it if you are unfamiliar with vncserver on Linux; report your success or failure; and offer suggestions for improvement, clarity, etc.&lt;br&gt;The intent of this document is to provide clear instructions on connecting VNC Manager to a vncserver running on Linux. Most Linux distributions have a packaged version of vncserver, although it is certainly possible to add a particular version of the vncserver, such as the TightVNC server. Redhat, Fedora, and derivatives (Centos, Whitebox) install vncserver when you install a GUI desktop (X11, Gnome, KDE, etc). As I can, I will try to add other Linux flavors (Gushing-Grape, Sticky-Pineapple, Panama-w/Purple-Hat-Band, and Mentos).&lt;br&gt;&lt;br&gt;VNC behaves differently on Linux than it does on Windows. In Windows you can have multiple, simultaneous connections to a Windows VNC server, but each viewer sees the same desktop. Linux, on the other hand, can have multiple VNC sessions, each one viewing a different desktop. In this respect, vncserver behaves much like Windows in Terminal Server mode. On Linux, you can start vncserver in two different ways, just like you can in Windows — as a service or as a desktop application that you must start after each login. I will go through both methods.&lt;br&gt;If you have direct access to the computer that you want to control and are using a graphical Desktop, such as KDE or Gnome, you can use them to do your setup. If you are doing setup remotely or feel comfortable in a terminal session, use SSH to login and set up the vncserver.&lt;br&gt;You can do everything remotely using SSH. In fact, it is usually much quicker and easier. Editing any of the server configuration files, enabling or starting services, and changing the firewall requires root access. You also can use menu-based utilities to configure and adjust many of the Linux services.&lt;br&gt;A good way to begin is starting simply, and slowly adding complexity, as you gain understanding.&lt;br&gt;&lt;br&gt;[size=4]LAUNCHING vncserver as an APPLICATION[/size]&lt;br&gt;Launching vncserver as an application with no firewall enabled is the simplest way to become familiar with connecting VNC Manager with vncserver on Linux.&lt;br&gt;Make sure that no firewall is enabled. It is usually enabled by default. In Redhat or Fedora, you can quickly disable the firewall:&lt;br&gt;&lt;br&gt;First, login to the Linux computer.&lt;br&gt;In a terminal window or shell prompt, type&lt;br&gt;[code] service iptables stop [/code]&lt;br&gt;&lt;br&gt;&lt;br&gt;To launch vncserver, Open a terminal window, and type,&lt;br&gt;[code]vncserver[/code]&lt;br&gt;&lt;br&gt;Response should be a password prompt, followed by a repeat password prompt.&lt;br&gt;After responding to the repeat the password prompt, you should see something like the following lines:&lt;br&gt;&lt;br&gt;[code]New 'server1.mydomain.com:1 (zarthan)' desktop is server1.mydomain.com:1&lt;br&gt;&lt;br&gt;Starting applications specified in /home/zarthan/.vnc/xstartup&lt;br&gt;Log file is /home/zarthan/.vnc/server1.mydomain.com:1.log[/code]&lt;br&gt;&lt;br&gt;Obviously, if you logged in as you, you will see your name instead of zarthan, and your computer is probably not server1.mydomain.com. The most important thing to notice is the “:1” after the server name. Depending on how many vncserver sessions you have launched, the number will change (like if you forgot to shut it down last login). You will need the number, when you connect from VNC Manager. “:1” corresponds to port 5901, “:2” to 5902, and so on.&lt;br&gt;If you have enough understanding, and you have left the Linux firewall turned on (it is on by default), you will also need to open a corresponding inbound port.&lt;br&gt;vncserver defaults to the X11 Desktop but can launch any installed desktop. If you have KDE installed, you also have X11 installed. If you want to change the default X11 Desktop, you must edit the xstartup file.&lt;br&gt;Assuming you have KDE installed and want it to start instead of X11, launch an editor, and open the .vnc/xstartup file. In the above example, vnc/xstartup file is in /home/zarthan/.vnc/xstartup (your location will be different depending on your home directory).&lt;br&gt;The last line in the default file is&lt;br&gt;&lt;br&gt;[code]twn &amp;[/code]&lt;br&gt;&lt;br&gt;Change the line to read&lt;br&gt;[code]startkde &amp;[/code]&lt;br&gt;&lt;br&gt;To launch the Gnome Desktop, change the last line in the xstartup file to read&lt;br&gt;[code]gnome-session &amp;[/code]&lt;br&gt;With any change, you must stop the vncserver session and start it again&lt;br&gt;[code]vncserver -kill:1 [/code]&lt;br&gt;will stop the first vncserver session.&lt;br&gt;Execute vncserver to start it again.&lt;br&gt;&lt;br&gt;[size=4]Launching vncserver As a Service[/size]&lt;br&gt;&lt;br&gt;Current Redhat/Fedora/Centos/Whitebox, etc., distributions make it very easy to start vncserver as a service. Once configured, it will automatically start each time you start the computer. You should start with the manual method, as described above.&lt;br&gt;To have vncserver start each time, you must edit the configuration file. Launch an editor, and open the file, /etc/sysconfig/vncservers&lt;br&gt;You should see something similar to the following lines:&lt;br&gt;&lt;br&gt;[code]# The VNCSERVERS variable is a list of display:user pairs.&lt;br&gt;#&lt;br&gt;# Un-comment the line below to start a VNC server on display :1&lt;br&gt;# as my 'myusername' (adjust this to your own).  You will also&lt;br&gt;# need to set a VNC password; run 'man vncpasswd' to see how&lt;br&gt;# to do that.&lt;br&gt;#&lt;br&gt;# DO NOT RUN THIS SERVICE if your local area network is&lt;br&gt;# untrusted!  For a secure way of using VNC, see&lt;br&gt;# &lt;URL:http://www.uk.research.att.com/vnc/sshvnc.html&gt;.&lt;br&gt;&lt;br&gt;#VNCSERVERS="1:myusername"&lt;br&gt;#VNCSERVERARGS[1]="-geometry 800x600"&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;I recommend that you add the following two lines to the bottom of the file:&lt;br&gt;&lt;br&gt;[code]VNCSERVERS="1:zarthan"&lt;br&gt;VNCSERVERARGS[1]="-geometry 1024x768"&lt;br&gt;or&lt;br&gt;VNCSERVERS="2:bobsmith"&lt;br&gt;VNCSERVERARGS[2]="-geometry 800x600"&lt;br&gt;[/code]&lt;br&gt;Making sure to change the usernames to match your login names. &lt;br&gt;&lt;br&gt;You can add additional vncserver sessions to this file. Make sure that each one uses a separate port. The 1:zarthan says, start a vncserver session on port 5901.&lt;br&gt;&lt;br&gt;Note that the # symbol marks the line as, "ignore this line", so make sure it isn't at the beginning of the lines you add. Also note the caution about vnc being unsafe on an untrusted network. Consider all networks as untrusted. Fortunately, VNC Manager allows you to tunnel in through ssh, which makes vncserver very safe. &lt;br&gt;Once you have edited the file, you can start vncserver as a service. First, make sure you have stopped any existing vncserver sessions that may be running.&lt;br&gt;In a terminal window execute the following command:&lt;br&gt;&lt;br&gt;[code]vncserver -kill:all[/code]&lt;br&gt;&lt;br&gt;This will stop any running vncserver session started from the command line.&lt;br&gt;To start vncserver as a service from the terminal window, execute the following command:&lt;br&gt;&lt;br&gt;[code]service vncserver start[/code]&lt;br&gt;&lt;br&gt;&lt;br&gt;To enable the vncserver service every time you start the computer from the terminal window, execute the following command:&lt;br&gt;[code]chkconfig vncserver on[/code]&lt;br&gt;&lt;br&gt;From the VNC Manager Manager Menu, select&lt;br&gt;[b]Register New Computer[/b]&lt;br&gt;In the Computer address textbox, type in the IP address or the name if it can be resolved by the DNS server.&lt;br&gt;Click the VNC Client Settings Button. Enter the password you entered, when you started vncserver, or you can leave it blank, and enter when prompted, as you connect. On this page you will need to change the port number to 5901 or the port your setup requires.&lt;br&gt;Click OK, and OK to complete the addition. You should be finished.&lt;br&gt;Double click on the computer you just added.&lt;br&gt;You should now be in a GUI session.&lt;br&gt;&lt;br&gt;[size=4]ADDING SSH TUNNELING[/size]&lt;br&gt;VNC is very insecure as it comes, so use ssh tunneling to protect your VNC session. This will also let you re-enable the firewall. The ssh server is normally enabled and started, and ssh forwarding is also usually enabled. &lt;br&gt;&lt;br&gt;Assuming that you already have made a successful connection to this server using earlier steps, you now are just adding the ssh tunneling. Performing all configuration on VNC Manager. Do the following steps to add ssh tunneling:&lt;br&gt;In VNC Manager, right-click on the server you want to configure.&lt;br&gt;[b]Select, Properties.[/b]&lt;br&gt;Under VNC Client Setting, click on the Settings button. &lt;br&gt;On the Firewall/Proxy/ssh tab, select ssh Tunneling.&lt;br&gt;In the Type: drop down box, enter the ssh server IP address or name. This MUST be identical to the Computer Address you entered for this connection.&lt;br&gt;Enter your login information, or leave it blank, and enter when prompted.&lt;br&gt;Now complete, you can OK everything.&lt;br&gt;Launch the connection. If all went well, you should be able to re-enable your firewall on the Linux server.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 26 Sep 2007 12:45:27 GMT</pubDate><dc:creator>zarthan</dc:creator></item><item><title>Question: How to close VNC Viewer window without mouse motion</title><link>http://vncmanager.com/forum/Topic1505-15-1.aspx</link><description>The VNC Viewer window launched from within SmartCode Manager offers no keystroke by which the viewer session can be closed. It requires a mouse motion to the upper margin, into the tab, then click (to open context dialog) then motion and click on Close. I believe this is visible and disruptive to the end user.&lt;br&gt;&lt;br&gt;The standalone VNC Viewer (RealVNC) uses F8, Close keystroke sequence. This doesn't move the users mouse.&lt;br&gt;&lt;br&gt;How do I close the VNC session (SmartCode manager version) without moving the user's mouse?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Fri, 29 Jun 2007 12:41:42 GMT</pubDate><dc:creator>ITinaGhetto</dc:creator></item><item><title>Automatic VPN Connections Using RASDIAL</title><link>http://vncmanager.com/forum/Topic704-15-1.aspx</link><description>&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;I thought I would as this tid bit since the section is of the forum looks too empty.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;A simple way to auto connect your VPN's to your Registered Servers with rasdial.exe &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;1: Configure your VPN connection if you have not done so already.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;2: Create an new batch script and name it something descriptive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;3: Edit your new batch script and use the following syntax....&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;    rasdial.exe "MYVPNNAME" "USERNAME" "PASSWORD"  (no quotes!!!)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;4: Save and Exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;5: Create another batch script and name it vpn_disconnect.bat, use this....&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;    rasdial.exe  /disconnect &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;6: In VNC Manager go to Tools &amp;gt; Options &amp;gt; Action Scripts &amp;gt; Add&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;7: Add your vpn_connect.bat and your vpn_disconnect.bat and exit options panel.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;8: Right click on the Registered Server you wish to autoconnect to Properties &amp;gt; RDP or VNC Options &amp;gt; Scripts&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;9: Pre-connect Scripts, Select your vpn_connect.bat&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;10: Post-disconnect Scripts, Select your vpn_disconnect.bat&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;11: You should be good to go :w00t:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;Notes: To best of my knowledge you can not used Keys with RASDIAL, you can only use Shared Passwords. Also your passwords are in plain, unencrypted veiw to the world. You may want to place the in a Secured Encrypted Folder.... &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: Verdana"&gt;and lock it down!!!!&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;Take a look at rasdial.exe /? for more use of the switches. Last but not least.....This is a Quick, Dirty, Simple way to do this, it is what it is.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;Aaron&lt;/SPAN&gt;</description><pubDate>Wed, 01 Feb 2006 02:49:53 GMT</pubDate><dc:creator>lightning</dc:creator></item><item><title>Add Web Pages to External Tools</title><link>http://vncmanager.com/forum/Topic720-15-1.aspx</link><description>Ok here is another simple howto if you don't know how to add a web page to the external tools in VNC Manager.&lt;/P&gt;&lt;P&gt;1: Click 'Customize..'  under External Tools&lt;/P&gt;&lt;P&gt;2: Add Tool&lt;/P&gt;&lt;P&gt;3: Name the new tool and under the Command navigate to your browser's exe (Firefox or IE will work)&lt;/P&gt;&lt;P&gt;4: Under Arguments put the desired webpage e.g dnsstuff.com&lt;/P&gt;&lt;P&gt;5: Choose your Icon and have fun.&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Wed, 15 Feb 2006 20:40:07 GMT</pubDate><dc:creator>lightning</dc:creator></item></channel></rss>