Can I change VNC on Ubuntu to use a different port?
I have 2 Ubuntu Dapper machines at home. One is going to a college dorm with may daughter in a couple weeks. I can get her desktop on my computer through VNC here at home. It's using port 5900.
Is there a way to know whether I'll be able to reach her machine through this port when she's at college? I have no idea how they manage their network - nor do I care to ask! On a quick look, I could not find how to get her VNC server to listen to a different port - or maybe this is done through ssh?
First, look here: VNC FAQ: Ports. Since this question is a bit too technical for me, I asked a programmer friend of mine, Phil Hord, for help, and here's what he suggests:
The university may block all incoming services. If so, it doesn't matter what port you put it on; you won't be able to reach it unless she initiates the connection. You could probably have her PC connect to your PC all the time with ssh enabling port-forwarding. Since you can presumably control the firewall on your end, you can open up the requisite port for her to connect to and then configure the software to
For my configuration to work, I wound up creating a VPN to link my home and office PC's across several NATs and a vigorous corporate firewall. You can do something like that, but maybe you won't have to jump through as many hoops as I did. (Here's how:
You can use SSH to open up ports through whatever firewall she faces. You'll need an SSH server running on your end. She'll need to run ssh on her end. You might even be able to make it "always-on". I haven't experimented much with ssh clients on Linux. But it should be pretty easy.
More Useful Unix and Linux Help Articles:
✔ Copy and Paste from the Mac OS X Command Line?
I am constantly running commands in Terminal.app on my MacBook and then copying and pasting the results into email messages or documents. Yes,...✔ Shell script to convert lowercase to title case?
As part of a project I'm working on, I find myself deep in a Linux shell script, needing to have a subroutine that...✔ Can I script renaming files based on an XML data map?
I have a folder full of files which are named with four digits and a file extension e.g. 0312.file and an XML-file describing...✔ Test for valid numbers in a Bash shell script?
In a different discussion on this site [see Redirecting input in a shell script] a visitor commented that "I was too busy trying...✔ Review: iSSH for the iPad/iPhone
If you're running an online business like I am, there are times when you need to connect and log in to the server...
Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
I do have a comment, now that you mention it!
Check This Out Too...
Look for Answers
All Our Categories
Apple iPad Help
Articles and Reviews
Auctions and Online Shopping
Blogs and Blogging
Building Web Site Traffic
Business and Management
Computer and Internet Basics
d) None of the Above
Google Gmail Help
Google Plus Help
Industry News and Trade Shows
iPhone and Cell Phone Help
iPod, Sony PSP and MP3 Player Help
Kindle Fire Help
Mac OS X Help
Pay Per Click (PPC) Advertising
Search Engine Optimization (SEO)
Shell Script Programming
Tech Support Video Help
The Writing Business
Twitter, LinkedIn and Social Network Help
Unix and Linux Help
Video Game Tips and Help
Windows PC Help
Find Me on Google+
ADT on G+