From owner-freebsd-questions Tue Apr 20 21: 3:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from usgs.gov (igsmn002.wr.usgs.gov [130.118.41.22]) by hub.freebsd.org (Postfix) with SMTP id 60D5E150E1 for ; Tue, 20 Apr 1999 21:03:31 -0700 (PDT) (envelope-from rsowders@usgs.gov) Received: from IGSMN-Message_Server by usgs.gov with Novell_GroupWise; Tue, 20 Apr 1999 21:02:15 -0700 Message-Id: X-Mailer: Novell GroupWise 5.2 Date: Tue, 20 Apr 1999 21:02:13 -0700 From: "Robert Sowders" To: bright@rush.net, arifin@xfilesfan.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Start X-Window from User Login. Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG find out what your shell is type ps and the first line will display your = shell type. If you are logging in via csh, edit your .login file in your home = directory to include the path in your path statement there. You might = also look at your .cshrc as sometimes paths are also set there. If you are logging in via ksh or sh, edit your .profile in your home = directory to include the path.=20 Log out and back in or source your .cshrc or whatever to get a new shell = then type echo $path, and look to see if your new path is there. =20 Here is an example from my .login set path =3D (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/bin = /usr/X11R6/bin You can also type env to see all your environment variable. >>> "Arifin" 4/20/99 6:36:19 AM >>> Hi Alfred, I use FreeBSD 226, when i edit login.conf a line "path" on default section not exist, but in standard section have a line "path". so i add /usr/X11R6/bin=20 on standard section. And then save it, cap_mkdb /etc/login.conf But i type /usr/X11R6/bin/startx still appear "xinit: not found", I use FreeBSD at home, i'm a newbies, just single PC, i use FreeBSD for study Unix Like O/S... Please give me a suggestion, where i do mistake config? I install FreeBSD < 2 weeks ago, and create 2 user without group. i type a ls -l xinit in "/usr/X11R6/bin" appear: -rwxr-xr-x 1 root wheel 16384 Mar 1 1998 xinit what possible problem is a user control list setting? TIA, -arifin ps: sorry for poor english. -----Original Message----- From: Alfred Perlstein To: Arifin Cc: freebsd-questions Date: Monday, April 19, 1999 1:25 AM Subject: Re: Start X-Window from User Login. >On Sun, 18 Apr 1999, Arifin wrote: > >> Hi all.. >>=20 >> How to run window manager from all user. >> I type /usr/X11R6/bin/startx from user login, appear error message: >> "xinit: not found", but in root login no problem?. > >You don't have /usrX11R6/bin in your path, try editing=20 >/etc/login.conf and adding "/usr/X11R6/bin" to the line=20 >with the word "path" at the front: > >default:\ > :copyright=3D/etc/COPYRIGHT:\ > :welcome=3D/etc/motd:\ > :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK,EDITOR=3D/usr/bin/ee:\ > :path=3D~/bin /bin /usr/bin /usr/local/bin /usr/X11R6/bin:\ > :manpath=3D/usr/share/man /usr/local/man:\ > =20 > ^ >here ----------------------------------------------/ > >then run: > >cap_mkdb /etc/login.conf > >to rebuild the login.conf database. > >-Alfred=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org=20 with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message