Code Monkey home page Code Monkey logo

Comments (19)

totaam avatar totaam commented on September 27, 2024

I have no idea how you would configure the xpra-html5 client to connect via SSH.
Doesn't make much sense to me.

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

I was just wondering, because I don't want the users install xpra locally. So if they could start xpra on lets say a HPC system, and then simply do ssh port forwarding and work with it in their browsers, would be very nice.

Do you maybe know a solution to that? Or how to improve the performance when I used port forwarding?

from xpra.

totaam avatar totaam commented on September 27, 2024

Why not just let them connect directly to an https enabled server, that's much easier to deploy.

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

I would assume that ssl port might not be open on the HPC system?

from xpra.

totaam avatar totaam commented on September 27, 2024

I would assume that ssl port might not be open on the HPC system?

And the SSH port is?

Port forwarding will add latency which makes xpra very slow: this problem is known as "TCP over TCP".
Don't do it.

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

Well, you connect to the HPC systems by ssh, so yes. Do both mostly Often additionally secured via 2-factor-auth etc

for example, for our super computer this works:
ssh -T -p 22 [email protected]

but this isnt working:
ssh -T -p 443 [email protected]

from xpra.

totaam avatar totaam commented on September 27, 2024

but this isnt working:

Why would it?
You can't ssh to an https port unless you put an ssh server on there.

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

Ok, I will look into it. However, I just tried port forwarding with -C and its working very well (without its terrible) !

This is how I connect

ssh -C -N -L 8082:localhost:22293 [email protected]

The only thing I noticed is a constantly see a context menu with "paste" popping up when I click somewhere. Shall I open a new issue for that?

from xpra.

totaam avatar totaam commented on September 27, 2024

The only thing I noticed is a constantly see a context menu with "paste" popping up when I click somewhere

I think we already have one for that: this is caused by Safari (right?) and there is a workaround in newer versions of the html5 client.

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

Its firefox. Should I just try the current html5 master?

from xpra.

totaam avatar totaam commented on September 27, 2024

Is it on MacOS?
I forgot, this is NOT fixed: Xpra-org/xpra-html5#226 (comment)

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

Its linux (manjaro)

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

I also started the server with --clipboard=No, but that did not help.

from xpra.

totaam avatar totaam commented on September 27, 2024

No, you need to turn off the clipboard in the html5 client.

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

Can you tell me how?

from xpra.

totaam avatar totaam commented on September 27, 2024

From the connect dialog, there is an option.

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

Cool! That works :-) Is there a way on the server side to deactivate the clipboard by default?

from xpra.

totaam avatar totaam commented on September 27, 2024

You can configure the client via:

  • the URL by adding ?clipboard=no to it
  • default-settings.txt in /usr/share/xpra/www/default-settings.txt (also usually symlinked to /etc/xpra)

from xpra.

thorstenwagner avatar thorstenwagner commented on September 27, 2024

Nice! Thanks :-)

from xpra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.