What are my options for Remote Desktop in a linux environment

Posted on 2014-08-15
Last Modified: 2014-10-13
I need some options for Remote Desktop to work in a linux environment.
Question by:jjimen
    LVL 23

    Expert Comment

    Are you tempting into windows machines? If so you can use rdesktop or freedrp.

    If you want remote desktop access to other Linux machines you can use VNC.
    LVL 4

    Author Comment

    How would I VNC into my machine if it doesn't have a public IP address. I'm trying to remote into my linux machine from work.
    LVL 74

    Expert Comment

    by:käµfm³d 👽
    If you haven't already, you had better check with your network guys at the office. Many companies do not allow remote desktop connections for security reasons, and of those that do, some actually have specific requirements for what software can be used.
    LVL 23

    Expert Comment

    Kaufmed is correct. Not only is there most likely a policy against it, but even if there isn't you will need someone to create firewall rules for you to accomplish VNC from home.
    LVL 76

    Expert Comment

    What is it you want to do on your home system.
    One option is to use ssh to establishaconnection withX-windows, xming on the local workstation, you can send any graphical interface from the remote home system to the workstation.
    As others pointed out, network policy could prevent......
    LVL 9

    Expert Comment

    VNC will definitely need ports to be forwarded through your firewall, most company will not allow this, never mind no company will allow it, without it being a work computer with their remote software running on it.
    Check with IT to make sure you're not breaking any policy.
    LVL 18

    Expert Comment

    Usually VNC uses port 5901, so ask your IT-support to open this port into your Linux workstation at work. Also ask the IT-support to supply you with the public IP into your Linux workstation.

    Another option can be to use or Dameware to do a reverse connection into your Linux workstation. This requires you to first start the connection from the Linux machine at work.
    LVL 10

    Expert Comment

    Hi jjimen,

    On your linux box:

    make sure you have VNC server installed.

    make sure your VNC server is running.
    You should be able to find the open port using the command: netstat -naop | grep tcp | grep LIST | grep 59

    make sure your iptables firewall is either disabled or configured to accept inbound connections.
    the command: service iptables status, usually shows the configured ports and the iptables status.

    On your router:
    make sure your home router is forwarding external traffic to your linux machine. Usually this is done using some form of NAT (network adress translation) service. Review your routers documentation on how to achieve this.

    Make sure you are using the correct external IP. You can simply google: whatsmyip to find the correct address. Some ISPs will periodically change your external IP. Websites like 'no-ip' offer DNS services to solve this problem.

    On your linux box (evidently) an (X) desktop should be available.

    Hope this is helpfull ;-)
    LVL 25

    Expert Comment

    LVL 9

    Expert Comment

    Teamviewer will work, bypass all firewall function and is encryted
    LVL 13

    Accepted Solution

    What is the purpose ?

    if remote support : TeamViewer/Ammyy Admin/PCSupport (all these has linux binaries to be used)

    if LAN support : VNC is best and at client use (tiger Vnc/XAMPP etc.. )


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now