This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:obsolete:x2goserver-home-ubuntu-installation [2010/12/19 14:54] bmullan Adding warning about ssh config change on remote desktop server |
wiki:obsolete:x2goserver-home-ubuntu-installation [2011/11/15 11:27] sunweaver wiki:installing_x2goserver-home_ubuntu renamed to wiki:obsolete:x2goserver-home-ubuntu-installation (Found obsolete wiki page) |
||
---|---|---|---|
Line 23: | Line 23: | ||
> For Ubuntu x2go Server use as a remote desktop. | > For Ubuntu x2go Server use as a remote desktop. | ||
- | If you have been you seeing an x2go connection failure message such as: | + | If you have been you seeing an x2go connection failure message |
**Connection failed a.b.c.d: Failed to add the host to the list of known hosts (/ | **Connection failed a.b.c.d: Failed to add the host to the list of known hosts (/ | ||
- | |||
Then the following may be the cause of your failure. | Then the following may be the cause of your failure. | ||
- | Using a text editor as (nano, gedit) edit sshd_config and change the following. | + | Using a text editor as (nano, gedit) edit sshd_config and change the following. |
**1)** edit the TargetDesktop machine' | **1)** edit the TargetDesktop machine' | ||
Line 36: | Line 35: | ||
**sudo gedit / | **sudo gedit / | ||
- | + | //Ubuntu default is: | |
- | //Ubuntu default is: | + | |
# Change to " | # Change to " | ||
Line 48: | Line 46: | ||
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 // | 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 // | ||
- | # Authentication: | + | NOTE: in this section of the sshd_config file the Ubuntu default is ' |
- | LoginGraceTime 120 | + | //PermitRootLogin yes// |
- | # NOTE: //in Ubuntu default is ' | + | |
- | # Change it to " | + | * Authentication |
- | **PermitRootLogin no** | + | * LoginGraceTime 120 |
- | StrictModes yes | + | * **PermitRootLogin no** |
+ | | ||
Save the file and exit the editor. | Save the file and exit the editor. | ||
- | Finally, restart the SSH server on the TargetDesktop machine so both the changes take effect using the following command: | + | **Finally, |
- | ** | + | |
- | sudo / | + | **sudo / |
The first change above should now permit your x2go clients to log in. | The first change above should now permit your x2go clients to log in. | ||