LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-15-2009, 07:56 AM   #1
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110
Blog Entries: 1

Rep: Reputation: 16
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 . . .
 
Old 02-15-2009, 10:53 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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.
 
Old 02-15-2009, 03:40 PM   #3
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
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.
 
Old 02-16-2009, 01:11 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Are you running Iptables or any other form of firewall?
 
Old 02-16-2009, 04:06 AM   #5
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
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 . . .
 
Old 02-16-2009, 01:50 PM   #6
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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.
 
Old 02-17-2009, 07:42 AM   #7
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Dear ,,

FYI . . .
No firewall or IPtables are enabled.
Also , I connect to server internally in the same location (Not from outside the company).
 
Old 02-18-2009, 07:17 PM   #8
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
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.
 
Old 02-25-2009, 11:04 PM   #9
eng_mohammedmostafa
Member
 
Registered: Nov 2008
Location: Egypt
Posts: 110

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Thanks for help and advise . . .
 
  


Reply



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
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 06:05 AM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 09:38 AM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 12:06 AM
little vnc problem -- please help ruwach Linux - Software 3 12-06-2004 10:47 PM
VNC problem manza7 Linux - Networking 2 07-21-2004 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:46 AM.

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