X2Go Bug report logs - #349
Make shadow sessions work with --hide option

version graph

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

Reported by: marcoandredinis@gmail.com

Date: Tue, 26 Nov 2013 16:18:01 UTC

Severity: normal

Tags: patch, pending

Found in version 4.0.1.1

Fixed in version 4.0.2.0

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at submit) by bugs.x2go.org; 26 Nov 2013 16:03:50 +0000
From marcoandredinis@gmail.com  Tue Nov 26 17:03:50 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-bk0-f45.google.com (mail-bk0-f45.google.com [209.85.214.45])
	by ymir (Postfix) with ESMTPS id 216AD5DB13
	for <submit@bugs.x2go.org>; Tue, 26 Nov 2013 17:03:50 +0100 (CET)
Received: by mail-bk0-f45.google.com with SMTP id mx13so2695331bkb.32
        for <submit@bugs.x2go.org>; Tue, 26 Nov 2013 08:03:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=from:to:subject:date:message-id:user-agent:mime-version
         :content-transfer-encoding:content-type;
        bh=vI4NQbS8f1Eb13uGIEG6ST9msbv+FwjYZktPV+9N+X0=;
        b=W6k0VcjwsAkCYSM8t63fuOIKM5JmXbRCG1RemX81sYR3LDS0gxW44zhbgGrOSGCeU7
         unxefYBIRQ1ZYxOAo9vHaK/oPwpjSZVL4Rp/3QptmR0vVs+RE6ZVfE3ydu3/Shd4hueQ
         D9dv38hwCJzqS/cbNwMnRCs9sZFkPwUUE9/+lHe7lYgqXSTXHMiTsEx47QW6uc5t5vn3
         RNziDQaJrV0TgkHIwT2hBRj6QMxHPMfxMS06clc1LXB0skAvfwsyldt66ma69EXZWfzk
         r1mI2fEHs68Cqyiq+S/It5FUX/oc12D+WB7UX+9HvdUL+IAkebFG18t+Cl/p9qoYaLpC
         UrSA==
X-Received: by 10.205.1.202 with SMTP id nr10mr364463bkb.129.1385481829744;
        Tue, 26 Nov 2013 08:03:49 -0800 (PST)
Received: from mcdtux.localnet (brg.eurotux.com. [194.107.127.5])
        by mx.google.com with ESMTPSA id b7sm51735345bkg.1.2013.11.26.08.03.48
        for <submit@bugs.x2go.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 26 Nov 2013 08:03:49 -0800 (PST)
From: marcoandredinis@gmail.com
To: submit@bugs.x2go.org
Subject: Tag: patch
Date: Tue, 26 Nov 2013 16:01:41 +0000
Message-ID: <14138471.B8Tpv8tqIx@mcdtux>
User-Agent: KMail/4.11.3 (Linux/3.12.1-1-ARCH; KDE/4.11.3; x86_64; ; )
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"
Package: x2goclient
Version: 4.0.1.1

This email was sent to x2go-dev mailling list, but since it also refers a Bug, 
I am also filling a  bug report

Hi

I'm developing a program that will use X2Go software. I dont want
users to notice they are using any other program besides my own.

I have two problems right now:

A) X2GoClient
Using SHADOW mode with "--hide" does not work. The interface waits for
selection of Display (usually ":0") and, since there's no input from
user (there's no window) the program does not show anything.
There are possible ways of fixing/improving this situation:
-allow user to set the default display on sessions' file
-create one flag and run program like these: "x2goclient --hide
--sessionid=xxx --select-first-display"

Anyway, i modified the code of x2goclient/onmainwindow.cpp and added
these lines:
l4348:..if( shadowSession )
l4349:....slotShadowSess();
Compiled the program, and now i can run "./x2goclient --hide
--sessionid=xxx" and the window will show up.
This is NOT a fix, this is a nasty workaround. It wontn show the list
even when the "hide" flag is not present.


B) X2GoDesktopSharing
Just the icon on SystemTray. If we could pass a flag like "--no-icon"
would be great


I could do these simple changes on my own, but i rather see this
changes on the official code.

Thanks,
Marco Dinis


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 17:57:38 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.