From owner-freebsd-questions Thu Mar 12 17:52:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA21176 for freebsd-questions-outgoing; Thu, 12 Mar 1998 17:52:06 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA21032 for ; Thu, 12 Mar 1998 17:51:37 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id MAA01483; Fri, 13 Mar 1998 12:21:35 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id MAA06432; Fri, 13 Mar 1998 12:21:35 +1030 (CST) (envelope-from grog) Message-ID: <19980313122134.18401@freebie.lemis.com> Date: Fri, 13 Mar 1998 12:21:34 +1030 From: Greg Lehey To: anthony@sohopros.com Cc: FreeBSD Questions Subject: Re: xinit with non root login? References: <3.0.32.19980312195038.00805a80@pop.flash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <3.0.32.19980312195038.00805a80@pop.flash.net>; from anthony@sohopros.com on Thu, Mar 12, 1998 at 07:50:41PM -0600 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 12 March 1998 at 19:50:41 -0600, anthony@sohopros.com wrote: > At 11:15 AM 3/13/98 +1030, you wrote: >> On Thu, 12 March 1998 at 14:21:22 -0800, Doug White wrote: >>> On Wed, 11 Mar 1998, Anthony E. Coley wrote: >>> >>>> I can not start my X server from a non root login. Can someone give me >>>> an idea where I should start looking to correct this problem? >>> >>> Check the X error messages first. >> >> Make sure your X server is setuid root: >> >> # chown root.sys /usr/X11R6/bin/X >> # chmod 4755 /usr/X11R6/bin/X > > Greg, I think my problem is a path problem. When I execute > xinit I get this message: > > #xinit > xinit: not found > > Could you help me set the correct path? I'm also not sure > where the path goes. I have your book but I'm unable to > find out exactly what I need to set to make this work. Depends on the shell you're running. For sh, bash, ksh, zsh, put something like this in your .profile file: PATH=$PATH:/usr/X11R6/bin I'll leave somebody else (Doug, are you listening?) to tell you the syntax for csh and tcsh. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message