[X2Go-User] Folder sharing

"BOTZ Franck (Administrateur Systèmes et Réseaux) - DDT 67/SIDSIC/Pôle Infra" franck.botz at bas-rhin.gouv.fr
Wed Oct 19 08:51:09 CEST 2016


Hi !

So, there is my configuration :

Terminal
Hardware : HP t620
HP Thinpro (ubuntu 14.04 base)
x2goclient 4.0.5.3

Broker
Ubuntu server 16.04 64 LTS
python-x2gobroker           0.0.3.1-0~934~ubuntu16.04.1 all          
X2Go Session Broker (Python modules)
x2gobroker                          0.0.3.1-0~934~ubuntu16.04.1 
all          X2Go Session Broker (executable)
x2gobroker-loadchecker   0.0.3.1-0~934~ubuntu16.04.1 all          X2Go 
Session Broker (load checker service)
x2gobroker-ssh                   0.0.3.1-0~934~ubuntu16.04.1 
amd64        X2Go Session Broker (SSH broker)

Server :
Ubuntu Desktop 16.04 64 LTS
libx2go-log-perl 4.1.0.0-0~1359~ubuntu16.04.1 all          Perl 
X2Go::Log package
libx2go-server-db-per 4.1.0.0-0~1359~ubuntu16.04.1 amd64        Perl 
X2Go::Server:DB package
libx2go-server-perl 4.1.0.0-0~1359~ubuntu16.04.1 all          Perl 
X2Go::Server package
x2goagent 2:3.5.0.33-0~687~ubuntu16.04.1 all          X2Go agent
x2gobroker-agent 0.0.3.1-0~934~ubuntu16.04.1 amd64        X2Go Session 
Broker (remote agent)
x2goclient 4.0.5.1-0~1103~ubuntu12.04.1 amd64        X2Go Client 
application (Qt4)
x2goserver 4.1.0.0-0~1359~ubuntu16.04.1 amd64        X2Go server daemon 
scripts
x2goserver-common 4.1.0.0-0~1359~ubuntu16.04.1 amd64        X2Go Server 
(common files)
x2goserver-extensions 4.1.0.0-0~1359~ubuntu16.04.1 all          X2Go 
Server (extension support)
x2goserver-fmbindings 4.1.0.0-0~1359~ubuntu16.04.1 all          X2Go 
Server (file manager bindings)
x2goserver-printing 4.1.0.0-0~1359~ubuntu16.04.1 all          X2Go 
server (printing support)
x2goserver-xsession                 4.1.0.0-0~1359~ubuntu16.04.1

I can connect from my t620 to the server trough the broker. I can 
resum/suspend a session. The system is functionnal.

My next step is sharing a folder on the t620 (the folder used to mount a 
mass storage /tmp/tmpfs/media and access to it from the session open on 
the server.

On the broker, my x2gobroker-sessionprofiles.conf :
[DEFAULT]
defsndport=true
useiconv=false
iconvfrom=UTF-8
#height=600
export=
quality=9
#fullscreen=true
#layout=
#model=
useexports=true
#width=800
speed=2
soundsystem=pulse
print=false
sndport=4713
xinerama=true
variant=
usekbd=true
fstunnel=true
applications=
multidisp=false
sshproxyport=22
sound=true
rootless=true
iconvto=UTF-8
soundtunnel=true
dpi=96
sshport=22
setdpi=0
pack=16m-jpeg
directrdp=false
user=

[xfce]
host=x2go-server-01 (10.0.0.1)
name=XFCE
command=XFCE
type=auto
fullscreen=true
xinerama=false
export="/tmp/tmpfs/media:1"
broker-session-autologin=false
usebrokerpass=true

As you can see, in the xfce section, I export the "/tmp/tmpfs/media:1" 
directory.

On the t620 my mass storage is mounted on /tmp/tmpfs/media/SomeUsbStick 
and I access it with the user who launch the x2goclient.

When the session openned I see on the server :
   * the time to open session is longer with the export directive
   * the media directory appears is home directory
   * the media contained disk/_tmp_tmpfs_media directory
   * When I list _tmp_tmpfs_media i have "permission denied"
   * the mount command let me see (but brievely) a line like 
user at 127.0.0.1 ...
   * the trash disappear

So what can I do to access to my USB mass storage stick ?

Sincerly

Franck


More information about the x2go-user mailing list