Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-18-2005, 06:44 PM   #1
Registered: Feb 2004
Posts: 45

Rep: Reputation: 15
VNC on non-standard port

How do I use vncserver to listen on a port other then it's default 5800?
Old 07-19-2005, 01:10 AM   #2
Registered: Jun 2005
Posts: 96

Rep: Reputation: 16
man Xvnc
man vncserver
Xvnc: search for httpPort (/httpPort) for the changing the default: 5800
you may also be interested in the 'USAGE WITH INETD' section

vncserver :13 -name king_scott_2 -geometry 1280x1024 -depth 16 -httpPort 7800
you can use whatever options you want.
this example will create a vnc session on :13 named king_scott_2 with resolutions 1280x1024x16 and the browser will listen on port 7800

going to http://vncserver:7800 should give you this session

hope this helps
Old 07-19-2005, 07:25 AM   #3
Registered: Feb 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks, it does a lot. Although is there a way I can change the :13 bit (port 5813) to a non-default port to connect via TightVNC or another program (I hate the School firewall)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd on non-standard port baronsam Linux - Networking 3 08-21-2006 03:40 PM
Proftp with non standard port ryedunn Linux - Software 5 04-08-2006 10:36 PM
Using an USB port as a standard DB9 Serial Port Lsteele Linux - Newbie 1 10-22-2005 09:48 AM
Telnet to non standard port question MadPenguin Linux - Networking 2 04-21-2004 10:17 AM
ProFTPD+PASV+non standard port Code_Zero Linux - Software 3 08-05-2002 03:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration