For running GUI applications as another user otheruser=<username> xhost +SI:localuser:$otheruser su $otheruser ...