Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-05-2004, 05:06 AM
|
#1
|
LQ Newbie
Registered: May 2004
Posts: 3
Rep:
|
VNC – Connection Refused
I have just install RedHat 9 on my machine and i can't connect via VNC. I have downloaded and installed the VNC server and checked that it's running but when i try to connect i receive the EM: "Connection Refused".
I have tried disabling the RedHat firewall but it still doesn't work.
I'm trying to connect from within my LAN.
I can connect to the VNC server when i run the viewer from the same machine.
I'm new to Linux! can anyone help?
|
|
|
05-06-2004, 03:02 AM
|
#2
|
LQ Newbie
Registered: May 2004
Posts: 3
Original Poster
Rep:
|
I now worked out that the firewall is still running. I've set the firewall to medium and opend the ports i need using the GUI version of the Firewall but when i go to the command line and type "setup" then choose the firewall setting it's still set to "High". When i set the it back to "medium" it doesn't save the changes.
|
|
|
05-06-2004, 07:46 AM
|
#3
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
I've seen a few posts about this problem with the RH firewall and if I remember correctly the bugs are in the graphical interface. You might want to try using a non RH firewall program like Firestarter.
|
|
|
05-06-2004, 03:59 PM
|
#4
|
Senior Member
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019
Rep:
|
How are you trying to connect? Are you using a vnc client? Try using a webbrowser. Type this into the address bar.
http://<ip of rh9>:5800
where <ip of rh9> is the IP of that box. You might also try connecting with 5801
I personally don't like vnc for linux. You don't get the view of the screen like you would in windows. Plus you can do just about anything you want throught the command line/ssh.
|
|
|
05-07-2004, 01:40 PM
|
#5
|
LQ Newbie
Registered: May 2004
Posts: 3
Original Poster
Rep:
|
I installed Firestarter and it seems to have to have worked. Only thing is like you say you don't get to see the desktop.
|
|
|
05-07-2004, 07:02 PM
|
#6
|
LQ Newbie
Registered: Apr 2004
Location: Tulsa, Oklahoma
Distribution: Slackware 9.1,RedHat 9, Fedora Core 1, Fedora Core 2, Redhat Enterprise Linux AS v. 3, Mac OS 10.3.3
Posts: 16
Rep:
|
Edit your ~/.vnc/xstartup and follow the instructions in the comments in there, then restart your vncserver process to get the normal desktop for your user. Should look just like you were sitting at the console.
|
|
|
All times are GMT -5. The time now is 07:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|