4 ms·
I get that you can do it using FreeRDP, but why?? This should be done via MiraCast. And then the same system would be compatible with smart tvs, smartphones, S
by alexvoda 4y ago
I get that you can do it using FreeRDP, but why??
This should be done via MiraCast.
And then the same system would be compatible with smart tvs, smartphones, Samsung Dex and Windows.
For Linux the project implementing the protocol is called MiracleCast. There is a GTK Gui to send your screen. But there is no GUI to receive a screen.
Unfortunately this gets little love.
Also, to my understanding, Wayland is still not ready for such a use case.
- MayeulC 4y agowhat use case? Miracast, or TFA use-case? Under sway, it's very easy to: * add a virtual screen of specified resolution (The command is `swaymsg create_output`, then adjust its position and resolution if the default 1080p on the right are not to your liking) * start a vnc server for that screen (`wayvnc -o HEADLESS-1`) * start a vnc client on the laptop Regarding screencast, xdg portals and pipewire streams are a thing (including zero-copy DMA-BUF access, and hardware encoding).
- LeonM 4y agoit's very easy to [complex list of tasks] This is the typical HN fallacy. Go try to explain your mother over the phone how to edit a sway configuration to 'add a virtual screen of specified resolution'. Compare that to clicking on the cast icon and selecting a TV.
- okasaki 4y agoIt's doable. Not over the phone but you can write a shell script and put an icon on the desktop. source: spent years supporting Linux for my tech-illiterate parents.
- dsr_ 4y agoI've been supporting my father's computer for about 15 years now. It's the only machine he uses. He doesn't have root. He doesn't use a command line. I used to have an autossh connection for his machine to talk to one of my servers, and now we use Wireguard instead, for the rare occasions (about once a year) that he needs something looked at. Support is basically zero these days. He uses Chrome and Firefox and LibreOffice. He occasionally fires up the Simon Tatham Portable Puzzles collection. I have uBlock Origin installed on both browsers. I installed XFCE on day one, spent a couple of hours demonstrating things, and then left. Every five or six years I buy a new tiny, NUC-like machine, configure it up, pull his home directory across, and then send him the replacement. There's more work on the phone getting him to plug the cables in properly than anything else. Year of the Linux desktop? It's been more than a decade.
- MayeulC 4y agoWell, this is also a fallacy of yours (strawman?), I was countering the argument of: > Also, to my understanding, Wayland is still not ready for such a use case. With an example showing how to do it. To answer your point, this wouldn't faze any sway user, and it is perfectly scriptable, you can add a button or script to perform the three server-side steps. Of course, gnome includes a button to cast to a nearby miracast-enabled screen. I'm not answering to my mother, I'd set it up for her with a nice shortcut. And she probably wouldn't be using sway. You also need a complex list of tasks for miracast. * Turn on the TV (simple enough, but since we're counting steps...) * Make sure the miracast option is enabled, and the TV is discoverable. That one is impossible to explain over the phone -- unlike a command line -- as every TV burries this under a different menu. * Find the right button on the "client" PC (might require enabling an option before?) and click it.
- any1 4y agoOn wayvnc git master and sway 1.8 (or git master), you can script things so that a "virtual" display gets created automatically when someone connects to VNC, and removed when they disconnect. See https://github.com/any1/wayvnc/pull/200/files https://github.com/any1/wayvnc/pull/200/files The script in the PR does something a bit different, but it's only an example and can be modified to do what I described in the first paragraph.
- tjoff 4y agoMiracast is, if I'm not mistaken, wireless only which in my mind makes it pretty darn useless. At least since all wireless implementations I've tried have been very flaky and after the first the initial "this is pretty cool", immediately followed by "ouch, the input lag". Which then is followed by flaky connections and if on a phone ridiculous battery drain. It is nothing but a source of frustration and waste of time so anytime I hear the word I just tune out.
- shrx 4y ago> Miracast is, if I'm not mistaken, wireless only Wow, that's an insane software design choice. edit: looks like there's support for Miracast over Ethernet at least in Windows: https://learn.microsoft.com/en-us/surface-hub/miracast-over-infrastructure https://learn.microsoft.com/en-us/surface-hub/miracast-over-...
- llui85 4y agoUnfortunately it still requires a Wi-Fi adapter: It is important to note that Miracast over Infrastructure is not a replacement for standard Miracast. Instead, the functionality is complementary, and provides an advantage to users who are part of the enterprise network. Discovery requests to identify Miracast receivers can only occur through the Wi-Fi adapter. Once the receivers have been identified, Windows 10 can then attempt the connection to the network.
- jeroenhd 4y agoI couldn't get MiracleCast to work for this use case. Through pain and effort I managed to share a single screen, but that's about it. Sound didn't work, the latency was terrible (literal seconds of input latency) and input had issues. I'd love to see the project mature but right now I don't think it's usable.