From owner-freebsd-questions Sat Jun 22 14:32:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from vulcan.rsasecurity.com (mail.rsasecurity.com [204.167.114.123]) by hub.freebsd.org (Postfix) with SMTP id A26D637B403 for ; Sat, 22 Jun 2002 14:32:33 -0700 (PDT) Received: from no.name.available by vulcan.rsasecurity.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 22 Jun 2002 21:32:14 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id RAA08121 for ; Sat, 22 Jun 2002 17:32:27 -0400 (EDT) Received: from exna00.securitydynamics.com (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.10.2+Sun/8.10.2) with ESMTP id g5MLUS707784 for ; Sat, 22 Jun 2002 17:30:28 -0400 (EDT) Received: by exna00.securitydynamics.com with Internet Mail Service (5.5.2653.19) id ; Sat, 22 Jun 2002 17:32:26 -0400 Received: from mikko.na.rsa.net (10.104.88.115 [10.104.88.115]) by exna00.securitydynamics.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M28ZR43A; Sat, 22 Jun 2002 17:32:23 -0400 Received: from mikko.na.rsa.net (localhost [127.0.0.1]) by mikko.na.rsa.net (8.12.3/8.12.3) with ESMTP id g5MLWDl0095848; Sat, 22 Jun 2002 14:32:16 -0700 (PDT) (envelope-from mikko@mikko.na.rsa.net) Received: (from mikko@localhost) by mikko.na.rsa.net (8.12.3/8.12.3/Submit) id g5MLWC6C095847; Sat, 22 Jun 2002 14:32:12 -0700 (PDT) From: Mikko Tyolajarvi To: twigles@yahoo.com Cc: questions@freebsd.org Date: Sat, 22 Jun 2002 14:32:12 -0700 (PDT) Message-Id: <200206222132.g5MLWC6C095847@mikko.na.rsa.net> Orig-To: twig les Subject: Re: starting X as non-root Newsgroups: local.freebsd.questions References: <20020621205952.GA10684@freepuppy.bellavista.cz> <20020622005455.12160.qmail@web10106.mail.yahoo.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 wrote: >> > Date: Fri, 21 Jun 2002 13:28:16 -0700 (PDT) >> > From: twig les >> > 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