LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2012, 09:15 AM   #1
rolly4444
Member
 
Registered: Sep 2012
Posts: 46

Rep: Reputation: Disabled
using vnc in rh linux 9


i have a network of rh9 most of servers connected locally and another servers connected through internet
I just want to know how can i use vnc to connect remotely to any desktop of any server in the network because we use some software that may have some problems and i want to see what happens to it and then start the software on this server
 
Old 11-05-2012, 09:49 AM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410
Red Hat 9 reached its "end of life" in 2004 so "some software may have some problems" is probably an understatement.

Sorry I could not be of specific help with your VNC. Recommend that you contact redhat.com and purchase an upgrade immediately if you are interested in running secure and stable servers!
 
Old 11-05-2012, 10:53 AM   #3
hunternet93
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 31
Also, you may want to look in to installing a VPN on one of your servers. A VPN would allow secure access to your LAN so you could VNC into any server without much hassle.
 
Old 11-05-2012, 02:27 PM   #4
rolly4444
Member
 
Registered: Sep 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
Red Hat 9 reached its "end of life" in 2004 so "some software may have some problems" is probably an understatement.
I know rh9 is so old but the company work on some software that run on it so no problem about rh9
And there some applications already came with rh9 like remote desktop connection ,vnc server , Xvnc and vnc viewer.
When i tried to read the man pages for them and other discussions on the web i couldnt get any thing .
 
Old 11-05-2012, 06:52 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,166

Rep: Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680
You'll have to go through the install media for RH9 and try anything that looks likely.
As above, its so old that current stuff (almost definitely) won't talk to it.
 
Old 11-06-2012, 04:46 AM   #6
rolly4444
Member
 
Registered: Sep 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
You'll have to go through the install media for RH9 and try anything that looks likely.
As above, its so old that current stuff (almost definitely) won't talk to it.
I already installed vnc viewer ,Xvnc ,vncserver and remote desktop connection from installation media
But they are many programs with many commands and options
And i found it confusing because i didnt know what should i use first and what can be used together and how
 
Old 11-06-2012, 07:12 AM   #7
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
VNC is a tool used to connect to remote Unix machines & provides a GUI rich desktop session on the remote machine. But as far as I am concerned, use of VNC inside a Linux box is only when you want a graphical desktop of the remote server. Else, you can directly connect to the remote server using a terminal from your local server. VNC is mainly used by Windows based machines to access Unix environment.

-- ADD ---
In order to access a remote desktop session, you'll first need to install VNC server on remote machine. Then you can create a VNC port for yourself on that remote machine and using that port no. you can connect to the remote server from your local machine though VNC Viewer.

Last edited by shivaa; 11-06-2012 at 07:15 AM. Reason: Added
 
Old 11-06-2012, 08:07 AM   #8
hunternet93
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 31
What you use depends on what you want. There are many good tutorials available, so I won't repeat them here. Here's one: http://www.skullbox.net/vncserver.php. Note, however, that VNC is rather insecure, so you should use RH9's firewall to block incoming VNC connections and use SSH tunneling to connect.
 
Old 11-23-2012, 04:00 PM   #9
rolly4444
Member
 
Registered: Sep 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
i installed a realvnc and when i tried to make connection i got this message
Authentication failed
Exception failed to connect: Connection refused (111)

then i installed NX and also when i tried to make a connection i got this message
session NUMBER failed
The remote proxy closed the connection while regonitiating the session. This may be due to the wrong authentication credentials passed to the server.
 
Old 11-23-2012, 07:20 PM   #10
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Are you running a VNC server on the machine you're trying to connect to? There needs to be a server running on the remote machine that you're trying to connect you.

Also, I don't think you understand just what a risk it is to be running Red Hat 9 -- there have been NO SECURITY patches released for it since 2004. If you're running any service exposed to the outside world, you are pretty much inviting every cracker on the Internet to take control of your infrastructure, which is probably not what the owners of your business want. Can the app you run seriously not run on anything more modern than RH9? RHEL or one of its free derivatives (e.g. CentOS) would be a good choice.
 
Old 11-24-2012, 06:06 AM   #11
rolly4444
Member
 
Registered: Sep 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
i already installed vnc server on the remote machine .
and i know that rh9 is so old but there is no choice to me for that but fortunately there is connection to the outside world, and we can't run our apps. over RHEL or CentOS because of many things the most important of them is the kernel
 
Old 11-24-2012, 09:26 AM   #12
hunternet93
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 31
Check the firewall on the server, it needs to allow connections to port 5900 to VNC directly into the machine. If you're running an SSH server, then it's much safer to use an SSH tunnel to connect.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
VNC displays 'terminal window' that can't be closed after VNC connection to CentOS Hispacific Red Hat 1 10-15-2010 03:44 PM
VNC Over SSH | Linux laptop -> Linux SSH Server -> Windows VNC Server jakestaby Linux - Networking 3 01-28-2009 02:33 PM
No able to VNC from windows to Linux box but iam able to vnc from linux to windows. vinaykori Linux - Software 1 01-20-2008 09:46 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 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