Sunday, 2 November 2014

Remote desktop on fedora from fedora client

Most of the times peoples don't always like to reach office or other machines where actual work is done. Suppose you have a very high resource machine located at some distance from your current place and you don't want to go there for work. Here i provide a way to people who don't how to remote fedora machines from fedora clients.
On client fedora machine:
"yum install tsclient"

you may require sudo permission to run above command.


On fedora server:

"yum install vnc-server"

this will install vnc server on your fedora machine. then set the password for your vnc server using below command

"vncpasswd"

this will prompt for a password. Enter the password which you want to use later when you trying to connect from fedora client. Now time to start your vnc server

"service vncserver start"

Now if you try to connect from client to this server using command
"vncviewer serverip"

it may give you "unable connect to socket: Connection refused (111)"

then use sudo permission on server to stop firewalls using
"service iptables stop"

now you all set to remote the server.

Note:- it may still shows "unable connect to socket: Connection refused (111)" in that case cancel your server at the current port and start the server with next port and try vncviewer serverip :port

No comments:

Post a Comment