Difference between revisions of "User:Axanon"

From ArchWiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* [[User:Axanon/sandbox]]
 
* [[User:Axanon/sandbox]]
 +
* [[User:Axanon/trashcan]]
 +
 +
== Misc How-tos==
 +
=== Run X Apps while su'd locally ===
 +
{{bc|<nowiki>
 +
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)</nowiki>
 +
}}

Latest revision as of 18:58, 30 January 2013

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)