Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote Desktop Connection (RDC)
02-18-2010, 12:57 PM
Post: #1
Exclamation Remote Desktop Connection (RDC)
Does anyone have remote desktop connectivity working in Centos?
Im running windows xp home edition, and i have installed TightNVC Viewer but it doesn't work i get this error msg "Failed to connect to server (ip add you want to remote)".
I need support guys or any suggestions.

Thanks,
sbajo
Find all posts by this user
Quote this message in a reply
02-18-2010, 10:46 PM
Post: #2
RE: Remote Desktop Connection (RDC)
(02-18-2010 12:57 PM)sbajo Wrote:  Does anyone have remote desktop connectivity working in Centos?
Im running windows xp home edition, and i have installed TightNVC Viewer but it doesn't work i get this error msg "Failed to connect to server (ip add you want to remote)".
I need support guys or any suggestions.

Thanks,
sbajo

For you to access CentOS using windows you have multiple choices but I will recommend 2.

First is you may use vncserver and second you may use freenx.

Using vnc server:

From your linux server do the following commands:
# rpm -qa | grep vnc

It should return vnc-server-<version> if it returned blank you may install it using its installer media (example cd/dvd).

Continuing the procedure, again do the following commands:
# service vncserver start <-- This will prompt "Starting VNC server: no displays configured [ OK ]"
# vncpasswd
Password: <supply password>
Verify: <supply password>

Be sure to allow vnc port (typically 5900) to pass your firewall. From your windows box, use tightvnc and access your linux box.

Using Freenx

First is you must install freenx server to your linux box. You may use this installation method for your server. Then download nx client from nomachine. Be sure to allow ssh traffic on your firewall.

Hope this helps.
Find all posts by this user
Quote this message in a reply
02-20-2010, 11:40 AM (This post was last modified: 02-22-2010 01:21 PM by sbajo.)
Post: #3
RE: Remote Desktop Connection (RDC)
(02-18-2010 10:46 PM)seekuel Wrote:  
(02-18-2010 12:57 PM)sbajo Wrote:  Does anyone have remote desktop connectivity working in Centos?
Im running windows xp home edition, and i have installed TightNVC Viewer but it doesn't work i get this error msg "Failed to connect to server (ip add you want to remote)".
I need support guys or any suggestions.

Thanks,
sbajo

For you to access CentOS using windows you have multiple choices but I will recommend 2.

First is you may use vncserver and second you may use freenx.

Using vnc server:

From your linux server do the following commands:
# rpm -qa | grep vnc

It should return vnc-server-<version> if it returned blank you may install it using its installer media (example cd/dvd).

Continuing the procedure, again do the following commands:
# service vncserver start <-- This will prompt "Starting VNC server: no displays configured [ OK ]"
# vncpasswd
Password: <supply password>
Verify: <supply password>

Be sure to allow vnc port (typically 5900) to pass your firewall. From your windows box, use tightvnc and access your linux box.

Using Freenx

First is you must install freenx server to your linux box. You may use this installation method for your server. Then download nx client from nomachine. Be sure to allow ssh traffic on your firewall.

Hope this helps.

I did follow the steps and it was successful
http://img85.imageshack.us/img85/6923/process.png

but i get this error
http://img96.imageshack.us/img96/5091/process2.png

and i dont know how to open port 5900..:-S

[Image: 16632.png]
http://www.facebook.com/stevenbajojr
[Image: 4123pe7.png]
Find all posts by this user
Quote this message in a reply
02-21-2010, 01:21 AM (This post was last modified: 02-22-2010 01:13 PM by seekuel.)
Post: #4
RE: Remote Desktop Connection (RDC)
In your centos server as root try the following commands:
# service iptables stop
# chkconfig vncserver on
# service vncserver start
# vncpasswd
# vncserver

It will show something like this:
New 'test.domain.com:1 (root)' desktop is test.domain.com:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/test.domain.com:1.log

Take note on ":1" and take note on the number if it is 2 or any number you will be needing it to access the server via your vnc client.

Then try again logging in from your windows box to your linux box. When using vnc clients use this parameters:

<server ip address>:<view>
172.16.173.76:1

Update us with the results
Find all posts by this user
Quote this message in a reply
02-22-2010, 05:10 PM
Post: #5
RE: Remote Desktop Connection (RDC)
It's all working now.
I can connect to the centos server using vnc.Tongue
Thanks seekuel.Big Grin

[Image: 16632.png]
http://www.facebook.com/stevenbajojr
[Image: 4123pe7.png]
Find all posts by this user
Quote this message in a reply
02-22-2010, 05:35 PM
Post: #6
RE: Remote Desktop Connection (RDC)
(02-22-2010 05:10 PM)sbajo Wrote:  It's all working now.
I can connect to the centos server using vnc.Tongue
Thanks seekuel.Big Grin

Glad to help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)