X2Go Bug report logs - #142
x2goclient output on stdout

version graph

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

Reported by: Kjell Otto <otto.kjell@gmail.com>

Date: Thu, 7 Mar 2013 13:03:02 UTC

Severity: normal

Tags: patch, pending

Found in version 4.0.0.4

Fixed in version 4.0.1.1

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; 7 Mar 2013 12:51:27 +0000
From otto.kjell@gmail.com  Thu Mar  7 13:51:27 2013
Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171])
	by ymir (Postfix) with ESMTPS id 3557F5DB0D
	for <submit@bugs.x2go.org>; Thu,  7 Mar 2013 13:51:27 +0100 (CET)
Received: by mail-ve0-f171.google.com with SMTP id b10so321743vea.30
        for <submit@bugs.x2go.org>; Thu, 07 Mar 2013 04:51:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:x-received:date:message-id:subject:from:to
         :content-type;
        bh=AQA4R1ROAMQIx3GPViXwfLr2UiuTev5BMwnB1tr7Kp4=;
        b=XLtOZwRs2wqpMN4W5+TI7COs6FLOTxNjMkU58WrAjCon7JTsoiDs5jwKhwTVCYk7JZ
         jP+r/jgy1x4hHXuJZo5dAgJf2eU23AgagwUEOG0ltVviVLJC9V7EBUhp3B5s/GQb0T1K
         jTRAX3sQX9zodlOlHymoAevhiPeAKczRElFzg1aMc1KgEYwlWp2wNh8Jprlh7pvzj0aK
         EULS9bvXnRvAL9RdTfnuoyWCFcfvTV4RZ7J/M/JEL5IvhWWP56f+buEbE/5st+knDzjW
         z/7OZng15k0sA+ZrksLy1uhxO3XNT3YNRMEMSxvtKSmamt7tKmSfsVsB2iNz0B3pmucx
         IWyQ==
MIME-Version: 1.0
X-Received: by 10.52.25.8 with SMTP id y8mr11272388vdf.88.1362660686058; Thu,
 07 Mar 2013 04:51:26 -0800 (PST)
Received: by 10.58.186.167 with HTTP; Thu, 7 Mar 2013 04:51:25 -0800 (PST)
Date: Thu, 7 Mar 2013 13:51:25 +0100
Message-ID: <CAHeJaPKG2ndmoMFEn3kH91uMzTg3gQAhi-A26Le=Y5cfsHBq-g@mail.gmail.com>
Subject: x2goclient output on stdout
From: Kjell Otto <otto.kjell@gmail.com>
To: submit@bugs.x2go.org
Content-Type: text/plain; charset=ISO-8859-1
Package: x2goclient
Version: 4.0.0.4

The x2goclient has extreme output on stdout while running. It's more
noise then signal and therefor, I've wrapped all the printouts with
#ifdef DEBUG and a #undef DEBUG on the onmainwindow.cpp file.

Then I've added in printout statements that are parsable with numbered
output and category so that a normal run of the x2goclient would
output like this:

$ ./client_build/x2goclient --session=x2goserver_RZ --add-to-known-hosts --hide
x2go-INFO-001> Starting x2goclient...
x2go-WARN-001> Can't load translator: :/x2goclient_en_us
x2go-WARN-002> Can't load translator: :/qt_en_US
x2go-INFO-004> Started  x2goclient.
x2go-INFO-005> $HOME=/home/kjellski
x2go-INFO-029> Starting connection to server: 10.3.0.20:22
x2go-INFO-031> SSH connection established.
x2go-INFO-011> Closing x2goclient...
x2go-INFO-018> Waiting for the SSH connection to finish...
x2go-INFO-019> Waited  for the SSH connection to finish.
x2go-INFO-028> Closed  x2goclient.
$

No GUI will be shown and no try Icons appear. This reflects a bit more
the --hide param and can be used to make a shortcut to the client that
will just open the window.

Also I've added a log method and provided a script that lets you show
all outputs on the file.

All changes can be found on this repository in the branch stdout-cleanup:

https://github.com/kjellski/x2goclient/tree/stdout-cleanup

If any additional help from my side is required, please contact me and
I try to support the process.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 02:43:41 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.