From owner-freebsd-questions@FreeBSD.ORG Mon Jul 28 22:45:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E545237B401 for ; Mon, 28 Jul 2003 22:45:25 -0700 (PDT) Received: from ns1.stelt.ru (ns1.stelt.ru [217.18.48.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AF0543FF9 for ; Mon, 28 Jul 2003 22:45:24 -0700 (PDT) (envelope-from jaroshenko@mailru.com) Received: from gate-mx.stelt.ru (gate-mx.stelt.ru [217.18.48.32]) by ns1.stelt.ru (8.12.9/8.12.9) with ESMTP id h6T5jLt7005957 for ; Tue, 29 Jul 2003 09:45:22 +0400 Received: by gate-mx.stelt.ru (Postfix, from userid 502) id E21722F121; Tue, 29 Jul 2003 09:45:21 +0400 (MSD) Received: from mailru.com (unknown [192.168.1.41]) by gate-mx.stelt.ru (Postfix) with ESMTP id B543B2F114 for ; Tue, 29 Jul 2003 09:45:21 +0400 (MSD) Message-ID: <3F260A1B.4020509@mailru.com> Date: Tue, 29 Jul 2003 09:46:03 +0400 From: Serge Yaroshenko User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20030729051538.37987.qmail@web10004.mail.yahoo.com> In-Reply-To: <20030729051538.37987.qmail@web10004.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: startx wont load anymore as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 05:45:26 -0000 marlon corleone wrote: >startx wont load anymore running it as root. the >problem started when i got a improper shutdown, and >when i reboot >i saw this error message dmesg /var /usr was not >properly dismounted, so what i did, is boot in single >user and do a fsck then when i boot the error is gone >i can do startx in normal user, but not as ROOT. > >root@Akira:/root > startx >-bash : start: command not found >root@Akira:/root > > >anyone help > > > Hi! 1) You nust set sgid bit on /usr/X11R6/bin/Xwrapper-4 (if it not set). # ls -la Xwrapper-4 -r-sr-xr-x 1 root wheel 5280 May 27 19:28 Xwrapper-4 OR 2) use xdm|gdm|kdm. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html Good start point http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Serge. >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > >