--- ICON ICON <[EMAIL PROTECTED]> wrote:
> How can I get x windows to run under any user other
> than root or su? When I logon as a normal user and try
> to run my x windows (using startx) the xserver starts
> and then it exits because “No valid modes found”. 
> When I try to run xdm, it says, “only root wants to
> run xdm”; but when I su from this same account
> everything seems to run fine. Someone suggested
> modifying the “xwrappers.config” file, but I
> discovered I don’t have one. Does anyone know how to
> fix my problem?
In your home dir; ie. /home/username make a file called .xinitrc
#touch .xinitrc
or
#echo /usr/bin/WindowMaker > .xinitrc
when you start X with #startx it will look at this file and run
any commands in it, you dont have to worry about permissions, etc.
that should start your window manager (in this case WindowMaker)

> Also I‘m having trouble understanding the user/group
> system under Linux. I don’t know how to add users to
> groups and how to modify groups’ and users’ access
> privileges for certain application (like x windows). I
> cant find any useful information in the HOWTO’s. Can
> anyone tell me where to look (or just explain it to
> me) ? 

#man adduser

root#addgroup groupname   #adds a group
root#addgroup username groupname  #adds a user to a group

HTH,
i am sure you will get better answers, but you dont have to wait for
this one! :)

=====
Shawn Lamson
Debian/GNU Linux Woody
Kernel 2.2.19pre17
XFree86 Version 4.1.0.1 / X Window System
Jesus Loves You!

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

Reply via email to