User:Axanon

From ArchWiki
Jump to: navigation, search

Misc How-tos

Run X Apps while su'd locally

userA@host $ echo $DISPLAY
userA@host $ xauth list "$DISPLAY"
userA@host $ su - userB

userB@host $ xauth add <output from 'xauth list' above>
userB@host $ export DISPLAY="<output from echo $DISPLAY>"
userB@host $export $(dbus-launch)