[X2Go-Commits] page changed: wiki:obsolete:x2goserver-home-ubuntu-installation

wiki-admin at x2go.org wiki-admin at x2go.org
Tue Mar 12 21:23:24 CET 2013


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2013/03/12 20:23
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address  : 46.142.148.41
Hostname    : 41-148-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:obsolete:x2goserver-home-ubuntu-installation?rev=1362749499
New Revision: http://wiki.x2go.org/doku.php/wiki:obsolete:x2goserver-home-ubuntu-installation
Edit Summary: removed
User        : sunweaver

@@ -1,63 +1 @@
- ====== Installation ======
- :!: **Before you begin!**
- > Please make sure that you have added the x2go repository to your package management system. The required steps are described here: [[adding the x2go repository (debian)]]!
- ===== Installing X2goserver-ONE (One Node Edition) =====
- 
- X2goserver-HOME is a meta package which will install an x2goserver for a ubuntu host. This meta package will take care of configuring your system and you'll be
able to use it after very short time. This “HOME edition”  takes care about all differences between debian and ubuntu. An unlimited number of users can access this PC – but you won't be able to use multi server features like “load balancing”. 
- 
- <code>
- # apt-get install x2goserver-one
- </code>
- 
- Depending on the already installed packages, this command will add additional software to your computer. Please make sure that the following packages are installed: SSHFS, FUSE and SQLIGHT3. 
- Congratulations – you are now able to access your PC with the help of a configured x2goclient.
- 
- 
- :!: **Warning!**
- > If you add further users to your system, please make sure that they are part of the posix group “x2gousers”, so that they are able to log into the X2go system.
- 
- :!: **Warning!**
- > If you would like to use the file system sharing option of X2go, you'll need to make sure that those users also are part of the posix group “fuse”. This membership is
also needed by x2goprint.
- 
- :!: **Warning!**
- > For Ubuntu x2go Server use as a remote desktop.
- 
- If you have been you seeing an x2go connection failure message to the Server "a.b.c.d" such as:
- 
- **Connection failed a.b.c.d: Failed to add the host to the list of known hosts (/home/userID/.ssh/known_hosts). Permission denied (publickey).**
- 
- Then the following may be the cause of your failure.  If you plan to log in to a remote Ubuntu x2go "server" machine (lets call it "TargetDesktop") there is one SSH configuration setting (/etc/ssh/sshd_config) on TargetDesktop that you will want to change.   
- 
- Using a text editor as (nano, gedit) edit sshd_config and change the following.   The First will allow a user connection using a login ID and password (re Challenge/Response) from the x2go "clients".   The Second is considered a generally good practice.
- 
- **1)** edit the TargetDesktop machine's /etc/ssh/sshd_config file:
- 
- **sudo gedit /etc/ssh/sshd_config**
- 
-
//Ubuntu default is:  ChallengeResponseAuthentication no//
- 
- # Change to "yes" to enable challenge-response passwords (beware issues with
- # some PAM modules and threads)
- 
- **ChallengeResponseAuthentication yes**
- 
- **2)**  Since you are already editing your x2go server's ssh configuration another good security practice is to DENY direct Root Log-in.   
- 
- If you have configured your Server correctly you would already have made User(s) a member of the admin and adm groups which gives that user(s) the ability to use //sudo//.   With that there's really no need for direct root login so disable it.
- 
- NOTE: in this section of the sshd_config file the Ubuntu default is 'yes' for 
- //PermitRootLogin yes//  --> Change it to "no"
- 
-   * Authentication
-   * LoginGraceTime 120
-   * **PermitRootLogin no**
-   * StrictModes yes
- 
- Save the file and exit the editor.
- 
- **Finally, remember to restart the SSH server on the TargetDesktop machine so both the changes take
effect** using the following command:
- 
- **sudo /etc/init.d/ssh restart**
- 
- The first change above should now permit your x2go clients to log in.
  



-- 
This mail was generated by DokuWiki at
http://wiki.x2go.org/




More information about the x2go-commits mailing list