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. |
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.
|
 |
02-15-2009, 07:56 AM
|
#1
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Rep:
|
VNC Problem
Dears . . .
I tried to connect to Linux Redhat Server from my Windows PC by VNC.
It sometimes work and sometimes no.
I downloaded 2XApplicationServerClient.tar.bz and installed it.
After this . . .I can connect by VNC.
But,back again to the same problem (Can't connect).
really , I don't know WHY??
Please,need advise.
Thanks & Best regards . . .
|
|
|
02-15-2009, 10:53 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
Hi, What version of RHEL are you using? Since if your using 4.6+ I believe you can just use yum install vnc-server" to install a VNC server. Are you running iptables or any other form of firewall?
Last edited by r3sistance; 02-15-2009 at 11:08 AM.
|
|
|
02-15-2009, 03:40 PM
|
#3
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
Version: Red Hat Enterprise Linux Release 4 update 6 32-bit.
The strange that VNCSERVER service already running but i can't connect by VNC.
|
|
|
02-16-2009, 01:11 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
Are you running Iptables or any other form of firewall?
|
|
|
02-16-2009, 04:06 AM
|
#5
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
Dear,,
Thank you for your follow-up and help
For Your Information . . .
When i log out from the server and try connect by VNC from my PC .... Fails.
But when not log out from the server and try to connect ... Success.
Thanks & Best regards . . .
|
|
|
02-16-2009, 01:50 PM
|
#6
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
Sounds like your using SSH tunnels to by pass IPtables, so when SSH is not connected you don't have your SSH tunnel and are unable to login. When you are logged into SSH, you have an SSH tunnel set-up and it by-passes the server's firewall.
|
|
|
02-17-2009, 07:42 AM
|
#7
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
Dear ,,
FYI . . .
No firewall or IPtables are enabled.
Also , I connect to server internally in the same location (Not from outside the company).
|
|
|
02-18-2009, 07:17 PM
|
#8
|
Member
Registered: Jan 2009
Posts: 100
Rep:
|
It sounds as if you are launching your vncserver as a logged in user, so the vncserver is only accessible when you are logged in, and actually killed if you log out. Running the server as a user makes it easy to run vnc without having to set up configuration files, but the drawback is that no vncserver is launched by the system when a new vnc console is requested from the outside.
You will have to check your vnc configuration, and also make sure that you do not confuse the vnc numbers for simultaneously running vnc servers.
Debian
Last edited by servat78; 02-19-2009 at 11:35 AM.
|
|
|
02-25-2009, 11:04 PM
|
#9
|
Member
Registered: Nov 2008
Location: Egypt
Posts: 110
Original Poster
Rep:
|
Thanks for help and advise . . .
|
|
|
All times are GMT -5. The time now is 01:48 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
|
|