How to Send Mouse & Keyboard Events to Other Systems in Linux

You can send mouse and keyboard events to other Linux systems using VNC, or virtual network computing. VNC allows you to access the desktop of a remote computer and interact with it as if you were sitting in front of it. The remote computer has to have VNC server software installed. The local computer must have VNC viewer software installed. Most Linux operating systems have VNC server and VNC viewer software available through the software repository.

Instructions

  1. Set Up Remote Computers

    • 1

      Download and install the VNC server software. Ubuntu users type the command "sudo apt-get install vnc4server". Fedora and CentOS users type the command "yum install vnc-server".

    • 2

      Type the command "vncpassword" to add the password that will be used when users log into the VNC server.

    • 3

      Type the password twice when prompted.

    • 4

      Open the ~/.vnc/xstartup file in a text editor.

    • 5

      Uncomment the following two lines in the xstartup script:

      unset SESSION_MANAGER

      exec /etc/X11/xinit/xinitrc

    • 6

      Save and close the file.

    • 7

      Type the command "vncserver start" to start the VNC server.

    Log into VNC Server

    • 8

      Download and install the VNC viewer software. Ubuntu users type the command "sudo apt-get install xvnc4viewer". Fedora and CentOS users type the command "sudo apt-get install vnc".

    • 9

      Type the command "vncviewer 192.168.0.10:1" to log into the VNC server. Replace the "192.168.0.10" with the IP address of the VNC server that you want to log into.

    • 10

      Type the password for the VNC server when prompted.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured