startx wont load anymore as root

Serge Yaroshenko jaroshenko at mailru.com
Mon Jul 28 22:45:26 PDT 2003


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 at Akira:/root > startx
>-bash : start: command not found
>root at 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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>  
>




More information about the freebsd-questions mailing list