Solved

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

Posted on 2007-11-19
2
2,188 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
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…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

9 Experts available now in Live!

Get 1:1 Help Now