tags: linux kubuntu ubuntu linux setup-notes Most of my [notes for 22.04 still apply](/linux/setup-notes/Kubuntu2204a) # Xorg Listen Tcp This is a dirty hack, but I can't find the 'proper' way to do this. For now, `sudo vi /usr/bin/Xorg` and change it to read ```bash basedir=/usr/lib/xorg if [ -x "$basedir"/Xorg.wrap ]; then exec "$basedir"/Xorg.wrap "$@" -listen tcp else exec "$basedir"/Xorg "$@" -listen tcp fi ``` by appending `-listen tcp`. Then if you are on your own private LAN and so don't care about permissions, then in your `.bash_login` put ```bash [ -n "$DISPLAY" ] && xhost + ``` if needed.