Popular Posts

Total Pageviews

Friday, October 1, 2010

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

4 comments:

  1. Nice blog. Yes VNC rocks.. thats how I did my btech project since I didnt have linux. There is a windows vnc client available. Helps a lot!

    ReplyDelete
  2. mazak karte hi sirji...blog pe bhi fedora aur commands?...ip2w ki naak kata rahe ho :P

    ReplyDelete
  3. nice blog....gud going Kai..
    I would like to add something...
    In case if "vncserver" start fails with the message:
    Starting VNC server: no displays configured [FAILED]
    u need to configure the vncserver...
    steps could be found on http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/

    ReplyDelete