SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I just installed slackware 10.2 and while I was configuring some users and groups I accident removed the "video" group, so now whenever I try to run a program from a terminal window it says it can't access the xserver, I am running the console in the Xwindows, and before I screwed up it would run the program from the console.
the command I ran was
groupmod -n "username" video
I wanted to add the "username" to the video group, but instead it added a group called "username" to the /etc/groups file.
I'm not sure, so let me ask a few elementary questions.
First, did you add your username(s) and not mine?
Second, did you remove that username group you created by accident?
Third, have you Google this error?
Fourth, what command are you running that returns that error?
You might need to restart the X server -- not sure. Just exit
the X server with your GUI menu, or "Ctrl+Alt+Backspace" and
then type "startx" to start the X server again.
What I did was vigr as root changed "username"::18: to video::18:"usernames" for "usernames" I added 3 users to the list root, my ID and the ID I want to use to run the program, seperated by a comma. I restarted X as you suggested and it still wont work. I get the same error. I have googled this error but I get a lot of stuff that doesn't seem to be similar to my problem. :
I ran xhost + as the user and it works.. But I assume this is a temp fix and would like to find a permenant fix.