Changes

64 bytes added ,  08:31, 3 September 2010
→‎Testing: unset XAUTHORITY
Line 87: Line 87:  
  user$ sudo useradd -m test1
 
  user$ sudo useradd -m test1
   −
* Become the test user. If $DISPLAY is not preserved, you may have to set it manually
+
* Become the test user. If $DISPLAY is not preserved, you may have to set it manually. And you may have to unset XAUTHORITY.
    
  user$ sudo -i -u test1
 
  user$ sudo -i -u test1
 
  test1$ export DISPLAY=:0
 
  test1$ export DISPLAY=:0
 +
test1$ unset XAUTHORITY
    
* Copy-paste the output of "xauth list" ran from your regular account
 
* Copy-paste the output of "xauth list" ran from your regular account
132

edits