LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to create multi ports for VNC on RHEL 5 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-create-multi-ports-for-vnc-on-rhel-5-a-4175426418/)

weibo6914 09-09-2012 08:23 PM

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.

EricTRA 09-10-2012 12:37 AM

Hi,

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

Kind regards,

Eric

weibo6914 09-10-2012 02:50 AM

Hi Eric,

Thanks for the reply.

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

How to proceed???

Thank you.

EricTRA 09-10-2012 08:40 AM

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

weibo6914 09-10-2012 10:17 PM

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.

EricTRA 09-12-2012 01:40 AM

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

EricTRA 09-12-2012 01:40 AM

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

hean01 09-20-2012 08:44 AM

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

weibo6914 09-20-2012 08:47 PM

Hi Henrik,

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

Thanks.

hean01 09-21-2012 12:25 AM

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

weibo6914 09-21-2012 01:18 AM

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.

hean01 09-21-2012 01:30 AM

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

weibo6914 09-21-2012 01:59 AM

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.

hean01 09-21-2012 04:08 AM

Quote:

Originally Posted by weibo6914 (Post 4785618)
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

weibo6914 09-21-2012 04:12 AM

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.


All times are GMT -5. The time now is 03:17 AM.