Hi all
I have installed x2go and so far it is working fine except two things:
After reading, searching and trying for some days now, I'm stuck and need help.
Some details about the involved machines: Server: Xubuntu 16.04.1 on an ESXi (4GB RAM, 4vCPU, 30GB Disk) Clients:
On all machines the current (stable) x2go version from the ppa is installed. In the session-settings, I configured a shared folder "media". I installed x2gousbmount to be able to mount an usb key on clientside. The users on the server are in the "fuse" group.
After connecting to the session I can't find my local shared folder.
I'm getting this in the servers log file (loglevel debug): (terminaluser = the user on my server, localuser = the user on the client)
Aug 7 20:50:37 ts1 systemd[1]: Started Session 120 of user
terminaluser.
Aug 7 20:50:37 ts1 /usr/bin/x2golistsessions[13860]: x2golistsessions
has been called with no option
Aug 7 20:50:37 ts1 /usr/bin/x2gostartagent: x2gostartagent called with
options: 1280x1024 lan adaptive-9 unix-kde-depth_24 us
pc105/de(nodeadkeys) 1 D XFCE none
Aug 7 20:50:37 ts1 /usr/bin/x2gostartagent: client announced itself as
,,192.168.82.65''
Aug 7 20:50:38 ts1 /usr/bin/x2gosessionlimit[13887]: x2gosessionlimit
has been called
Aug 7 20:50:38 ts1 /usr/bin/x2golistsessions[13890]: x2golistsessions
has been called with options: --all-servers
Aug 7 20:50:38 ts1 /usr/lib/x2go/x2gogetdisplays[13907]: db_getdisplays
called, server: ts1; return value: |50|
Aug 7 20:50:38 ts1 /usr/lib/x2go/x2gogetports[13916]: db_getports
called, server: ts1; return value: |30001| |30002| |30003|
Aug 7 20:50:38 ts1 /usr/lib/x2go/x2goinsertsession[13939]:
db_insertsession called, session ID:
terminaluser-51-1470595838_stDXFCE_dp24, server: ts1, session ID:
terminaluser-51-1470595838_stDXFCE_dp24
Aug 7 20:50:39 ts1 /usr/lib/x2go/x2gogetports[13948]: db_getports
called, server: ts1; return value: |30001| |30002| |30003|
Aug 7 20:50:39 ts1 /usr/sbin/x2gocleansessions[28121]:
terminaluser-51-1470595838_stDXFCE_dp24: state file for this session
does not exist:
/tmp/.x2go-terminaluser/C-terminaluser-51-1470595838_stDXFCE_dp24/state
(this can be ignored during session startups)
Aug 7 20:50:39 ts1 /usr/lib/x2go/x2goinsertport[13968]: db_insertport
called, session ID: terminaluser-51-1470595838_stDXFCE_dp24, server:
ts1, SSH port: 30004
Aug 7 20:50:39 ts1 /usr/lib/x2go/x2gogetports[13980]: db_getports
called, server: ts1; return value: |30001| |30002| |30003| |30004|
Aug 7 20:50:40 ts1 /usr/lib/x2go/x2goinsertport[13994]: db_insertport
called, session ID: terminaluser-51-1470595838_stDXFCE_dp24, server:
ts1, SSH port: 30005
Aug 7 20:50:40 ts1 /usr/lib/x2go/x2gogetports[14003]: db_getports
called, server: ts1; return value: |30001| |30002| |30003| |30004|
|30005|
Aug 7 20:50:40 ts1 /usr/lib/x2go/x2goinsertport[14021]: db_insertport
called, session ID: terminaluser-51-1470595838_stDXFCE_dp24, server:
ts1, SSH port: 30006
Aug 7 20:50:40 ts1 /usr/bin/x2gofeature: x2gofeature called with
options: X2GO_RUN_EXTENSIONS
Aug 7 20:50:40 ts1
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Aug 7 20:50:40 ts1 /usr/bin/x2goserver-run-extensions:
x2goserver-run-extensions called with options:
terminaluser-51-1470595838_stDXFCE_dp24 pre-start
Aug 7 20:50:40 ts1 /usr/bin/x2gostartagent: successfully started X2Go
agent session with ID terminaluser-51-1470595838_stDXFCE_dp24
Aug 7 20:50:40 ts1 /usr/bin/x2gofeature: x2gofeature called with
options: X2GO_RUN_EXTENSIONS
Aug 7 20:50:40 ts1
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Aug 7 20:50:41 ts1 /usr/bin/x2goserver-run-extensions:
x2goserver-run-extensions called with options:
terminaluser-51-1470595838_stDXFCE_dp24 post-start
Aug 7 20:50:41 ts1 /usr/lib/x2go/x2gocreatesession[14097]:
db_createsession called, session ID:
terminaluser-51-1470595838_stDXFCE_dp24, cookie:
c44dd55b3d346d330f3ce98d2daaeb3f, client: 192.168.82.65, pid: 14064,
graphics port: 30004, sound port: 30005, file sharing port: 30006
Aug 7 20:50:41 ts1 /usr/bin/x2gostartagent: blocking creation of
agent's keyboard file
/tmp/.x2go-terminaluser/C-terminaluser-51-1470595838_stDXFCE_dp24/keyboard
as requested by session startup command
Aug 7 20:50:41 ts1 /usr/bin/x2goruncommand: x2goruncommand called with
options: 51 14064 terminaluser-51-1470595838_stDXFCE_dp24 30005
xfce4-session nosnd D
Aug 7 20:50:41 ts1 /usr/bin/x2goruncommand: exporting
LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11
Aug 7 20:50:41 ts1 /usr/bin/x2gomountdirs[14132]: x2gomountdirs has
been called with options: dir terminaluser-51-1470595838_stDXFCE_dp24
localuser /home/terminaluser/.x2go/ssh/key.hU4363
/media:/home/localuser/.x2go/S-terminaluser-51-1470595838_stDXFCE_dp24/spool__PRINT_SPOOL___REVERSESSH_PORT__30006
Aug 7 20:50:41 ts1 /usr/bin/x2gofeature: x2gofeature called with
options: X2GO_RUN_EXTENSIONS
Aug 7 20:50:41 ts1
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: db_insertmount
called, session ID: terminaluser-51-1470595838_stDXFCE_dp24, path:
/tmp/.x2go-terminaluser/media/disk/_media, client: 127.0.0.1; return
value: 1
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: SSH key file has
arrived: /home/terminaluser/.x2go/ssh/key.hU4363
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: SSH host key has
arrived: /home/terminaluser/.x2go/ssh/key.hU4363.ident
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: executing: timeout 30
sshfs -o idmap=user,uid=id -u
,gid=id -g
,default_permissions,ServerAliveInterval=300,Cipher=blowfish,IdentityFile=/home/terminaluser/.x2go/ssh/key.hU4363,UserKnownHostsFile=/home/terminaluser/.x2go/ssh/key.hU4363.ident
"localuser"@127.0.0.1:"/media"
"/tmp/.x2go-terminaluser/media/disk/_media" -p 30006
Aug 7 20:50:42 ts1 /usr/bin/x2goserver-run-extensions:
x2goserver-run-extensions called with options:
terminaluser-51-1470595838_stDXFCE_dp24 pre-runcommand
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: WARNING: mounting of
/media failed
Aug 7 20:50:42 ts1 /usr/bin/x2goruncommand: running command
/usr/bin/xfce4-session
Aug 7 20:50:42 ts1 /usr/bin/x2gosetkeyboard: x2gosetkeyboard called
with options:
Aug 7 20:50:42 ts1 /usr/bin/x2gofeature: x2gofeature called with
options: X2GO_XSESSION
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: db_deletemount
called, session ID: terminaluser-51-1470595838_stDXFCE_dp24, path:
/tmp/.x2go-terminaluser/media/disk/_media
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: mounting
/tmp/.x2go-terminaluser/spool/C-terminaluser-51-1470595838_stDXFCE_dp24,
mount point type is print spool directory
Aug 7 20:50:42 ts1 /usr/bin/x2gosetkeyboard:
/home/terminaluser/.x2go/C-terminaluser-51-1470595838_stDXFCE_dp24/keyboard
is blocked, not setting keyboard parameters from client-side settings
Aug 7 20:50:42 ts1
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features:
x2goserver-extensions.features called with options: X2GO_XSESSION
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: db_insertmount
called, session ID: terminaluser-51-1470595838_stDXFCE_dp24, path:
/tmp/.x2go-terminaluser/spool/C-terminaluser-51-1470595838_stDXFCE_dp24,
client: 127.0.0.1; return value: 1
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: SSH key file has
arrived: /home/terminaluser/.x2go/ssh/key.hU4363
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: SSH host key has
arrived: /home/terminaluser/.x2go/ssh/key.hU4363.ident
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: executing: timeout 30
sshfs -o idmap=user,uid=id -u
,gid=id -g
,default_permissions,ServerAliveInterval=300,Cipher=blowfish,IdentityFile=/home/terminaluser/.x2go/ssh/key.hU4363,UserKnownHostsFile=/home/terminaluser/.x2go/ssh/key.hU4363.ident
"localuser"@127.0.0.1:"/home/localuser/.x2go/S-terminaluser-51-1470595838_stDXFCE_dp24/spool"
"/tmp/.x2go-terminaluser/spool/C-terminaluser-51-1470595838_stDXFCE_dp24"
-p 30006
Aug 7 20:50:42 ts1 /usr/share/x2go/x2gofeature.d/x2goserver.features:
x2goserver.features called with options: X2GO_XSESSION
Aug 7 20:50:42 ts1
/usr/share/x2go/x2gofeature.d/x2goserver-xsession.features:
x2goserver-xsession.features called with options: X2GO_XSESSION
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: WARNING: mounting of
/home/localuser/.x2go/S-terminaluser-51-1470595838_stDXFCE_dp24/spool
failed
Aug 7 20:50:42 ts1 /usr/bin/x2goruncommand: launching session with
Xsession-x2go mechanism, using STARTUP="xfce4-session"
Aug 7 20:50:42 ts1 /usr/bin/x2gomountdirs[14132]: db_deletemount
called, session ID: terminaluser-51-1470595838_stDXFCE_dp24, path
When I plug in an usb key, I get no reaction on the server. After starting x2goclient with --debug, I get this on the client: "/org/freedesktop/UDisks2/drives/USB2_2e0_Flash_Disk_FD4510E5" has new interfaces: ("org.freedesktop.UDisks2.Drive") "/org/freedesktop/UDisks2/block_devices/sdd" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable") "/org/freedesktop/UDisks2/block_devices/sdd1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
but no further actions.
I would be happy if someone can tell me what I'm doing wrong here or help me otherwise.
with kind regards, dura