Solved

Unable to access server via VNC with firewall turned on in SLES10

Posted on 2007-11-19
2
2,183 Views
Last Modified: 2013-11-30
Hi,

Running SLES 10 on my test machine.  Having trouble accessing the server remotely with the firewall turned on.  I have allowed the following services on Network interface (External Zone) 1. SSH 2. Remote administration 3. Remote access to Display manager.  The VNC server is running properly on the server. If I disable the firewall, I can connect without a problem.  What else do I need to do to allow remote access via vnc.  Note;  I can connect via ssh with the firewall turned on.
0
Comment
Question by:Cobraiti
2 Comments
 
LVL 2

Assisted Solution

by:gmilhon
gmilhon earned 100 total points
ID: 20316751
The Remote administration and remote access to display manager services aren't the services for VNC. You need a service that allows TCP port 5900. That is the protocol and port that VNC uses, you need to configure this service and allow access to it.
0
 
LVL 35

Accepted Solution

by:
ShineOn earned 400 total points
ID: 20316811
VNC listening ports are usually 5900, 5901, etc. - the http ports are 5800, 5801, etc.

The remote access to display manager is the remote X-server service "xdmcp" which service translates to TCP port 6000-6005 and UDP  port 177.  You shouldn't need to open those unless you're going to use an X session outside the realm of VNC.

If you enable "remote administration" then TCP ports 5801 and 5901 are opened up.  That's all well-and-good if you set up remote VNC sessions only for X session 1.  If you want to use X session 0 (remote desktop) you have to manually open up ports 5800 (html VNC) and/or 5900 (VNC client.)  If you want multiple VNC sessions, you have to have more ports open in that range, but you also have to set it up so X will handle more sessions with VNC "devices."

Hope this helps.  Again, for session zero, in other words whatever the actual system's GUI looks like, interactively, you need the 5800 or 5900 port, not what SuSE Firewall plugs in for "remote administration" which is session 1, 5801/5901.

0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Remote Desktop Connections allow you to control remote host machines via the magic of the Internet and RDP (Remote Desktop Protocol). For the purposes of this article we will assume you are connecting from your home PC or laptop to a remote offic…
Local Printing Using Remote Desktop Windows 7 sometimes has issues with printing to a local printer using a Remote Desktop Connection (RDC). The 1st step is to verify that printers are checked on the Local Resources tab of the Remote Desktop C…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now