Michael DePaulo | 31 Jan 15:44 2014
Picon

Re: x2goDebug

On Fri, Jan 31, 2014 at 4:01 AM, Oleksandr Shneyder
<o.shneyder <at> phoca-gmbh.de> wrote:
> Hello Mike,
>
> you should enable option "console" in x2goclient.pro. X2Go Client write
> debug info in stderr.
>
> regards,
> Alex
>
> Am 31.01.2014 04:20, schrieb Michael DePaulo:
>> Is there a way to view the "x2goDebug" statements on win32?

Hi Alex & others,

Setting that variable made progress.

However, onmainwindow.cpp:9474 contains this line:
x2goDebug<<"Starting win servers...";
That line should be executed during startup, but I never see that line
outputted during start nor during connection.

Specifically what I am trying to do is debug why PulseAudio 3.0, 4.0,
& 4.99.3 fail to start when launched by x2goclient.exe unless the
pulseaudio cookie is already present. (Actually, they appear to be
frequently started and stopped.) (Pulseaudio 1.1 does startup and
create the cookie that 3.0 and later can use.) When I run those new
versions of pulseaudio.exe from cmd.exe, they successfully startup and
create a cookie, even when I seem to set all the env vars that
startWinServers() sets.

Anyway, this is the output I get.

C:\Program Files (x86)\x2goclient>x2goclient.exe
x2go-INFO-1> "Starting x2goclient..."
x2go-WARNING-1> "Can't load translator: :/x2goclient_en_us"
x2go-WARNING-2> "Can't load translator: :/qt_en_US"
x2go-INFO-3> "Started  x2goclient."
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
x2go-INFO-8> "Starting connection to server: japsand.x2go.org:64064"
Object::connect: No such slot ONMainWindow::slotSndTunOk(int)
cygwin warning:
  MS-DOS style path detected: C:/Users/MIKE~1.DEP/X2GO~1/ssh/gen/key.gq5264
  Preferred POSIX equivalent is:
/cygdrive/c/Users/MIKE~1.DEP/X2GO~1/ssh/gen/key.gq5264
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
QProcess: Destroyed while process is still running.
x2go-INFO-6> "Closing x2goclient..."
QProcess: Destroyed while process is still running.
x2go-INFO-7> "Closed  x2goclient."

-Mike

Gmane