5 ms·
Xpra: Screen for X
- dded 13y agoIs anyone familiar with this? How does it compare with VNC or NX?
- kcbanner 13y agoThis is different. This is forwarding on the application level, not the entire screen.
- angerman 13y agoIsn't that what NX does as well?
- paol 13y agoYes. If you're already using NX there's nothing to see here.
- philsnow 13y agoNX has a "rootless" mode, and a "desktop" mode. xpra has only the "rootless" mode.
- amtota 13y agoThat's just not true anymore. You can get a desktop mode by running Xephir inside xpra.
- philsnow 13y agoBah now we're into semantics, but say you're running xpra on display :1. Running an Xnest or Xephyr inside that can't re-use the :1 display. Further, you can run multiple Xnests/Xephyrs inside an xpra session. I stand by my statement that xpra has only a "rootless" mode, but I will agree that with Xephyr (which is a less-sucky Xnest), there is less of a difference anymore.
- joeyo 13y agoIt may not matter to you, but xpra feels a lot more light-weight than NX. Installing/using xpra feels like tmux or ssh. NX feels like an enterprise software suite.
- dded 13y agoIt definitely matters. I've always struggled with NX. VNC is easier, but slower.
- chipaca 13y agoIt's a rootles VNC, and has more compression options. Haven't gotten it to work with webp yet, but x264 works very well for me; I usually can't tell if it's local or remote.
- TTPrograms 13y agoWhy would I use this over ssh -X?
- teddyh 13y agoBecause xpra is faster.
- angerman 13y agoSounds like it's faster. And allows to reattach to a certain session.
- CJefferson 13y agoThe main problem with ssh -X is all your apps close when your connection drops. That is the main reason I always use screen or tmux -- I rarely actually use multiple screens, it just keeps my programs alive.
- Piskvorrr 13y agoHere's my use case: I have multiple computers with an X server, but only one which actually has the graphical program(s) which I need to use. So, on the "main computer", I set the DISPLAY to Xpra's :15 instead of the usual :0, launch the program in `screen`, and off I go. Now wherever I need to use the program(s), I only need to re-attach the Xpra session, and it shows up at the local display. This allows me to keep the same windows open, but I'm taking them with me, wherever I go. Also, the programs keep running when I close the connection (or when it drops), so I don't have to a) start them again, or b) restore state. More Xpra goodness: allows me to change the compression and algorithm on-the-fly; is more responsible than SSH X forward on slow/laggy connections; has a "connection problem" visual indication (the windows are overlaid with a spinner, instead of just freezing).
- blueblob 13y agoHas anyone used both xpra and x2go that could give a comparison?
- axx 13y agoYou could use this, to launch a remote browser or something, saw it in this article a while ago: http://blog.docker.io/2013/07/docker-desktop-your-desktop-over-ssh-running-inside-of-a-docker-container/ http://blog.docker.io/2013/07/docker-desktop-your-desktop-ov...
- tvon 13y agoFWIW, if that's all you want you can do it with plain old X11.
- zarkov99 13y agoLast time I tried this there was no support for anti-aliasing which was pretty much a non starter for me. Does anyone know if that has changed?
- amtota 13y agoNot sure what you mean by that, can you clarify? The rendering on the server is done using a regular Xorg server, it will use whatever settings you choose. If you use an xpra lossless mode (or lossless with auto-refresh), then this is exactly what you'll get on the client. Now, if you mean sub-pixel hinting, that's a different story.
- zarkov99 13y agoI might mean that. I tried it, thought it was just what I needed except that text looked horrible. I attributed it to lack of aliasing and some quick Googling indicated that it could not be fixed.
- amtota 13y agoNo, if text looked horrible then this is something else, more than likely you ended up with a sub-par encoding (probably vp8). h264 will normally run in high quality mode unless you are really struggling for bandwidth, and with lossless auto-refresh you won't even notice the occasional lossy compression. With default settings, text looks just fine - I use it everyday.
- uaygsfdbzf 13y agoThis works well for X-sandboxing* e.g. a browser. Completely seamless, in contrast to Xephyr. * Each window can sniff keyboard input etc. of every other window on the same server.
- jspiros 13y agoI've used xpra for about a year now, and I do recommend it if it seems like it would fill a need in your workflow. For me, I'm using it primarily as a way to run Pidgin (for Jabber and AIM, primarily) on my server that I can connect to from the various machines I use around the house; analogous to how I use irssi in screen for IRC. I also configured my screen instance to have a DISPLAY environment variable that corresponds to my Xpra instance, so if I run anything within screen that connects to an X server, I can be sure it's connecting to the X server I'm currently connected to anyway, and I'm mostly safe from sudden disconnection problems.
- dllthomas 13y agoI presume you're familiar with Finch (the console-based Pidgin equivalent - still uses libpurple), but I figured I'd mention it as another good way to get jabber/aim remotely.
- notastartup 13y agois there an html5 canvas client with this? displaying the X screen to the browser and taking inputs.
- glittershark 13y agoSounds like someone's volunteering to go write one
- riskable 13y agoThis is kind of what I'm working on in Gate One right now. Google "gate one x11" to see a video of the alpha.
- amtota 13y agoThere is a proof of concept which you can try: https://www.xpra.org/trac/ticket/473 https://www.xpra.org/trac/ticket/473
- shiven 13y agoHow is this better than VirtualGL ? I frequently use vglconnect and vglrun to XForward OpenGL applications. Anyone know if this does anything better?
- mkl 13y agoI'm not familiar with VirtualGL so correct me if I'm wrong, but it doesn't look like it supports reattaching to a still-running program after detaching or getting disconnected, which is the main purpose/advantage of xpra.
- dded 13y agoWhile we're on the topic of X displayers, is there something like this or VNC for ChromeOS?