Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Blast, this is driving me nuts. I am hardly a newbie, but this really managed to annoy me.
I posted this under security, because I believe that it is security that is tripping me up.
My number 1 annoyance so far in linux:
I am normal user, execute xeyes. it works
I su - to root.
I execute xeyes and bang: can't open display.
Hey, root is GOD, he can do anything. Access denied? What the heck...
so far I have done this, with no success:
-set the DISPLAY variable to the same as it is for the user.
-xhost + to allow all users to use the X server.
Can somebody please explain to me why this is such a PITA? HOW do we expect a newbie to dutifully (as sysadmin always preach, no using root to log in) and execute a X program under root? This should not be such a pain.
annoyed*usually*penguin*adoring*user*that*has*just*ended*wrestling*another*hour*with*the*
X*permission*system*for*the*204120 time
Diagnosis.
xeyes is a example for a program that I need to run in root mode. Small and neat, it starts fast and if it works, the real program that I want to launch will also work. If it fails, the other one does also.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.