Re: [SLE] Remote desktop?!? [SOLVED Again!]

From: Jerry Westrick (jerry_at_westrick.com)
Date: 10/20/05

  • Next message: Michael Fischer: "Re: [SLE] Does anyone remember how to do this in 7.1?"
    To: suse-linux-e@suse.com
    Date: Thu, 20 Oct 2005 22:54:51 +0200
    
    

    On Thursday 20 October 2005 22:58, Bernd wrote:
    > Are there specific password files that I need to tweak? I did add the
    > vnc module to XF86Config as suggested in readme file. Anything else?
    >
    > Ahah! Found it! That was my problem. I just tried to complicate
    > something really simple.
    >
    > DO NOT add the vnc module into the XF86Config file!!!
    >
    > All is well! Tested, rebooted all machines, and tested again from
    > all.
    >
    > What's next? XWindows VNC and secure remote access via internet are
    > the 2 that strike me as most needful to start with.
    >
    > Bernd

    Okay, what you got now is the KDE Remote Desktop implementation of vnc...
    The XWindows VNC (Which I've never done!) Would be.....
    =============

    Yep, you guessed it. Adding the vnc module to the XConfig file, (and
    removing) turning the KDE Remote Desktop off.

    I Use the Vnc Terminal Server approach, as I don't really want to see
    what's on the screen down stairs, I just want a graphical environment
    (or two 8-). It's also easier to setup (I think). Some one else will have
    to jump in and help you out with that, as I wouldn't know how to set
    the required password.

    The Terminal Server process is setup as follows:
    got to: Yast2->Network Services->Remote Administration
      There you select "Allow Remote Administration"
      I would not select "Open firewall port", but the risk is yours.
      Click finish

    Now on XP connect with vncviewer to Linux as usual but add ":1" to the
    end of the linux-ip address. You should get a graphical login just like
    you do on the linux screen!

    If you like this, but want bigger desktops, you can go to:
    Yast2->Network services->Network services (xinetd)
    There scroll down till you find vnc2, (and possibly vnc3?).
    Select the line, click "Toggle On/Off Status",
    Click Finish...

    Now you can get 1280x1024 screens by using the suffix :2
    and 1600x1280 with the suffix :3

    Secure Remote access from Internet
    =======================

    my way to do this is via ssh. Now many other people have other ways.
    Here is how to vnc via ssh from linux:
    vncviewer -via <remote-user>@<remtoe-ip> localhost:0 (or :1, :2, etc).
    After entering the remote user's password vnc-window will open up...

    Of course, under windows it's a good deal more complicated!
    First we get it working from XP to Linux INSIDE your network,
    then we mess with your routers!

    So you need a windows ssh client. Putty is the defacto Freeware standard
    and it's on the SuSE DVD's. install it.

    Then you need to open an encrypted tunnel from you XP to Linux that is
    pointed to the VNC server of your linux. This is down as follows:

    Start up Putty:
    - Enter linux host name or linux ip address.
    - Select ssh.
    - (in lefthand category tree) select SSH
    - click Enable Compression (this compresses the data thru the tunnel)
    - (in lefthand category tree) select Tunnels
    Now Depending on Which VNC you want to connect to
    do one or more of the following:

    Tunnel XWindows VNC or KDE Remote Desktop:
    - Create a local tunnel from XP port 5950 to linux and
      from there to localhost:5900
      - put 5950 in source port
      - put localhost:5900 as Destination.
      - Click add

    Tunnel Vnc Terminal Server login 1024x768 size
    - Create a local tunnel from XP port 5951 to linux and
      from there to localhost:5901
      - put 5951 in source port
      - put localhost:5901 as Destination.
      - Click add

    Tunnel Vnc Terminal Server login 1280x1024 size
    - Create a local tunnel from XP port 5952 to linux and
      from there to localhost:5902
      - put 5952 in source port
      - put localhost:5902 as Destination.
      - Click add

    Tunnel Vnc Terminal Server login 1600x1280 size
    - Create a local tunnel from XP port 5953 to linux and
      from there to localhost:5903
      - put 5953 in source port
      - put localhost:5903 as Destination.
      - Click add

    After you defined your tunnel(s), You need to save the settings!
    - (in lefthand category tree) select Session
    - In Saved Sessions enter a name
    - Click save

    Okay... Configuration is done:

    Now you can start the tunnels by double-Clicking the name
    in the list under saved sections.
    You will get a "Dos-Box" (actual your linux shell) where linux
    will ask you for username and password.
    After entering then you get the linux prompt, as long as this
    linux terminal is open the defined tunnels are open.

    So now you can connect to linux via vnc by connecting to
    The ports 5950, 5951, 5952, and/or 5953.

    NOTE: Theese are the entrance ports to the tunnels from
    your XP to linux; so the ports are on your local XP!

    So start vnc, enter as address localhost:50, (or :51, etc)
    and you wil get a Secure (and compresssed) vnc connection
    to your linux machine.

    Boy that was a long one....
    And I probably confused everbody out there!

    Oh well, I'll let you get past this before we discuss how to
    modify your internet router to allows ssh in to your linux box
    (and thereby allowing you to securely access both your Linux
    and your XP boxes from the internet!)

    Jerry

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Michael Fischer: "Re: [SLE] Does anyone remember how to do this in 7.1?"

    Relevant Pages

    • Re: VNC Through WinSSHD
      ... But you NEED to know the port ... >> number for establishing the tunnel. ... When starting the local vnc viewer, you must enter the "remote" host ... For the remote end of the tunnel you specify either the real name or the ...
      (comp.security.ssh)
    • Help using SSH tunnelling
      ... Linux box, but I'm having difficulties. ... On my NT machine I'm running PuTTY as an SSH2 client, ... option I've added a new port forward option: ... If I try to run the vnc client on the NT ...
      (comp.os.linux.security)
    • Re: VNC into Linux server
      ... > the RealVNC server). ... > on the Linux box from the Win2K box running the TightVNC viewer. ... > It appears the Linux box is listening on port 5901. ... The VNC viewer ...
      (comp.os.linux.networking)
    • Re: Apple Remote Desktop, anybody?
      ... understand via heresay that ARD can control a windows (or Linux) ... compatible with a VNC enabled pc? ... Timbuktu for Mac and Windows (does ...
      (comp.sys.mac.apps)
    • Re: PLINK and/or PuTTY -- Logon to Linux with no Privileges
      ... port 443 so it would look like HTTPS to a firewall (is that right ... We've tried just regular VNC, with no luck, then tried it on port 80, ... and would rather me run a tunnel than pay to have anything ...
      (comp.security.ssh)