Other articles


  1. X-forwarding combined with sudo

    X11 forwarding combined with sudo

    Unfornunately I have no better solution found for X-forwarding and sudoing afterwards, yet.

    This solution is insecure, but works as a dirty hack.

    user:~$ xauth list | grep unix$(echo $DISPLAY | cut -c10-12) > /tmp/xauth
    user:~$ sudo -s
    root:~# xauth add $(cat /tmp/xauth)
    root …
    read more

links

social