User:Axanon

From ArchWiki
Revision as of 18:58, 30 January 2013 by Axanon (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)