thin-client/README.md

75 lines
1.9 KiB
Markdown

## Resources
- https://stackoverflow.com/questions/20548509/forwarding-x11-without-ssh-how-do-i-run-local-apps-on-another-pc-running-x-serv/20549473#20549473
- https://github.com/mviereck/x11docker/wiki/How-to-access-X-over-TCP-IP-network
- https://askubuntu.com/questions/203173/run-application-on-local-machine-and-show-gui-on-remote-display
- https://askubuntu.com/questions/615139/how-to-make-x-org-listen-tcp-port-to-remote-connections
How to determine display manager (thing that starts Xorg)
- https://unix.stackexchange.com/questions/20370/is-there-a-simple-linux-command-that-will-tell-me-what-my-display-manager-is
Enable TCP when using GDM3 as display manager
- https://askubuntu.com/questions/672180/x-server-started-with-nolisten-tcp-in-spite-of-disallowtcp-false-in-etc-gdm
Testing X server
- https://wiki.archlinux.org/title/Xephyr
First thing that actually fucking works
- https://shlomif-tech.livejournal.com/76300.html
Trying this
After modifying /etc/gdm3/custom.conf content by adding ServerArguments=-listen tcp. I got xserver running on port 6000
[security]
DisallowTCP=false
[xdmcp]
ServerArguments=-listen tcp
as per
https://askubuntu.com/questions/672180/x-server-started-with-nolisten-tcp-in-spite-of-disallowtcp-false-in-etc-gdm
Doesn't work
A 'real' X server might have to configure XDCMP
https://help.gnome.org/admin/gdm/stable/configuration.html.en
i think XDCMP is for transferring the entire desktop to another X server
we don't really want that
Might need -listen tcp added...
sudo mv /usr/lib/xorg/Xorg /usr/lib/xorg/Xorg-safe
Replace with
```bash
#!/usr/bin/env bash
/usr/lib/xorg/Xorg -listen tcp $@
```
BAD things happen if you change this file
boot loop without tty access
RIP
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2083310
Using lightdm now
https://users.fedoraproject.narkive.com/srD4h4Sx/how-to-make-xorg-listen-to-tcp-lightdm
lightdm --show-config