Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: New To Ubuntu and need Advice

  1. #1
    Join Date
    Jan 2010
    Location
    Greeley, CO
    Beans
    33
    Distro
    Ubuntu 10.10 Maverick Meerkat

    New To Ubuntu and need Advice

    Hi all,

    I live in Northern Colorado and I have just started using Ubuntu on my Gateway Laptop and I have to old desktop going to waist in my basement and I want to use them for my Mom who lives 20 miles away from me who wants a computer for Internet surfing and email and My sister who lives in Nebraska about 2 hours from me. I am looking for a program that will allow me to connect remotely to their computers if they run into problems and I can do updates etc without actually having to be there. Can anyone give me any advice. PS neither one of them has much computer experience, I have been using windows since I was 9 so Linux is new but I am willing to learn. Also I am wanting to know about new computer builds this is the year I build my new system and I have decided on a AMD Quad core AM3 system with Radeon 5770 1gb card for video and 500gb Western Digital HD, as well as MSI or Asus for my motherboard. I would like to have the following when I am done, AMD Quad Core 3.0 or Higher, 4gb of DDR3, 2x 500gb hd, 1gb ATI Radeon GDDR5 card and it will be used as the family desktop/file server...

  2. #2
    Join Date
    Jan 2008
    Location
    Lausanne, Switzerland
    Beans
    341
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: New To Ubuntu and need Advice

    If they have Windows, you can install realvnc on their machines and then access them via Remote Desktop.

  3. #3
    Join Date
    May 2010
    Beans
    625
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: New To Ubuntu and need Advice

    Look into VNC. I use it to remotely administer my Grandma's computer (even though she lives only 45m away). There are ports of VNC to all platforms (Windows, Linux, Mac, etc), along with the clients. The only issue with this is you will have to open up their router to forward the VNC port (usually 5900) to external hosts. And they they will have to accept your log in. I have a script for Windows that launches VNC, and then opens up Firefox (I can change that to Internet Explorer) to display their Public IP Address. BTW, do they use Windows or Ubuntu/Linux?



    Cipherboy

  4. #4
    Join Date
    Jan 2010
    Location
    Greeley, CO
    Beans
    33
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: New To Ubuntu and need Advice

    I am sorry I didn't explain myself better this is my fault, I am planning to install Ubuntu if I can on both systems since they just want the basic which should work for them for now till they learn more. So windows will not be used on any of the systems. Thanks again.

  5. #5
    pricetech is offline May the Ubuntu Be With You!
    Join Date
    Apr 2008
    Beans
    1,657

    Re: New To Ubuntu and need Advice

    VNC is inherently insecure and I wouldn't use it outside a LAN.

    If they're using Linux, which sounds like what you plan to set them up with if I understand your post, then SSH is your answer.

    If you need a GUI, which you probably will, I recommend NX from nomachine dot com.

    You will have to set up port forwarding in their routers so you can access them from the Internet and you might want to modify the port SSH uses, though some would scoff at the "security through obscurity" aspect of that.

    A Dynamic DNS provider can help with giving you an URL to point to such as "mom dot whatever dot com" or "sister dot whatever dot com" so you don't have to concern yourself with their current IP. I'm using DynDNS for this, but there are others.

    I'd solicit the help of a tech savvy and trusted friend for testing purposes so you can make sure it works before you leave their homes after setting it up.

  6. #6
    Join Date
    Jan 2010
    Location
    Greeley, CO
    Beans
    33
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: New To Ubuntu and need Advice

    Ok so how do I connect to another Ubuntu system with SSH? I found a tutorial on how to install SSH on Ubuntu and connect from a windows machine, but this doesn't help for what I am trying to do.

  7. #7
    Join Date
    May 2010
    Beans
    625
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: New To Ubuntu and need Advice

    Quote Originally Posted by pricetech View Post
    VNC is inherently insecure and I wouldn't use it outside a LAN.
    Granted, but if you don't leave VNC running all the time, and only turn it on when you need it, it become more secure; you cannot crack a remote service without it running. Also, you can set it up 1) to prompt you for a password to connect, 2) to prompt the host of the server (your Mother/Sister/etc) to accept your connection and 3) to have it only allow one connection at a time. On your way out of administering their system, you can close VNC, thus cutting off others from accessing it.


    If the OP does not need to see the graphical interface, I would go with PriceTech's solution of SSH (preferably using public keys), because SSH is inherently more secure than VNC, and, with the right setup, will stop attempts to crack the system.


    Sorry if the first part seems more like a flame, but VNC is only a hazard when it is running; if you don't have it autostart on boot, no-one can connect.



    Cipherboy

  8. #8
    Join Date
    May 2010
    Beans
    625
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: New To Ubuntu and need Advice

    ---SERVER SETUP---
    For the VNC server we will be using X11VNC simply because it is the easiest to setup for forwarding an existing X session.

    NOTE: Make sure you are logged as the person who will be needing assistance.

    To install open a terminal (Applications -> Accessories -> Terminal) and copy+paste/type:

    Code:
    sudo apt-get install -y x11vnc vnc4server
    and enter your password (for sudo). This will install the X11VNC and VNC4server packages. VNC4server is needed because X11VNC does not provide a vncpasswd utility which is needed to secure the system. Now we start securing the system.

    Code:
    mkdir -p ~/.vnc
    vncpasswd ~/.vnc/passwd
    Note, the vncpasswd password must be less than or equal to 8 characters in length.

    This will prompt you for a password and then store an encrypted form of it in ~/.vnc/passwd (if you want to see the encrypted form: cat ~/.vnc/passwd).

    We have installed the VNC server and ran the basic setup. The next step is to create a launcher for X11VNC that will:
    1) Stop any currently running sessions.
    2) Tell you what port X11VNC is running on,
    3) Tell you what the Public IP Address of that computer is.

    To do this, in the terminal type (Actually, read on past this group of commands and come back so that you know what this does):

    Code:
    mkdir ~/.tech
    cd ~/.tech
    cat > vnc-launcher << _EOF
    What we are doing is:

    With the first command creating a folder that is hidden (hence the . before the word tech).
    The second command moves into the hidden tech directory.
    But the third command is a bit harder to explain. Cat is a utility to view plaintext documents. But with advanced re-direction, we can turn it into something that will take what ever you type/paste and save it in the file. Paste the following bit of code into the terminal (it should give you a > as a prompt). Then press the enter key once (to give us a new line), and then type '_EOF' without the quotes.

    Code:
    #!/bin/bash
    
    ## A help script to start X11 for remote assistance.
    ## Copyright (C) 2010 Cipherboy_LOC (of the Ubuntu Forums).
    ## Licensed under the GNU General Public License version 3.
    
    ## Kill all other instances of the X11VNC server to ensure that you will always get port 5900.
    pkill x11vnc
    
    ## Start the server and print out the display that the server is on...
    x11vnc -nap -bg -many -rfbauth ~/.vnc/passwd -desktop "VNC ${USER}@${HOSTNAME}" -ncache 2>&1 | grep -i 'PORT='
    
    ## Tell the user to give the Public IP Address to the person who will be helping them.
    echo -e 'Please give this number to the tech guy:'
    
    ## Print out the number:
    curl -s http://checkip.dyndns.org/ | grep -o "[[:digit:].]\+"
    
    ## Pause before exiting.
    sleep 50
    The next thing to do is to (from the terminal) give the hidden tech folder better permissions (to prevent others from running this bit of code (could be a security threat).

    Code:
    chmod 754 ~/.tech/ -R
    chmod +x ~/.tech/vnc-launch
    The last thing left to do is to create a desktop icon. Remember that use of cat as a one time editor? Lets do that again:

    Code:
    cat > ~/Desktop/vnclauncher.desktop << _EOF
    Paste the following block of code into the prompt (again > should be the prompt), then hit the enter key once, and then type '_EOF' again without the quotes.

    Code:
    #!/usr/bin/env xdg-open                                                        
    
    [Desktop Entry]
    Name=Tech Support
    Comment=Allow your Tech Support guy to remotely help you.
    TryExec=gnome-terminal
    Exec=gnome-terminal -e "bash /home/*/.tech/vnc-launch"
    Icon=utilities-terminal
    Type=Application
    OnlyShowIn=GNOME;
    When clicked, GNOME-Terminal will open and print something like the following:

    PORT=5900
    Please give this number to the tech guy:
    xxx.xxx.xxx.xxx
    The only thing that is left for you to do is forward the 5900 port from the router, but that is not something that I can walk you through (due to the differences in routers).


    ---CLIENT SETUP---

    The client setup is simple now that the server is set up. You need to install a VNC viewer:

    Code:
    sudo apt-get install vinagre -y
    will install the default GNOME VNC viewer.

    ---HOWTO CONNECT THE TWO COMPUTERS---
    When the person with the VNC server needs help, get them to click on the desktop icon and tell you the "magic number" (their Public IP Address). Start vinagre (Applications -> Internet -> Remote Desktop Viewer), and click the connect button. In the box that comes up, it should look something like the following, except with their PublIc IP Address instead of 'X's:

    2010-12-26-100605_1280x800_scrot.png

    If you have any questions, please post them here or in another thread,
    Cipherboy
    Last edited by cipherboy_loc; December 30th, 2010 at 01:51 PM. Reason: Changed the parts with GEdit to a one-time cat for simplicity (at least for me).

  9. #9
    Join Date
    Apr 2011
    Beans
    17

    Re: New To Ubuntu and need Advice

    And coming in super-late to the thread to offer some 13th hour advice:

    TeamViewer

    I use it for everyone and it has the advantage that I can access it from anywhere. And best of all? It's free for non-commercial usage.

  10. #10
    Join Date
    Apr 2009
    Beans
    13

    Angry Re: New To Ubuntu and need Advice

    I'm across the border in Nebraska. I see there is no help team coming from Nebraska. We're always behind on matters, except football. I'm still a newbie with Ubuntu, but more so Ubuntu Forums.

    I'm needing help on an upgrade that was performed. It seems when you upgrade Ubuntu Studio 10.04, to 11.10, you can't log in to Ubuntu desktop with your previous password. I was able to log into XFCE, but I want to get back to a different desktop experience. So, from within XFCE, I upgraded my desktop to Kubuntu KDE, hoping to eventually get to 4.7.2. However, even though I selected KDM for my desktop, I can't get to that desktop. Only XFCE.

    How do I solve this problem? Please help. I accept emails as well as responses in this forum. goodshepherd@nctc.net

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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