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: problem upgrading from 5.0 to 5.1

2003-07-08 Thread Serge Yaroshenko
Hi!

Paul Chvostek wrote:

On Mon, Jul 07, 2003 at 01:38:59PM -0500, Michael L. Squires wrote:
 

I've got a box on which 5.0-RELEASE was installed.  I updated the source
tree using cvsup to RELENG_5_1 and tried to recompile, and now every
 

RELENG_5_1 is compiling for me (as of 7/4).
   

Okay, but it's not for me.

 

Are you running

mergemaster -p
make buildworld
   

This is where it stops, while trying to compile bin/cat.  The pertinent
lines remain:
| /usr/obj/var/src/i386/usr/lib/libc.a(atexit.o): In function `atexit':
| atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock'
| atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock'
I tried installing devel/pth from ports, to no avail (which makes sense;
the port wouldn't affect how libc.a has been compiled).
My /etc/make.conf includes:

 CPUTYPE=i686
 CFLAGS= -O3 -pipe
Try 
CFLAGS= -O2 -pipe

COPTFLAGS= -O -pipe

For compiling kernel not recomended turn on optimizing -O2.
I have similar error when make buildworld with -O3.
Serge.

 COPTFLAGS= -O3 -pipe
 MAKE_IDEA=  YES # IDEA (128 bit symmetric encryption)
 COMPAT4X=   yes
Any further wisdom?

 



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


Re: Can't install/upgrade/remove ports

2003-07-07 Thread Serge Yaroshenko
Hi!
You want upgrade installed ports ? If yes then install 
/usr/ports/sysutils/portupgrade and
read man pages for portsdb, pkgdb, portversion and portupgrade.
This utils check what ports version in /usr/ports (portsdb) and what 
ports installed in your System (pkgdb).
portversion - list all ports; sign '' - what need updates.
portupgrade do update work very fine.

I use this utils about 2 year.

Sorry for my bad english!

Serge.

Dragoncrest wrote:

Just recently ran into an issue upgrading, removing, or installing
ports.  For some strange reason when I compile the port, it's fine, but
as soon as the make install or any installing command runs it
immediately dumps out with an error similar to this:
=== Generating temporary packing list
=== Checking if www/lynx-current already installed
*** Error code 1
It then dumps out and it won't go any farther.  It even refuses to
remove the port even though it removes the pkg_info entry.  Anyone know
what is causing this?  I'd really apreciate any help on this.  Thanks.
___
[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]