askrobots / network-computer
Public
Your phone is the terminal. Stream a Linux/Mac desktop to an iPhone over WebRTC through NAT, with audio and input. Open source, single binaries.
Dan Quellhorst
Firefox policy: no WebRTC mDNS (a page using WebRTC made Firefox listen on UDP 5353)
a1d92f3
1 month, 3 weeks ago
History
nc-desktop.service · 566 bytes · 16 lines
| 1 | [Unit] |
| 2 | Description=xfce desktop on the headless Xorg (as the desk user; see nc-desktop.service.d/user.conf) |
| 3 | After=nc-xorg.service |
| 4 | Requires=nc-xorg.service |
| 5 | [Service] |
| 6 | Environment=DISPLAY=:0 |
| 7 | # the session needs a private runtime dir; with User= set it is owned by that user |
| 8 | RuntimeDirectory=nc-desktop |
| 9 | RuntimeDirectoryMode=0700 |
| 10 | Environment=XDG_RUNTIME_DIR=/run/nc-desktop |
| 11 | ExecStartPre=/bin/sleep 2 |
| 12 | ExecStart=/usr/bin/dbus-launch --exit-with-session startxfce4 |
| 13 | ExecStartPost=/bin/sh -c "sleep 3; xset s off s noblank" |
| 14 | Restart=always |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |