Date: Sat, 22 Jun 2002 14:32:12 -0700 (PDT) From: Mikko Tyolajarvi <mikko@dynas.se> To: twigles@yahoo.com Cc: questions@freebsd.org Subject: Re: starting X as non-root Message-ID: <200206222132.g5MLWC6C095847@mikko.na.rsa.net> References: <20020621205952.GA10684@freepuppy.bellavista.cz> <20020622005455.12160.qmail@web10106.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.questions you write: >Thanks to everyone for the quick and simple replies. >I hate to do this, but I have another one that has >been whipping me. After installing Xwrapper, I can >start xterm as a mere mortal, but Windowmaker won't >start unless I am root, then it pops up beautifully. >I've been poking around for a few hours now inside >/usr/X11R6 and havent gotten anywhere. I also tried >the FAQ. I can still reinstall and get around this >but would rather *understand*. Any help is >appreciated. Check that you haven't created any windowmaker related files in your home directory as root, which cannot be accessed when running as yourself. Thus: % cd $HOME % find . -user 0 If you yse "startx" or some similar command to launch X, try redirecting its stdin/stderr to a file -- there might be some clues there. $.02, /Mikko >--- Roman Neuhauser <neuhauser@bellavista.cz> wrote: >> > Date: Fri, 21 Jun 2002 13:28:16 -0700 (PDT) >> > From: twig les <twigles@yahoo.com> >> > Subject: starting X as non-root >> > To: freebsd-questions@FreeBSD.ORG >> > >> > Hey all, I've run into this before and found a >> > solution but would like to try another way.... >> > >> > I have configured X and can run it as root, but if >> I'm >> > a different user (in wheel even) I can't. I'll >> paste >> > my XFree86.0.log at the end. I'm sure this is >> normal >> > since the error says X has to be suid root. >> However I >> > don't know how to set this up manually and would >> like >> > to know. Previously I have solved this by simply >> > going through the install process again and making >> > sure I configure X during the initial install >> instead >> > of a post-configure. >> > >> > So my question is, how do I configure this? I >> will >> > gladly RTFM if someone has one. >> >> # (cd /usr/ports/x11/wrapper && make install >> clean) >> >> -- >> FreeBSD 4.5-STABLE >> 10:59PM up 18 days, 12:48, 13 users, load averages: >> 0.00, 0.00, 0.05 >===== >----------------------------------------------------------- >Only fools have all the answers. >----------------------------------------------------------- >__________________________________________________ >Do You Yahoo!? >Yahoo! - Official partner of 2002 FIFA World Cup >http://fifaworldcup.yahoo.com >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message -- Mikko Tyolajarvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206222132.g5MLWC6C095847>