Tuesday, March 29, 2011

Using Sudo with Xorg

I found a simple way to use Sudo with Xorg applications.
Run:
  # mv -v ~/.Xauthority{,.b}    #For backup
  # ln -s ~{your_user_name,}/.Xauthority    #Substitute your_user_name with your user name
Now you can use Sudo to run X apps. (Maybe they won't be able to connect to DBus, though.)

No comments:

Post a Comment