Hi Alex, Mike(?)
I just saw parec running and producing unneeded traffic.
In onmainwindow.cpp:10577ff it says:
QString scmd="PULSE_CLIENTCONFIG=~/.x2go/C-"+
resumingSession.sessionId+
"/.pulse-client.conf "+
"parec 1> /dev/null & sleep 1 && kill %1";
What is the rationale behind this code? As far as I understand it, parec is supposed to run for one second. I'm not sure that that is what the code does.
Cheers Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty
Hi Morty,
On Mi 21 Nov 2012 09:21:07 CET Moritz Struebe wrote:
Hi Alex, Mike(?)
no clue from my side... (nothing comparable in Python X2Go.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hm,
The reason was buggy pulseaudio on windows. If you don't use input device at several first seconds, input will not work any more. I know, it is a dirty hack to start parec for 1 sec., but it works. Originally, this code should be executed only on windows. I don't know which patch have changed this behaviour. I'll fix it. Thank you for your report, Morty.
regards, Alex
Am 21.11.2012 09:21, schrieb Moritz Struebe:
Hi Alex, Mike(?)
I just saw parec running and producing unneeded traffic.
In onmainwindow.cpp:10577ff it says:
QString scmd="PULSE_CLIENTCONFIG=~/.x2go/C-"+ resumingSession.sessionId+ "/.pulse-client.conf "+ "parec 1> /dev/null & sleep 1 && kill %1";What is the rationale behind this code? As far as I understand it, parec is supposed to run for one second. I'm not sure that that is what the code does.
Cheers Morty
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
-- Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home
Hi Alex,
has this been fixed yet, or should I file a bug?
Cheers Morty
On 2012-11-21 15:50, Oleksandr Shneyder wrote:
Hm,
The reason was buggy pulseaudio on windows. If you don't use input device at several first seconds, input will not work any more. I know, it is a dirty hack to start parec for 1 sec., but it works. Originally, this code should be executed only on windows. I don't know which patch have changed this behaviour. I'll fix it. Thank you for your report, Morty.
regards, Alex
Am 21.11.2012 09:21, schrieb Moritz Struebe:
Hi Alex, Mike(?)
I just saw parec running and producing unneeded traffic.
In onmainwindow.cpp:10577ff it says:
QString scmd="PULSE_CLIENTCONFIG=~/.x2go/C-"+ resumingSession.sessionId+ "/.pulse-client.conf "+ "parec 1> /dev/null & sleep 1 && kill %1";What is the rationale behind this code? As far as I understand it, parec is supposed to run for one second. I'm not sure that that is what the code does.
Cheers Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty
Hi Morty,
IIRC, Mihai redesigned that part of the codebase, but Alex hasn't integrated his changes/patches yet. So, my USD 0.02: File a bug, and add a pointer to Mihai's changes.
-Stefan
Am 13.02.2013 15:12, schrieb Moritz Struebe:
Hi Alex,
has this been fixed yet, or should I file a bug?
Cheers Morty
On 2012-11-21 15:50, Oleksandr Shneyder wrote:
Hm,
The reason was buggy pulseaudio on windows. If you don't use input device at several first seconds, input will not work any more. I know, it is a dirty hack to start parec for 1 sec., but it works. Originally, this code should be executed only on windows. I don't know which patch have changed this behaviour. I'll fix it. Thank you for your report, Morty.
regards, Alex
Am 21.11.2012 09:21, schrieb Moritz Struebe:
Hi Alex, Mike(?)
I just saw parec running and producing unneeded traffic.
In onmainwindow.cpp:10577ff it says: QString scmd="PULSE_CLIENTCONFIG=~/.x2go/C-"+ resumingSession.sessionId+ "/.pulse-client.conf "+ "parec 1> /dev/null & sleep 1 && kill %1";
What is the rationale behind this code? As far as I understand it, parec is supposed to run for one second. I'm not sure that that is what the code does.
Cheers Morty
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Hi Morty,
This code is only executed on Windows, On linux "parecTunnelOk" is always "false"
Now I have disabled this code for not Windows system at all:
http://code.x2go.org/gitweb?p=x2goclient.git;a=commit;h=b3121c46cd4494b6d15c...
regards, Alex
Am 13.02.2013 15:12, schrieb Moritz Struebe:
Hi Alex,
has this been fixed yet, or should I file a bug?
Cheers Morty
On 2012-11-21 15:50, Oleksandr Shneyder wrote:
Hm,
The reason was buggy pulseaudio on windows. If you don't use input device at several first seconds, input will not work any more. I know, it is a dirty hack to start parec for 1 sec., but it works. Originally, this code should be executed only on windows. I don't know which patch have changed this behaviour. I'll fix it. Thank you for your report, Morty.
regards, Alex
Am 21.11.2012 09:21, schrieb Moritz Struebe:
Hi Alex, Mike(?)
I just saw parec running and producing unneeded traffic.
In onmainwindow.cpp:10577ff it says:
QString scmd="PULSE_CLIENTCONFIG=~/.x2go/C-"+ resumingSession.sessionId+ "/.pulse-client.conf "+ "parec 1> /dev/null & sleep 1 && kill %1";What is the rationale behind this code? As far as I understand it, parec is supposed to run for one second. I'm not sure that that is what the code does.
Cheers Morty
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
-- Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home
On 2013-02-13 15:49, Oleksandr Shneyder wrote:
This code is only executed on Windows, On linux "parecTunnelOk" is always "false"
We'll I'm on linux and parec gets started on every connect.
Cheers Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty
Am 13.02.2013 16:06, schrieb Moritz Struebe:
On 2013-02-13 15:49, Oleksandr Shneyder wrote:
This code is only executed on Windows, On linux "parecTunnelOk" is always "false"
We'll I'm on linux and parec gets started on every connect.
Hm, funny. Okay, with the last commit the code, which starting parec, will not be even compiled. So it should fix this bug anyway.
regards, Alex
Cheers Morty
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
-- Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home
On 2013-02-13 16:10, Oleksandr Shneyder wrote:
Am 13.02.2013 16:06, schrieb Moritz Struebe:
On 2013-02-13 15:49, Oleksandr Shneyder wrote:
This code is only executed on Windows, On linux "parecTunnelOk" is always "false"
We'll I'm on linux and parec gets started on every connect. Hm, funny. Okay, with the last commit the code, which starting parec, will not be even compiled. So it should fix this bug anyway.
It's still there in 4.0.0.4-0~368~quantal1. :(
Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty
Hi Moritz,
I see, that release 4.0.0.4 don't include commit, that should fix this issue.
@Mike: Can you please peek this commit: http://code.x2go.org/gitweb?p=x2goclient.git;a=commit;h=b3121c46cd4494b6d15c... into release?
regards, Alex
Am 12.03.2013 12:26, schrieb Moritz Struebe:
On 2013-02-13 16:10, Oleksandr Shneyder wrote:
Am 13.02.2013 16:06, schrieb Moritz Struebe:
On 2013-02-13 15:49, Oleksandr Shneyder wrote:
This code is only executed on Windows, On linux "parecTunnelOk" is always "false"
We'll I'm on linux and parec gets started on every connect. Hm, funny. Okay, with the last commit the code, which starting parec, will not be even compiled. So it should fix this bug anyway.
It's still there in 4.0.0.4-0~368~quantal1. :(
Morty
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
-- Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home
Hey Alex,
ok that explains it.
Thanks a lot.
Morty
On 2013-03-12 12:34, Oleksandr Shneyder wrote:
Hi Moritz,
I see, that release 4.0.0.4 don't include commit, that should fix this issue.
@Mike: Can you please peek this commit: http://code.x2go.org/gitweb?p=x2goclient.git;a=commit;h=b3121c46cd4494b6d15c... into release?
regards, Alex
Am 12.03.2013 12:26, schrieb Moritz Struebe:
On 2013-02-13 16:10, Oleksandr Shneyder wrote:
Am 13.02.2013 16:06, schrieb Moritz Struebe:
On 2013-02-13 15:49, Oleksandr Shneyder wrote:
> This code is only executed on Windows, On linux "parecTunnelOk" is > always "false" We'll I'm on linux and parec gets started on every connect. Hm, funny. Okay, with the last commit the code, which starting parec, will not be even compiled. So it should fix this bug anyway. It's still there in 4.0.0.4-0~368~quantal1. :(
Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty