Find the answer to your Linux question:
Results 1 to 10 of 10
Is there a way to gain remote access via a Windows machine to my Linux machine? How would I go about doing that while running a Netgear router at my ...
  1. #1
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Yorktown, VA
    Posts
    215

    Remote Access with GUI



    Is there a way to gain remote access via a Windows machine to my Linux machine? How would I go about doing that while running a Netgear router at my home? Do I need to configure my router to allow a certain port range to be open? Which IP address to I try to connect to? I know on my Linux machine I have the option to connect remotely to another computer via VNC or other remote options. But I don't know how to connect to that machine.
    MCP | Network+

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,204
    ***
    EDIT:

    My apologies, I didn't fully understand your question.

    Yeah, I've no idea.
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Yorktown, VA
    Posts
    215
    Quote Originally Posted by Cabhan
    The answer is Samba.

    I have no idea how to use it, and I don't know how to set it up. But you may want to start doing some research on it.
    I guess I will be reading into this later.

    If anyone has any good info, please post! thx
    MCP | Network+

  4. #4
    Just Joined!
    Join Date
    Jan 2005
    Location
    Topeka, KS, USA
    Posts
    88
    Samba allows more than file sharing?

    I think he's wanting to remotely control the computer, ie run the mouse and keyboard like he's sitting right at his Linux machine when he's using windows.

    If that's the case, he can use tightvnc, client and server on both Windows and Linux, and it available for download from http://www.tightvnc.com/download.html

    I'd recommend downloading from source, or you can convert the rpm to deb using alien. (Question, how do you install a package you've made this way? ie, how does apt find it?)

    I've never used tightvnc, but the documentation looks first rate.

  5. #5
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    VNC would definitely allow you to do this. SSH would also give you access to your box remotely, and if you're connecting from another 'nix box (or using cygwin or xLiveCD) you could run X applications natively (in other words, you could run the executable for firefox and have the browser pop up on your screen even though the program is actually being run from the remote machine).

    From your initial post I got the impression that you want to connect to your linux box from a machine that isn't on the same network? If that's the case, you would have to forward whichever port you want to use to your linux box from your router. You would, of course, also have to open the port on your linux box's firewall if you use one. For SSH it would be port 22 by default; I think the default port for tightVNC is 5900.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  6. #6
    Just Joined!
    Join Date
    May 2005
    Location
    VA, USA
    Posts
    39
    VNC will work for remote, but you will not get the same desktop as like in windows. i will explain.

    in windows you start the VNC server and it running in the back and you can connect to it and use that desktop and the user that is logged in. on linux the best i could get it to work is, you start the vnc server in and it will be running and it your logged in that's fine, but when you connect with VNC you will login with another instance of that user and have a fresh new desktop.

    Like at first i got VNC working and setup everything ono the desktop like IM and all the things i would need when i remoted into the box. well when i connected i didn't have all that and if i did a ps -e i would see all the things still running, but i wasn't able to use them.

    so i started to just start the box and login remote with VNC and setup everything, im and such, then disconnect, and when i needed the box i would only VNC in, and my IM and things would be there...

    hope that makes sense, it was the best way i could figure VNC to work for me, i don't use it anymore, i only use SSH and sometimes FTP and i have moved on from having to have GUI all the time.

  7. #7
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Yorktown, VA
    Posts
    215
    I appreciate everyones input. I tried 2 different vncservers, one shows the complete desktop, and the other has a blank back ground with a terminal. I can still run GUI programs in the later server but I just have to call them through the terminal.
    MCP | Network+

  8. #8
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Yorktown, VA
    Posts
    215
    MCP | Network+

  9. #9
    Just Joined!
    Join Date
    Aug 2007
    Location
    Suffolk
    Posts
    21
    CokeCan I'm trying to get VNC to work and all I can see is the terminal nothing else on mysetup. Can you tell me what you done to be able to see the GUI desktop PLEASE!?

  10. #10
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,784
    Hi, Alex@Synergy

    Please start a new thread because this one is over 2 years old and too old to be bringing back to the top.

    Thanks,

    oz
    oz

    new users: read this first
    no private messages requesting computer support - post them on the forums!

Posting Permissions

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