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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.