Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I want to access the GUI of the remote server. Right now, all I can do is ssh to it, but i am not able to run startx via ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    6

    accessing remote GUI.


    Hi,

    I want to access the GUI of the remote server. Right now, all I can do is ssh to it, but i am not able to run startx via ssh and get the GUI interface .

    I guess there must be some way to access remote GUI of the server. How do I do it ?

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    If the server is within your LAN you could likely get by forwarding X. To do this you'll need to edit /etc/ssh/sshd_config on the server to allow for X11 forwarding. Make it look like this:
    Code:
    X11Forwarding yes
    Save and exit. Then, from the other machine, do:
    Code:
    ssh -Y servermachine
    You probably won't be able to startx but you can start remote applications and they'll come up on the client's monitor. If you really need to see the server's desktop as if you were sitting in front of it, you'll want to install a VNC server on the server and log into it from the other machine. See this for more...

    HOWTO - Linux VNCserver
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    19
    You could also try NoMachine. It's fast and secure.

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Quote Originally Posted by vlad59 View Post
    You could also try NoMachine. It's fast and secure.
    True. But a little more difficult to set up if you've never done this sort of thing. I'd do VNC first, then graduate to nomachine once you feel you have a good grasp on what is what.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  6. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    19
    I don't agree about the complexity of NoMachine. Try googling for "nomachine lenny" for a quick how to.

    It's really a matter of 3 package to install and that's all.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •