Here I go again with Barrier

Hi Shiela,
I am sorry Shiela, I tested it , and it did not work out the way I expected.
I can copy/paste text from the remote machine, but not images.
I can display images from the remote machine, but they will not copy/paste from the display in the current machine.

Here is what I did. I have 2 machines named mary and trinity. The have a network connection between them. They both have Xserver and sshd.
I sat at Mary, used a terminal window , and did
ssh -X trinity
which lets me login and I get a trinity terminal prompt.
From there, it is quite easy to list any file in Trinity in the terminal, and you can copy/paste from it into some other window in Mary.
I then started a process in Trinity , using the ssh terminal window, to display an image. I used `gthumb’
A window appears in Mary, generated by gthumb in Trinity. I can click on the controls, browse thru images, etc, but when I display one image and then try to
do copy/paste with the mouse, it drags the thumbnail to where I want to drop it, but then says “Cannot find the image file”. … it is not capable of going back to Trinity and finding the file to do the copy… I have a displayed image, but I can not copy it.
Frustrating , but that is where I am at.
The X-forwarding will send back to Mary any graphical output which I generate in
Trinity, and you can operate on buttons, etc, but you cant drag and drop an image.

I will have a further think about it, but for the moment, that is less than half a solution.

Regards
Neville

1 Like

Meaning they are on the same network, right?
But Windows can have Xserver & sshd?
You can use these commands in terminal there?

So this will only list saved files–I cannot copy a link from a browser window or an error message popup?

I don’t have to be able to drag & drop the image or blocks of text, just copy paste will suffice.

Thank you so much for attempting that and all your help. If you come up with any resolution for images & non-files, that will be great. And patience is a necessary trait in overcoming computer issues–one which I have greatly expanded in switching to Linux.

Sheila

Not sure about Windows

 patience is a necessary trait 

Indeed.
I am looking at Remmina.
It displays the entire remote computer’s screen … X-forwarding only displays one X window… So far I cant get Remmina to copy/paste between machines …

I know it is possible to copy/paste between virtual machines, but I have yet to find anything that can do it between 2 real machines.

Hmmm, I read up on VirtualBox a while back hoping to completely get rid of Windows on my laptop and only use the virtual Windows 11 for work-related stuff that requires it, but it seemed so complex that I ditched the idea. But if you can’t find any other solution, perhaps that is where we will need to go further to resolve this.

Thanks,
Sheila

@Rosika and I use Virt-manager rather than VirtualBox and we have mastered copy/paste with text between a host and a VM. However we have not tried a Windows guest. Copy/paste requires some special software called spice-vdagent be installed in the guest and I am not sure if that could be done with Windows.
We have also not tried copying images.
Will have a closer look.

Would you consider installing Remmina in Linux , and see if it works with a remote Windows? It was an easy install in Debian… it is a package from the Debian repo…
If it doesnt look good it is easily removed.

1 Like

Just FYI, I have a remote desktop app that displays the other screen, but it does not allow copy/paste, only copying “files” from one to the other. If it would, I would keep an open remote window to the W11 machine and it would eliminate the need for Barrier to work, but it does not.

Sheila

Certainly. Let me see once installed if I can figure out how to get a Windows remote.

Thanks,
Sheila

Maybe the app that you have is better than Remmina.
What I am thinking is that one of these remote screen apps might have a plugin that enables copy/paste.

Hi @nevj and @Sheila_Flanagan

If transferring pictures is a concern what about adopting the method we described here:

Should work with physical machines as well, I guess.

But that´s just another way of data transfer. So not a direct copy-and-paste of two applications running on two different machines. :slightly_frowning_face:

So not much help, I guess.

Cheers from Rosika :slightly_smiling_face:

1 Like

@nevj Yeah, I was gonna ask you about all the plugins offered in the software manager, BUT it seems only W11 PRO allows RDP–you have to upgrade from HOME version for $99. I know there is no plugin for the app I use (Anydesk) as it is the free version I use to maintain my elderly mom’s computer and not sure I need to pay for it, but even then, I would need to check if it allows the copy/paste function.

We’ll keep trying. You have much more knowledge of how things work than I do, so thanks for the help.

Sheila

1 Like

That is a bit of a stopper. They all need RDP.

Yeah, @Rosika , that is why Barrier was the perfect solution. I have remote desktop apps that work between Linux and Windows, but they do not provide copy/paste. I have solutions established for transferring files, but often what I copy is not a file: it is an image in a browser or an error popup in Windows that I need to copy and paste into a notebook on Linux, etc.

We’ll keep looking I guess. Thanks.
Sheila

1 Like

@nevj Yup. So we cannot use VM to access the current machine. Can we install W11 in a VM on my Linux machine and that work? or is the RDP a requirement in that also? As soon as I retire there will be NO Windows in my life…lol, but since the rest of the world knows only Windows, I am required to keep it for work.

Sheila

Hi Sheila, :wave:

Have you already taken a look at https://alternativeto.net/software/barrier/ ?

Apart from synergy there are two other alternatives listed which should work with Linux systems.

Although I don´t know whether they would fit the bill… :thinking:
Cheers from Rosika :slightly_smiling_face:

@Rosika Thanks. I looked and saw the only 2 that work with Linux. I couldn’t seem to find the pkg to download input-leap, but I will research further. Synergy Pro may be the answer, will have to look into it. I do not mind paying for an app that works since I not only have multiple machines myself, but am always setting up others’ systems converting to Linux and a mouse/keyboard sharing solution helps exponentially doing that. As I told @nevj , once I retire, I will no longer need Windows ( :crossed_fingers:

Thanks,
Sheila

1 Like

The official page for that should be:

Cheers from Rosika :slightly_smiling_face:

I looked there, but it only showed “repology” having various distro packages and I did not see Ubuntu.

Github is still new to me, but I can usually find, on the right, a link to the packages for download. I saw “no packages” listed and above where I usually see the releases only had “tags”. As I said, will keep looking as this is a fork of Barrier.

Thanks,
Sheila

1 Like

You can certainly install Windows in a VM on a Linux machine.
I dont think RDP is needed, but not sure.
Virt-manager uses a thing called spice installed in a guest Linux VM to allow copy/paste
I dont know what you need in a Windows guest VM to get copy/paste…
Virtual box has a similar thing called guest additions I found it difficult, I prefer Virt-manager.
The only Windows I have is W10. I could try to install that as a guest VM in Virt-manager and maybe see what the copy situation is like.
and
I would like to see if I can find a plugin for Remmina.

2 Likes

Yes - they are the same thing, tunnelling X over ssh… using “ssh -X host” is usually a lot simpler because you don’t have to “setenv display host:0.0” or “export DISPLAY=0:0” (if you look - after you “ssh -X host” you will see it already did that for you:

╭─x@titan ~/Music/Oxbow  
╰─➤  ssh -X 10.1.1.123
Welcome to Ubuntu 23.04 (GNU/Linux 6.2.0-23-generic x86_64)
...
╭─x@fenriz ~  
╰─➤  echo $DISPLAY
localhost:10.0

image

I have always found that performance, even on gigabit ethernet, to be less than spectactular… Was much easier (and MUCH faster) when we just used telnet and rsh…

I don’t think remote X is a viable solution as a K(V)M - I couldn’t manage without Synergy…

1 Like

@daniel.m.tripp I looked at the license for Synergy Pro and that is definitely doable for me. I guess my only issue is: I buy it, it still doesn’t work or stay working. The RDP app I use allows copy/paste text like @nevj was talking about in terminal, but it does not allow to copy an image from W11 to Linux, as he also stated.

Since W11 requires Pro version (which I will not pay for) in order to allow RDP, I don’t think that is going to work, unless you guys know some way to get around it.

I’m gonna give it a day to see if anyone has other suggestions, but KVM seems the only way to go.

Thanks,
Sheila