Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 1999 13:46:10 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Arifin <arifin@xfilesfan.com>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Start X-Window from User Login.
Message-ID:  <Pine.BSF.3.96.990418134140.11384I-100000@cygnus.rush.net>
In-Reply-To: <00b001be89a2$5f07b340$c30294ca@arena>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 Apr 1999, Arifin wrote:

> Hi all..
> 
> 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 
/etc/login.conf and adding "/usr/X11R6/bin" to the line 
with the word "path" at the front:

default:\
    :copyright=/etc/COPYRIGHT:\
    :welcome=/etc/motd:\
    :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\
    :path=~/bin /bin /usr/bin /usr/local/bin /usr/X11R6/bin:\
    :manpath=/usr/share/man /usr/local/man:\
  
                                                   ^
here ----------------------------------------------/

then run:

cap_mkdb /etc/login.conf

to rebuild the login.conf database.

-Alfred 



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?Pine.BSF.3.96.990418134140.11384I-100000>