Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Ulrich Sibiller
On Wed, Mar 27, 2019 at 8:21 PM James M. Pulver  wrote:
>
> The same way FLOSS syncthing keeps a text file in sync across N
> different systems, OSs, etc? I mean, it's usually a specialized product,
> but being as both are FLOSS, I guess someone could spend time to
> integrate either the tech just for clipboard, or hack something together
> with a text file that is synced and then the X2Go client puts whatevers
> in the text file into the clipboard on the computer it's running on?
>
> Of course, that's a lot of work, and I'm just being slightly flippant.
>
> I often work around clipboard sync issues (hello freerdp) with a shared
> text file that I overwrite wherever and then copy paste "locally".

Yes, xfreerdp is constantly breaking clipboard...

Having such a second clipboard sync mechanism looks easy at first
glance. But you somehow need to integrate with existing clipboard, and
that's where the problems begin (again).

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Ulrich Sibiller
On Wed, Mar 27, 2019 at 4:32 PM Stefan Baur  wrote:
>
> Am 27.03.19 um 16:30 schrieb Ulrich Sibiller:
> >> You did notice that he said he's trying to mirror a physical display,
> >> right?  Was clipboard sharing ever supported there?  I don't think so ...
> > Sorry, I missed that. Well, I don't know if it is supported there. Must 
> > check.
>
> How would you even keep 4 clipboards (User's client, actual X2Go
> session, support person's client, shadow X2Go Session) in sync?  Sounds
> like a nightmare to begin with.

Well, in principle it is simple. I reality it's not. The problems are manyfold:
- there are several types of clipboard (PRIMARY, CLIPBOARD,
CutBuffers). Not all platforms support all types. So you have to sync
them somehow which - in the past - proved to go wrong sometimes.
- there are differences in the type of clipboard content that can be
handled on different platforms
- we have not yet included the INCR message type yet so the maximum
clipboard size is currently limited
- clipboard managers offten disturb the communication at some point.
Some platforms and frameworks include clipboard managers that cannot
be disabled
- bugs in X servers do not help
- debugging is difficult/complicated as always multiple
windows/clipboard owners are involved
- there's also a multi-stage protocol between nxagent and nxproxy for
clipboard transfer
- understanding the existing clipboard code is complicated.

Anyone is invited to help here!

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread James M. Pulver
The same way FLOSS syncthing keeps a text file in sync across N 
different systems, OSs, etc? I mean, it's usually a specialized product, 
but being as both are FLOSS, I guess someone could spend time to 
integrate either the tech just for clipboard, or hack something together 
with a text file that is synced and then the X2Go client puts whatevers 
in the text file into the clipboard on the computer it's running on?


Of course, that's a lot of work, and I'm just being slightly flippant.

I often work around clipboard sync issues (hello freerdp) with a shared 
text file that I overwrite wherever and then copy paste "locally".


--
James Pulver
CLASSE Computer Group
Cornell University

On 3/27/19 11:32 AM, Stefan Baur wrote:

Am 27.03.19 um 16:30 schrieb Ulrich Sibiller:

You did notice that he said he's trying to mirror a physical display,
right?  Was clipboard sharing ever supported there?  I don't think so ...

Sorry, I missed that. Well, I don't know if it is supported there. Must check.


How would you even keep 4 clipboards (User's client, actual X2Go
session, support person's client, shadow X2Go Session) in sync?  Sounds
like a nightmare to begin with.

-Stefan


___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Stefan Baur
Am 27.03.19 um 16:30 schrieb Ulrich Sibiller:
>> You did notice that he said he's trying to mirror a physical display,
>> right?  Was clipboard sharing ever supported there?  I don't think so ...
> Sorry, I missed that. Well, I don't know if it is supported there. Must check.

How would you even keep 4 clipboards (User's client, actual X2Go
session, support person's client, shadow X2Go Session) in sync?  Sounds
like a nightmare to begin with.

-Stefan

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Ulrich Sibiller
On Wed, Mar 27, 2019 at 3:14 PM Stefan Baur  wrote:
> You did notice that he said he's trying to mirror a physical display,
> right?  Was clipboard sharing ever supported there?  I don't think so ...

Sorry, I missed that. Well, I don't know if it is supported there. Must check.

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Ingo Brückl
Ulrich Sibiller  wrote on Wed, 27 Mar 2019 14:51:35 
+0100:

> Hmm, maybe clipboard is disabled in /etc/x2go/x2goagent.options. Please
> check!

X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard both" was commented, but no change
after activating it.

> What path did the installer put into the registry?

C:/Program Files/VcXsrv/vcxsrv.exe, but my installation is in
C:/Program Files/x2goclient/ and thus vcxsrv.exe in
C:/Program Files/x2goclient/VcXsrv/. (I don't remember whether I changed the
installation directory (probably not) or whether it's the default anyway.)

> Another question: do you run some kind of clipboard manager on Linux
> and/or Windows?

Nope. Pure X and Windows.

Ingo
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] PulseAudio understanding problem (Windows client)

2019-03-27 Thread Stefan Baur
Also, I would be very surprised if sound works for a shadowing session
(AKA "connect to local desktop").


Am 27.03.19 um 15:03 schrieb Stefan Baur:
> Am 27.03.19 um 14:21 schrieb Ingo Brückl:
>>> I don't know how that works in detail. But the basic principle is to run
>>> an ssh server on the windows client and connect to it from the server.
>> In order to establish a connection to the Windows client I'd need its current
>> IP address and the pulseaudio cookie which the Windows client should report
>> somehow through the existing connection.
> 
> Please check the box to use portforwarding via a tunneled connection for
> audio, that will take care of everything automagically(TM).
> 
> 
>>> Does file sharing in x2go work?
>> I'm not using it, but a commandline scp, which works fine.
> 
> That was not the question.
> 
> -Stefan
> 


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Stefan Baur
Am 27.03.19 um 13:44 schrieb Ingo Brückl:
> Trying to use the shipped Vcxsrv results in a client start-up error ("Can't
> start X.Org-Server. Please check your installation.") which immediately shuts
> down the client disabling to change the setting again. :-(
> 
> After fixing this problem in the registry (wrong default path to vcxsrv.exe
> by the installation routine) the problem persists. Clipboard does not work.

Please let us know which edition of Windows you are using, the
drive/directory where you *tried* to install X2GoClient, and the
drive/directory where X2GoClient believed it would find VcXsrv.

-Stefan

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] PulseAudio understanding problem (Windows client)

2019-03-27 Thread Stefan Baur
Am 27.03.19 um 14:21 schrieb Ingo Brückl:
>> I don't know how that works in detail. But the basic principle is to run
>> an ssh server on the windows client and connect to it from the server.
> In order to establish a connection to the Windows client I'd need its current
> IP address and the pulseaudio cookie which the Windows client should report
> somehow through the existing connection.

Please check the box to use portforwarding via a tunneled connection for
audio, that will take care of everything automagically(TM).


>> Does file sharing in x2go work?
> I'm not using it, but a commandline scp, which works fine.

That was not the question.

-Stefan

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Stefan Baur
Am 27.03.19 um 14:51 schrieb Ulrich Sibiller:
> On Wed, Mar 27, 2019 at 2:25 PM Ingo Brückl  wrote:
>>
>> Ulrich Sibiller  wrote on Wed, 27 Mar 2019 
>> 07:40:22 +0100:
>>
>>> There a occasional problems with clipboard when using Windows. This is
>>> most like a bug in the Vcxsrv we ship which has not been identified yet.
>>> However, I never heard of the clipboard not working at all.
>>
>> So I guess I'm supposed to simply do an Edit->Copy in the server session
>> window of - let's say - Linux' Leadpad and an Edit->Paste in Windows' native
>> Notepad then, for example? Does not work.
> 
> Hmm, maybe clipboard is disabled in /etc/x2go/x2goagent.options. Please check!

You did notice that he said he's trying to mirror a physical display,
right?  Was clipboard sharing ever supported there?  I don't think so ...

-Stefan

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] PulseAudio understanding problem (Windows client)

2019-03-27 Thread Ulrich Sibiller
On Wed, Mar 27, 2019 at 2:25 PM Ingo Brückl  wrote:
>
> Ulrich Sibiller  wrote on Wed, 27 Mar 2019 
> 07:43:46 +0100:
>
> >> My question is: How is the Windows client supposed to pass this
> >> information to the PC, so that the sound client knows how to reach
> >> the pulseaudio server?
>
> > I don't know how that works in detail. But the basic principle is to run
> > an ssh server on the windows client and connect to it from the server.
>
> In order to establish a connection to the Windows client I'd need its current
> IP address and the pulseaudio cookie which the Windows client should report
> somehow through the existing connection.

Well, I am out here. I have no deeper knowledge of how this is supposed to work.

> > So maybe check if your windows firewall is the culprit.
>
> Not as long as I don't even know the client's address.
>
> > Does file sharing in x2go work?
>
> I'm not using it, but a commandline scp, which works fine.

I was asking that since this is setup similarly to audio, IIRC.

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Ulrich Sibiller
On Wed, Mar 27, 2019 at 2:25 PM Ingo Brückl  wrote:
>
> Ulrich Sibiller  wrote on Wed, 27 Mar 2019 
> 07:40:22 +0100:
>
> > There a occasional problems with clipboard when using Windows. This is
> > most like a bug in the Vcxsrv we ship which has not been identified yet.
> > However, I never heard of the clipboard not working at all.
>
> So I guess I'm supposed to simply do an Edit->Copy in the server session
> window of - let's say - Linux' Leadpad and an Edit->Paste in Windows' native
> Notepad then, for example? Does not work.

Hmm, maybe clipboard is disabled in /etc/x2go/x2goagent.options. Please check!

> > You could try using the built-in Xserver of Mobaxterm and check if the
> > problems persist.
>
> I'm using this one.
>
> Trying to use the shipped Vcxsrv results in a client start-up error ("Can't
> start X.Org-Server. Please check your installation.") which immediately shuts
> down the client disabling to change the setting again. :-(
>
> After fixing this problem in the registry (wrong default path to vcxsrv.exe
> by the installation routine) the problem persists. Clipboard does not work.

What path did the installer put into the registry?

Another question: do you run some kind of clipboard manager on Linux
and/or Windows?

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Temporary file clean-up

2019-03-27 Thread Ingo Brückl
Hi,

Is it possible to have an option for cleaning up all temporarily created
session files for the (Windows) client and maybe also for the server
(which leaves stale links in the user's home directory)?

Ingo
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Clipboard doesn't work?

2019-03-27 Thread Ingo Brückl
Ulrich Sibiller  wrote on Wed, 27 Mar 2019 07:40:22 
+0100:

> There a occasional problems with clipboard when using Windows. This is
> most like a bug in the Vcxsrv we ship which has not been identified yet.
> However, I never heard of the clipboard not working at all.

So I guess I'm supposed to simply do an Edit->Copy in the server session
window of - let's say - Linux' Leadpad and an Edit->Paste in Windows' native
Notepad then, for example? Does not work.

> You could try using the built-in Xserver of Mobaxterm and check if the
> problems persist.

I'm using this one.

Trying to use the shipped Vcxsrv results in a client start-up error ("Can't
start X.Org-Server. Please check your installation.") which immediately shuts
down the client disabling to change the setting again. :-(

After fixing this problem in the registry (wrong default path to vcxsrv.exe
by the installation routine) the problem persists. Clipboard does not work.

Ingo
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] PulseAudio understanding problem (Windows client)

2019-03-27 Thread Ingo Brückl
Ulrich Sibiller  wrote on Wed, 27 Mar 2019 07:43:46 
+0100:

>> My question is: How is the Windows client supposed to pass this
>> information to the PC, so that the sound client knows how to reach
>> the pulseaudio server?

> I don't know how that works in detail. But the basic principle is to run
> an ssh server on the windows client and connect to it from the server.

In order to establish a connection to the Windows client I'd need its current
IP address and the pulseaudio cookie which the Windows client should report
somehow through the existing connection.

> So maybe check if your windows firewall is the culprit.

Not as long as I don't even know the client's address.

> Does file sharing in x2go work?

I'm not using it, but a commandline scp, which works fine.

Ingo
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user