Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 09:46:03 +0400
From:      Serge Yaroshenko <jaroshenko@mailru.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: startx wont load anymore as root
Message-ID:  <3F260A1B.4020509@mailru.com>
In-Reply-To: <20030729051538.37987.qmail@web10004.mail.yahoo.com>
References:  <20030729051538.37987.qmail@web10004.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>
>
>  
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F260A1B.4020509>