LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-09-2012, 08:23 PM   #1
weibo6914
LQ Newbie
 
Registered: Sep 2012
Posts: 27

Rep: Reputation: Disabled
Smile How to create multi ports for VNC on RHEL 5


Dear sir or madam,

I am trying to create multi ports for VNC on RHEL 5, so we can have multi user access to one Linux workstation at the same time.

Below is the system information:

VNC server: 5.0.0
REDHAT 5.
System: -Linux 2.6.18 - 238
Network connectivity: RFB port: 5900
X server details: -- release 70101000.

Can anybody tell me how to config it step by step? Thanks a lot.
 
Old 09-10-2012, 12:37 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Is this what you're looking for: Remote login with VNC?

Kind regards,

Eric
 
Old 09-10-2012, 02:50 AM   #3
weibo6914
LQ Newbie
 
Registered: Sep 2012
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi Eric,

Thanks for the reply.

I am using Redhat 5, I can not find vncservers inside etc/sysconfig.

How to proceed???

Thank you.
 
Old 09-10-2012, 08:40 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Do you have the necessary VNC software installed as pointed out in the link I provided. If you have, then create the file.

Kind regards,

Eric
 
Old 09-10-2012, 10:17 PM   #5
weibo6914
LQ Newbie
 
Registered: Sep 2012
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi Eric,

From the link you provided, it says:

2.3. Edit the server configuration

Edit /etc/sysconfig/vncservers, and add the following to the end of the file.

VNCSERVERS="1:larry 2:moe 3:curly"
VNCSERVERARGS[1]="-geometry 640x480"
VNCSERVERARGS[2]="-geometry 640x480"
VNCSERVERARGS[3]="-geometry 800x600"

If I need to create the vncservers file, what I need to put before these few lines? Because it says "add the following to the end of the file".

Thanks, Eric.
 
Old 09-12-2012, 01:40 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

I suppose that the vncservers file is just a list of the connections you'll be offering/using so just put your definitions in there and see where it takes you. I've never used VNC in this way so I'm not sure what else might be in that file.

Kind regards,

Eric
 
Old 09-12-2012, 01:40 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

I suppose that the vncservers file is just a list of the connections you'll be offering/using so just put your definitions in there and see where it takes you. I've never used VNC in this way so I'm not sure what else might be in that file.

Kind regards,

Eric
 
Old 09-20-2012, 08:44 AM   #8
hean01
LQ Newbie
 
Registered: Aug 2012
Location: Norrkoping, Sweden
Distribution: Fedora, Ubuntu, CentOS, RHEL
Posts: 23

Rep: Reputation: Disabled
What you are looking for is a linux terminal server solution which includes session handling,
there are several projects available that provides that feature, one simple solution is to use
ThinLinc, which includes 10 free concurrent users licenses for free.

Installation is a breeze, take a look at the following installations screencast for ubuntu which
does not differ from how you do it on RHEL.

http://www.youtube.com/watch?v=qEJ0KrnXyP0


Kind Regards,

Henrik Andersson
 
Old 09-20-2012, 08:47 PM   #9
weibo6914
LQ Newbie
 
Registered: Sep 2012
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi Henrik,

Do you mean I have to install thinlinc first, then I will see the vncserver files in "etc/sysconfig".

Thanks.
 
Old 09-21-2012, 12:25 AM   #10
hean01
LQ Newbie
 
Registered: Aug 2012
Location: Norrkoping, Sweden
Distribution: Fedora, Ubuntu, CentOS, RHEL
Posts: 23

Rep: Reputation: Disabled
Hi,

Yes, you just install ThinLinc server as the video suggests and you dont need to bother about anything
else then getting the ThinLinc client and connect to you server, it will work out of the box with
10 concurrent users connected with each one of them with having their own desktop session.


Regards,

Henrik Andersson
 
Old 09-21-2012, 01:18 AM   #11
weibo6914
LQ Newbie
 
Registered: Sep 2012
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi Henrik,

I have installed the thinlinc master in the main workstation, so I need to install thinlinc client in other user's computer to access the main workstation, right?

If we just use our own laptop to access the workstation, how to install the thinlinc client? I have tried, but the install-server file seems can not auto install in windows 7.

How to proceed?

Thanks, Henrik.
 
Old 09-21-2012, 01:30 AM   #12
hean01
LQ Newbie
 
Registered: Aug 2012
Location: Norrkoping, Sweden
Distribution: Fedora, Ubuntu, CentOS, RHEL
Posts: 23

Rep: Reputation: Disabled
Yes, ThinLinc server goes into the workstation you want to remotly access and
the computers accessing the ThinLinc server needs the ThinLinc client which is
available at the following url: http://www.cendio.com/downloads/clients/


Regards,

Henrik Andersson
 
Old 09-21-2012, 01:59 AM   #13
weibo6914
LQ Newbie
 
Registered: Sep 2012
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi Henrik,

I have installed the master in Redhat 5, but I didn't do anything.

Then I installed the client in my laptop, key in the IP address, put my name and password there, but I can not connect to the main workstation?

Where did I do it wrongly?

Thanks, Henrik.
 
Old 09-21-2012, 04:08 AM   #14
hean01
LQ Newbie
 
Registered: Aug 2012
Location: Norrkoping, Sweden
Distribution: Fedora, Ubuntu, CentOS, RHEL
Posts: 23

Rep: Reputation: Disabled
Quote:
Originally Posted by weibo6914 View Post
Hi Henrik,

I have installed the master in Redhat 5, but I didn't do anything.

Then I installed the client in my laptop, key in the IP address, put my name and password there, but I can not connect to the main workstation?

Where did I do it wrongly?

Thanks, Henrik.
The communication is tunneled over ssh protocol (port 22), make sure you can connect
to this port from client to server, what error message do you get when you try to
connect with the client ?

/Henrik
 
Old 09-21-2012, 04:12 AM   #15
weibo6914
LQ Newbie
 
Registered: Sep 2012
Posts: 27

Original Poster
Rep: Reputation: Disabled
Hi Henrik,

I put server as : 270.0.0.1
name: admin
password: xxxxxx

when I click connect, it says "connection refused".

How to config it now?

Thanks.
 
  


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
Problem with setting vnc server with multi-ips whyyyhk Linux - Software 0 01-08-2012 04:26 AM
Using vnc in RHEL canceriandebu Linux - Newbie 2 07-12-2011 11:24 PM
[SOLVED] Multi-hop VNC tunnel over SSH deesto Linux - Networking 6 10-25-2010 07:38 AM
VNC, time-outs, and ports? bezdomny Linux - Software 2 05-01-2007 06:24 AM
VNC firewall ports Joe Donner Red Hat 5 06-20-2006 03:45 PM

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

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