Am 19.01.19 um 08:57 schrieb Stroganov Roman:
> sshfs root@10.3.10.117:/home x2gotempmount
> read: Connection reset by peer

Well, there's your problem: For some reason, you can't establish direct
sshfs mounts to the thinclient.  If *you* can't do it on the command
line, neither can X2GoClient, that's why the mounts don't show up in the
session.

Please make sure that in your "sessions" configuration file, the
parameter "fstunnel=true" is set.  Reboot the thinclient and start a new
connection.  Then plug in the flash disk and see if it shows up.


If it still doesn't show up, the next step to test things out would be a
bit more complicated.

First, you would have to boot the thinclient without the "nouser" and
"noroot" parameters, then switch to the console window (Ctrl+Alt+F1).

Login as user "user" with password "live".

Use "sudo -i" to become root.

As root, run:

sed -i -e 's/PasswordAuthentication no/PasswordAuthentication yes/'
/etc/ssh/sshd_config # this goes on one line

service ssh restart

ssh -R22222:127.0.0.1:22 useraccount.h...@yourserver.ip.goes.here

After entering the password for "useraccount.here", you should see your
shell prompt on the server.

There, run

mkdir -p x2gotempmount
sshfs -p 22222 user@127.0.0.1:/home x2gotempmount
#(password is "live")
ls -lah x2gotempmount
fusermount -u x2gotempmount
rmdir x2gotempmount

If this still doesn't get you more output than

> ls -lah x2gotempmount
> итого 8,0K
> drwxrwxr-x  2 rostma rostma 4,0K січ 19 09:43 ^[[0m^[[01;34m.^[[0m
> drwxr-xr-x 34 rostma rostma 4,0K січ 19 09:43 ^[[01;34m..^[[0m
> 
> fusermount -u x2gotempmount
> fusermount: entry for /home/rostma/x2gotempmount not found in /etc/mtab

then, while still logged in, please run

ssh -vvv -p 22222 user@127.0.0.1
(again, password "live")

and post the debug output.

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to