Date: Tue, 20 Apr 1999 21:02:13 -0700 From: "Robert Sowders" <rsowders@usgs.gov> To: bright@rush.net, arifin@xfilesfan.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Start X-Window from User Login. Message-ID: <s71ceb57.052@usgs.gov>
next in thread | raw e-mail | index | archive | help
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" <arifin@xfilesfan.com> 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 <bright@rush.net> To: Arifin <arifin@xfilesfan.com> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s71ceb57.052>