Sometimes you want to run something graphical as a different user on your system and when switching to that user using su you get the error "cannot open display"
There are a number of solutions to this problem.
The simplest one (but a bit insecure) is to run xhost + before switching users.
This will disable the authentication mechanism of X windows.
There are a number of solutions to this problem.
The simplest one (but a bit insecure) is to run xhost + before switching users.
This will disable the authentication mechanism of X windows.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.