X2Go Bug report logs - #980
Replace hardcoded paths to make use of XDG_RUNTIME_DIR

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Klaus Fuerstberger <linuxbox@arcor.de>

Date: Tue, 12 Jan 2016 13:15:02 UTC

Severity: normal

Found in version 4.0.1.19

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 12 Jan 2016 13:12:24 +0000
From SRS0+LOOl=NM=arcor.de=linuxbox@datenwerkstatt.net  Tue Jan 12 14:12:22 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
	autolearn=ham version=3.3.2
X-Greylist: delayed 572 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Tue, 12 Jan 2016 14:12:22 CET
Received: from ulmo.datenwerkstatt.net (ulmo.datenwerkstatt.net [91.250.103.52])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 553FD3C574
	for <submit@bugs.x2go.org>; Tue, 12 Jan 2016 14:12:22 +0100 (CET)
Received: from ulmo.datenwerkstatt.net (localhost [127.0.0.1])
	by ulmo.datenwerkstatt.net (Postfix) with ESMTP id F264A20114
	for <submit@bugs.x2go.org>; Tue, 12 Jan 2016 14:02:44 +0100 (CET)
Received: from jetway.local (ipbcc09e0a.dynamic.kabel-deutschland.de [188.192.158.10])
	by ulmo.datenwerkstatt.net (Postfix) with ESMTPSA
	for <submit@bugs.x2go.org>; Tue, 12 Jan 2016 14:02:44 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by jetway.local (Postfix) with ESMTP id EC270641DA3
	for <submit@bugs.x2go.org>; Tue, 12 Jan 2016 14:02:44 +0100 (CET)
Received: from jetway.local ([127.0.0.1])
	by localhost (jetway.local [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id KixZ3r6lxLDP for <submit@bugs.x2go.org>;
	Tue, 12 Jan 2016 14:02:43 +0100 (CET)
Received: from [192.168.179.27] (ork.fritz.box [192.168.179.27])
	by jetway.local (Postfix) with ESMTPS id 7CE3B641C2E
	for <submit@bugs.x2go.org>; Tue, 12 Jan 2016 14:02:43 +0100 (CET)
From: Klaus Fuerstberger <linuxbox@arcor.de>
X-Enigmail-Draft-Status: N1110
To: submit@bugs.x2go.org
Subject: Replace hardcoded paths to make use of XDG_RUNTIME_DIR
Message-ID: <5694F987.9040902@arcor.de>
Date: Tue, 12 Jan 2016 14:03:03 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Icedove/38.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Package: x2go
Version: 4.0.1.19


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?

Or even better, replace the hardcoded paths in the scripts to use
XDG_RUNTIME_DIR.

Regards
Klaus


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:26:15 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.