Hello,
I'm sharing a Java application over x2go which is started as single application. Now there is a problem to access the shared folder of the client.
x2gomountdirs mounts the folder as a link to /tmp/.x2go-{$USER}/... When the java applications file chooser dialog wants to access /media then the selection jumps to /tmp but cannot find the hidden folder /tmp/.x2go-{$USER} directory, because it is a hidden .dot directory.
Is ist possible to change the hardcoded directories to another, not hidden path, eg. /tmp/x2go-{$USER}... and additionally move the temporary files to the users home directory?
Thanks! Klaus
On 10/26/2015 05:53 AM, Klaus Fuerstberger wrote:
Hello,
I'm sharing a Java application over x2go which is started as single application. Now there is a problem to access the shared folder of the client.
x2gomountdirs mounts the folder as a link to /tmp/.x2go-{$USER}/... When the java applications file chooser dialog wants to access /media then the selection jumps to /tmp but cannot find the hidden folder /tmp/.x2go-{$USER} directory, because it is a hidden .dot directory.
Is ist possible to change the hardcoded directories to another, not hidden path, eg. /tmp/x2go-{$USER}... and additionally move the temporary files to the users home directory?
If x2go needs to manipulate any files as root (I do not know), then this needs to not be in the home directory which could be on NFS. I agree though that it shouldn't be hidden, and also suggest that it should be in XDG_RUNTIME_DIR.
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com
Orion Poplawski schrieb am 27.10.2015 um 02:56:
If x2go needs to manipulate any files as root (I do not know), then this needs to not be in the home directory which could be on NFS. I agree though that it shouldn't be hidden, and also suggest that it should be in XDG_RUNTIME_DIR.
x2go mounts are done as uid and gid of the user who starts an x2go session. So I think the mounts for shared directories and printing spool could be done in users home. But if they had to be in /tmp, please not hidden. XDG_RUNTIME_DIR or another variable across all x2go* scripts would be very helpful. Can and will this eventually be implemented?
Klaus
Klaus Fuerstberger schrieb am 27.10.2015 um 14:43:
Orion Poplawski schrieb am 27.10.2015 um 02:56:
If x2go needs to manipulate any files as root (I do not know), then this needs to not be in the home directory which could be on NFS. I agree though that it shouldn't be hidden, and also suggest that it should be in XDG_RUNTIME_DIR.
x2go mounts are done as uid and gid of the user who starts an x2go session. So I think the mounts for shared directories and printing spool could be done in users home. But if they had to be in /tmp, please not hidden. XDG_RUNTIME_DIR or another variable across all x2go* scripts would be very helpful. Can and will this eventually be implemented?
Any news about this?
Thanks Klaus