4 ms·
Is there no way to do this without a physical plug? I think there's a way to make dummy X.org display devices without any extra physical hardware -- I've defin
by michaelpb 6y ago
Is there no way to do this without a physical plug? I think there's a way to make dummy X.org display devices without any extra physical hardware -- I've definitely done similar stuff when setting up headless automated E2E testing, before tools for this were widely available. Is the hard part connecting it to an existing session as a display? Or is it that cross-platform compatibility is what's holding it back, since perhaps there is no equivalent for people running a macOS or Windows based OS?
All that said, this looks super cool! Congrats and thanks for sharing! I'm tempted to give it a shot. My current set-up is similar except I use Barrier to share my mouse and keyboard across 4 cheap (<$200) laptops I've accumulated over the last few years.
- pavlobu 6y agoHi thanks on paying attention on that, Yes it is a problem of cross-platform support. Each os with its own zoo of tricks and tweaks. So for each os there should be a separate module, basically 3 different projects that then can be used as native modules for Deskreen. I'll just repost my previous answer. >Yes, Both linux and mac have x servers running. But different >variations of them. There is no problem with Linux at all, it >is all customizable and user can be just asked to restart a >computer to rewrite x server configs. >But on mac and windows this is a quite different situation. Cheers
- GekkePrutser 6y agoOn Mac the X server is only optional though (Xquartz) and I don't think it can even 'see' the entire screen. Only other X Windows apps.
- michaelpb 6y agoGotcha! Thanks for the reply, and thanks again for the project. > So for each os there should be a separate module, basically 3 different projects that then can be used as native modules for Deskreen. I hope more folks contribute to improving each of the different modules. I personally would dive in to work on improving Linux support if I had time, but I'm already very stretched thin, so that will have to wait.
- fblp 6y agoCan you gleen anything from how Facebook messenger does screen sharing on Android and iOS?
- pavlobu 6y agoI don't know but it may be WebRTC behind it as well.
- reidacdc 6y agoThanks for this question and answer -- I recently learned about both xpra and x2go, and was wondering if this was related, like a generalization of it or something. Now I think maybe this is a good answer for some remote visualization applications.
- stragies 6y agoIf your device has an unused VGA connector, then on X11 (perhaps Wayland too) you can "force" the graphics-card into a mode for that output without connecting a VGA dummy plug. That second screen you just export with X11vnc. Using Android Phones/tablets, and USB connections, you can do some little "adb forward" magic, and then push the VNC stream over the USB-connection to a VNC viewer on the Android tables. Run x2vnc to "beam" pointer/HID data to the tablet, for when you are on the external screens with the mouse. Works fine, very low latency, no WIFI required. And it charges your tablet too.
- pavlobu 6y agoWow, sounds great!
- dingdingdang 6y agoAny practical guides/info on how to achieve this setup without a dedicated research session?
- stragies 6y agoFor Linux, X11, USB-connection to Android-Device(s), and the TV over Network: - Make another screen - 3 options, depending on driver/available_outputs: 1: make a mode with `cvt`, add it with `xrandr --newmode`, bind it to unused output with `--addmode` 2: Use a dummy plug on a free output 3: Use `evdi` and the `example` application in evdipp to create a virtual screen, attach the provider with xrandr - Export the new screen, or a portion of it with `x11vnc`, using the `-clip` option with coordinates or screennumber. Optional: Use `NoVNC` to make VNC available to any HTML5 browser - use adb port forwarding commands to forward localhost:whatever1 on the Android device to connect to the X11VNC port. - Use ADB, or your finger to start VNC session on tablet to localhost:whatever1, and UPNP/whatever to start browser on TV for NoVNC url. That should cut down your research time ;) Be warned, Evdi&EvdiPP are currently still glitchy, but under active development. https://github.com/mlukaszek/evdipp https://github.com/mlukaszek/evdipp
- dingdingdang 6y ago