Re: Difficulties to launch KDE

2005-10-23 Thread Philip Lykke Carlsen
Sunday 23 October 2005 17:13 skrev Michał Masłowski:
  Hello:
 
  I am sure you will find my problem quite easy. I just installed FreeBSD
  5.4, and I configured KDE and related configurations according with the
  handbook. My .xinitrc file contains only the line: echo exec
  startkde. When I type startx everything seems to be well, but KDE
  doesn't start. There are no errors reported or anything pointing to the
  problem, except a line at the end which reads:
 
  xauth: (argv):1:  bad display name Monique.gateway.2wire.net:0 in
  remove command
 
  I am behind a wireless modem-router with domain name gateway.2wire.net.
 
  I do not know what command remove is referred here or where it occurs,
  and how to fix it. No entry like this in xorg.conf.
 
  I will appreciate any help.
 
  Teilhard.

 Do you have exec startkde in .xinitrc ?
 echo exec startkde is used to put it in a file.

 If this problem still occurs, read startx's man page.

 I don't know anything about xauth.

Well, .xinitrc only needs to contain startkde.. the echo thing will only 
write it to the terminal you use to start X with.. 
your xauth problem is probably due to your hostname not being in 
your /etc/hosts.. just add it under localhost and you should be fine..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Preloading of shared libraries

2005-10-23 Thread Philip Lykke Carlsen
Hey.. I wondered if it was possible to load a selection of shared libraies 
into the cache at boot time.. I figure that it would speed up starting 
things.. like the KDE login manager for instance.. 

hm.. is this possible? .. and if so.. would it speed up the process of 
starting stuff at all?..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Preloading of shared libraries

2005-10-24 Thread Philip Lykke Carlsen
Sunday 23 October 2005 18:23 skrev du:
 Philip Lykke Carlsen wrote:
  Hey.. I wondered if it was possible to load a selection of shared
  libraies into the cache at boot time.. I figure that it would speed up
  starting things.. like the KDE login manager for instance..
 
  hm.. is this possible? .. and if so.. would it speed up the process of
  starting stuff at all?..

 Sort of.  At one point, you could set the sticky bit on files as a hint to
 the pager to try and keep them in memory, which was intended for things
 like /bin/sh, cron, login, and maybe libc.

aah.. I always wondered what the sticky bit actually did..


 Whether it would help in your particular case is harder to say, how much
 RAM does your machine have, and what kind of CPU?  Some people believe that
 KDE requires excessive resources for what it does, consider fluxbox or
 something more lightweight...

No problem when when it comes to resources.. ( I have an ordinary x86 2,6 GHz 
Celeron CPU and 768 mb DDR RAM ) 
I tried fluxbox once.. didn't like it though.. but that's just a matter of 
taste.. just thought I'd try KDE as a change as I've previously only used 
wm's like EvilWM, LWM, TWM an Co.. 
.. so, there isn't a program that doesn't do anything but load a shared object 
into memory and then close? .. 
hm.. if all it takes is to call open() for a sticky-bit file to stay in 
memory, I'd gladly write that program myself :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: traffic accounting per username with ipfw in 5.4 ? (more)

2005-10-25 Thread Philip Lykke Carlsen
Monday 24 October 2005 23:54 skrev user:
 Hello,

 On Tue, 25 Oct 2005, Andrew P. wrote:
  On 10/25/05, user [EMAIL PROTECTED] wrote:
   I remember that ipfw had been augmented some time ago to do traffic
   counting, etc., based on usernames ... but I see no mention of that in
   the ipfw man page on my 5.4-RELEASE system.
  
   Is this something that only exists in IPFW2 ?  Does ipfw2 even exist
   anymore ?
  
   Can someone clarify for me what is going on with regard to what used to
   be called IPFW2, FreeBSD 5.x, and per-user traffic counting ?
  
   thanks.
 
  ipfw2 replaced ipfw in 5.x
 
  Read the manpage more carefully, please. Search
  for uid option.

 Thanks - I was searching for username and getting nowhere.  Also, thank
 you for the clarification regarding ipfw2/ipfw and their current state.

 I notice that the traffic accounting per uid only applies to traffic
 initiated by that user, and initiated from the local machine.  If I scp a
 file away from the machine (as user X) the traffic does not get
 incremented, and if I scp a file to the local machine (as user X) it also
 does not get incremented - even though those are non-anonymous actions
 that occur under the auspices of a particular username.

 Doe anyone have any suggestions for traffic accounting (of particularly
 ssh traffic) on a per user basis, for _all_ traffic that occurs under the
 auspices of that username, and not just what _they themselves_ initiate,
 personally, in their own login shell ?

 Thank you.

I've looked a bit into this, and it appears that sshd changes uid in FreeBSD 
6.0 (I use 6.0RC1) .. I bet upgrading the system would be a lot easier than 
constructing a complex  traffic-accounting system.. I'd think so at least..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Basic Port Management.Is there any?

2005-10-31 Thread Philip Lykke Carlsen
Monday 31 October 2005 10:00 skrev George Katsanos:
 Hello ! ,


 As a fresh Freebsd user[and fan] I am trying to set up my WM / X
 environment and choose the apps I will use for basic stuff.
 Text Editors , Image viewers , Mail apps , FileManagers.

 So after I see some screenshots [it would be very nice and handy if some
 screenshots could be added to the freebsd.org/ports database] I'm making
 install the port to check it out. Some times , I decided that I don't like
 it . So my first though is to get rid of it , cause I don't want ''trash''
 on my system.
 I'm making deinstall [or pkg_delete] to remove it. Everything ok so far ,
 but what about the one zillion dependant pkg's the app made?
 You can say , do a pkg_delete -r . Yes but this will may delete also pkgs
 that are Needed by other ports/apps..


 Is there any good plan solution for this ?...

well.. if you issue a `pkg_info -r pkg_name`  command you will see all the 
packages that the package pkg_name depends on..

As for ports' management I'd recommend installing sysutils/portupgrade
some people like sysutils/portmanager better though.. but I can't really say 
I'm familliar with that though..

the portupgrade port is a set of utilities to help you manage your installed 
ports..

it's got pkg_deinstall which seems to have what you seek
pkg_deinstall -R would deinstall a package's dependencies as well
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (no subject)

2005-11-13 Thread Philip Lykke Carlsen
Sunday 13 November 2005 22:49 skrev Andrew P.:
 On 11/13/05, Scharp Ledge [EMAIL PROTECTED] wrote:
  How do I delete BSD?  Thanks
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 Boot up from a live cd and do:

 dd if=/dev/zero of=/dev/ad0 bs=1024 count=1024

 Substitute ad0 with what you want to wipe.
 This should take about a few seconds.


 And BTW, don't forget that uninstalling/deleting
 *BSD is quite bad for your karma. You'll need to
 kill a few penguins after that.

Hehe.. just the sort of phrase that should be on a BSD-quote site.. and in the 
fortune program as well :p
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


recursive port configuration

2005-11-13 Thread Philip Lykke Carlsen
Hi all.. 

.. Is there any way to recursively configure the dependencies of a given port?

.. there's nothing worse than starting a portupgrade -a before going to bed 
and then waking up to a blue configure-screen and discovering that the show 
stopped just about 10 minutes after I left the screen :-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to install subversion-1.3.0.r2 while compile with WITH_MOD_DAV_SVN=yes

2005-11-13 Thread Philip Lykke Carlsen
Monday 14 November 2005 02:19 skrev Ma Jie:
 I'm using FreeBSD 6.0-STABLE. It is OK to compile subversion using
 standalone mode. But when I want to use apache2 protocol with
 subversion, a compiling failure occured as below:

 ---
--- # make WITH_MOD_DAV_SVN=yes
 install
 ===  Installing for subversion-1.3.0.r2
 ===   subversion-1.3.0.r2 depends on executable:  - not found
 ===Verifying install for  in /usr/ports/www/apache2
 ===   Returning to build of subversion-1.3.0.r2
 ===   subversion-1.3.0.r2 depends on shared library: expat.5 - found
 ===   subversion-1.3.0.r2 depends on shared library: neon.24 - found
 ===   subversion-1.3.0.r2 depends on shared library: intl - found
 -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav
 libexec/apache2/mod_dav.so
 -e: not found
 *** Error code 127

 Stop in /usr/ports/devel/subversion.

make -DWITH_MOD_DAV_SVN=yes install

in order to set a make-variable from the commandline you have to prepend a -D 
to the switch.. that should do the trick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: recursive port configuration

2005-11-14 Thread Philip Lykke Carlsen
Monday 14 November 2005 04:40 skrev Giorgos Keramidas:
 On 2005-11-14 02:07, Philip Lykke Carlsen [EMAIL PROTECTED] wrote:
  Hi all..
 
  .. Is there any way to recursively configure the dependencies of a given
  port?

 For those ports that support a 'make config' target, you can
 always use 'config-recursive':

 # cd /usr/ports/category/foo
 # make config-recursive

 There are some ports that don't support 'config' though, so you
 may have to create a local customization set of options in the
 `/usr/local/etc/pkgtools.conf' file.  Look for the comment that
 describes the MAKE_ARGS hash of options.

 - Giorgos

aah.. thanks :-) .. is there any way to get information on the make targets of 
the portssystem?.. I seem to find out only at random.. and I'm not all that 
good at reading make-files :-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portssystem stale dependencies

2005-11-19 Thread Philip Lykke Carlsen
.. does anyone know why the problem of stale dependencies in the package system 
occurs?.. it's just.. the system won't let you install any given port/package 
without having met all the dependencies.. just how does it _forget_ that it 
just installed some package?..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portssystem stale dependencies

2005-11-20 Thread Philip Lykke Carlsen
Sunday 20 November 2005 03:18 skrev RW:
 On Saturday 19 November 2005 10:37, Philip Lykke Carlsen wrote:
  .. does anyone know why the problem of stale dependencies in the package
  system occurs?.. it's just.. the system won't let you install any given
  port/package without having met all the dependencies..

 That's not entirely true, it's really only portupgrade and it's associated
 tools that have a serious problem with stale dependencies. Portmanager is
 much more forgiving, as is direct make install  installation.

Well, then I think that I'll give portmanager a try.. thanks :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


umass detected, but da is never created

2005-12-24 Thread Philip Lykke Carlsen
I have this external harddisk kit, and when I plug it in, the system correctly 
recognizes it as a umass.. but afterwards, the da device is never created..

this is what I get from the console:

umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT

Also, the very same thing but the timeouts are happening if I connect an Apple 
iPod.. 

And for the record, I had this problem with both the generic and my custom 
kernel.. both with umass,da,ses,pass compiled in..

Any ideas as for how to solve this?
Any guidelines and I'd gladly edit the files in question and submit a patch, 
when I get it working.. 

PS, Any other usb-drive I've tried has worked without problems..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]