Re: startx wont load anymore as root

2003-07-28 Thread Serge Yaroshenko
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.

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



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: startx wont load anymore as root

2003-07-28 Thread Charlie Schluting
On Mon, 28 Jul 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.
>
> [EMAIL PROTECTED]:/root > startx
> -bash : start: command not found
> [EMAIL PROTECTED]:/root >
>
> anyone help


Try:
/usr/X11R6/bin/startx
But you shouldn't run X as root anyways...

You could have also done: which startx
as yourself, noted the path, and then ran /usr/X11R6/bin/startx as root.

--Charlie

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


startx wont load anymore as root

2003-07-28 Thread marlon corleone
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.

[EMAIL PROTECTED]:/root > startx
-bash : start: command not found
[EMAIL PROTECTED]:/root >

anyone help


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"