From unknown Tue May 19 05:31:50 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#988: Dirty hack
Reply-To: Brent French <brent.french@eigendev.com>, 988@bugs.x2go.org
Resent-From: Brent French <brent.french@eigendev.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 28 Jan 2016 23:25:02 +0000
Resent-Message-ID: <handler.988.B988.145402323118360@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 988
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 988-submit@bugs.x2go.org id=B988.145402323118360
          (code B ref 988); Thu, 28 Jan 2016 23:25:02 +0000
Received: (at 988) by bugs.x2go.org; 28 Jan 2016 23:20:31 +0000
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.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 7C20A3BC4B
	for <988@bugs.x2go.org>; Fri, 29 Jan 2016 00:20:28 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 2h7i9MmrWGvW for <988@bugs.x2go.org>;
	Fri, 29 Jan 2016 00:20:27 +0100 (CET)
X-Greylist: delayed 350 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 29 Jan 2016 00:20:26 CET
Received: from mail800.eigendev.com (mail800.eigendev.com [208.181.56.110])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E83AE3BC4A
	for <988@bugs.x2go.org>; Fri, 29 Jan 2016 00:20:26 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail800.eigendev.com (Postfix) with ESMTP id 3BADF1EC00E2
	for <988@bugs.x2go.org>; Thu, 28 Jan 2016 15:14:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eigendev.com;
	s=mail800; t=1454022873;
	bh=VZ5USD4OSY/k9sLwEVF7R0AWU7f0vlwdfNmanQ8tD/I=;
	h=To:From:Subject:Date;
	b=J42BKUjjtOQ+2MhQsMRr0yy5h1At9E3+MZkB9PcjcZAp8fAxOtbTiRyYuO+wFEs8p
	 5HUSGkdGO1MkqvyvB27U9cNgNkem3pu0mMgW/9Rk/30/4AmTzS6bjdg+CO9pPLqAi9
	 75mkRNMhMgFvIFibOhNj2LMQQiV/eWLlUTwXwXzQ=
X-Virus-Scanned: Debian amavisd-new at eigendev.com
Authentication-Results: mr001.b.eigendev.com (amavisd-new); dkim=pass
	header.i=@eigendev.com
Received: from mail800.eigendev.com ([127.0.0.1])
	by localhost (mr001.b.eigendev.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id BfdQLIsomg1T for <988@bugs.x2go.org>;
	Thu, 28 Jan 2016 15:14:31 -0800 (PST)
To: 988@bugs.x2go.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eigendev.com;
	s=mail800; t=1454022871;
	bh=VZ5USD4OSY/k9sLwEVF7R0AWU7f0vlwdfNmanQ8tD/I=;
	h=From:Subject:Date;
	b=YNIXLzGFfJBvb4JJQB5A8Nz1C2BAXW8m9VMu1Ohdvulk3qFGaMCc6dXCLcZZHX3AE
	 2bCXUIVkZT/ZedUiWkQ+yLfbKPzplCiPKv/MwcoLVIyxWRY4siguSOsXgtTCIBmdtu
	 LD9q22CVVNlgPiD6C4LH48VdZy/HGJZxEa3Ujwjg=
From: Brent French <brent.french@eigendev.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <56AAA0D7.2080003@eigendev.com>
Date: Thu, 28 Jan 2016 15:14:31 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

I have been able to work around this issue by editing the
/usr/bin/x2goresume-session script.  I simply hard-coded in a line to
force clipboard=none

if [ -n "$X2GO_CLIPBOARD" ] && [ -z "`echo $X2GO_CLIPBOARD | sed -re
's/(0|none|client|server|both|1)//'`" ]; then
       clipboard="clipboard=$X2GO_CLIPBOARD"
else
       clipboard="clipboard=both"
fi

clipboard="clipboard=none"

However, a standard solution should take the variable from the server
configuration over the client configuration.

-- 
Brent French
Systems Administrator
Eigen Development Ltd.
#300 - 1807 West 10th Avenue
Vancouver BC, V6J 2A9

t. 604.736.1066 
f. 604.736.5669
e. brent.french@eigendev.com

*************************************************

ATTENTION
The information in this e-mail and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are not authorized to and must not disclose, copy, distribute, or retain this message or any part of it.

*************************************************
