Re: How to install KDE on NetBSD?

2020-09-20 Thread Chavdar Ivanov
On Sun, 20 Sep 2020 at 16:16, Barry Scott  wrote:
>
> I did find that xset, xsetroot and xprop are used by kstart so I installed 
> them as well.

These should be part of the native Xorg.

>
> I becomig convinced that the problem is that there is config limt on the 
> number of open files.
> Either as a whole system limit or as a per process limit.

This is the only change I have in my /etc/sysctl.conf :

kern.maxfiles=16384
security.pax.mprotect.enabled=0
net.inet.tcp.sendspace=131072
net.inet.tcp.recvspace=131072
net.inet.tcp.recvbuf_auto=1
net.inet.tcp.sendbuf_auto=1


>
> I tried:
>
> sysctl -w proc.curproc.rlimit.descriptors.hard=10
>
> and added to the start of startkde:
>
> ulimit -n 1
>
> KDE seems to get further but its still not getting to a working desktop.
> I'm not seeing the too many open files in .xsession-errors like I was.
>
> I am seeing errors like this:
>
> vmnetbsd# more .xsession-errors
> .xsession-errors: Too many open files in system
>
> When you are running KDE you must be doing some config to up the open file 
> limits I'm assuming.

Nothing besides the mentioned above. However, I am running -current as
of yesterday and each and every package is locally built. I haven't
tried the package sets available from the NetBSD foundation yet. I
actually have two build hosts with different /etc/mk.conf files, using
different versions of python and a few other bits.

>
> What are you configuring and where?

AS I said, nothing special. This is the relevant part of my /etc/rc.conf:

...
sshd=YES
mdnsd=YES
httpd=YES
wscons=YES
rpcbind=YES  rpcbind_flags="-l"  # -l logs libwrap
mountd=YES   mountd_flags="" # NFS mount requests daemon
nfs_client=YES   # enable client daemons
nfs_server=YES   # enable server daemons
lockd=YESlockd_flags=""
statd=YESstatd_flags=""
ntpdate=YES
winbindd=YES
smbd=YES
nmbd=YES
dbus=YES
mpd=YES
hal=YES
avahidaemon=YES
autofs=YES  automount_flags=""
cupsd=YES
cups_browsed=YES


so there is dbus, hal, avahi running. I also build kde4 without samba
(PKG_OPTIONS.kde-runtime4+= -samba in /etc/mk.conf, as this used to
bring samba3, I am using samba4, even as a AD DC in a few systems).


>
> Barry
>


-- 



Re: How to install KDE on NetBSD?

2020-09-20 Thread Barry Scott
I did find that xset, xsetroot and xprop are used by kstart so I installed them 
as well.

I becomig convinced that the problem is that there is config limt on the number 
of open files.
Either as a whole system limit or as a per process limit.

I tried:

sysctl -w proc.curproc.rlimit.descriptors.hard=10

and added to the start of startkde:

ulimit -n 1

KDE seems to get further but its still not getting to a working desktop.
I'm not seeing the too many open files in .xsession-errors like I was.

I am seeing errors like this:

vmnetbsd# more .xsession-errors
.xsession-errors: Too many open files in system

When you are running KDE you must be doing some config to up the open file 
limits I'm assuming.

What are you configuring and where?

Barry



Re: BSDstats

2020-09-20 Thread Vincent DEFERT

The idea itself is interesting, but when you look at their home page:


TrueOS: officially discontinued in 2020
RUS-BSD: last update in 2013
PC-BSD: predecessor of TrueOS
DesktopBSD: abandoned - last updatein 2015, developer confirmedin 2017 
having moved to TrueOS


This seriously questions the relevance and usefulness of this site... :/

On 20/09/2020 08:19, Clay Daniels wrote:

Don't know if anyone is interested, but take a look at:
https://bsdstats.org/

I found this on a website I have visited a lot over the last few years:
https://distrowatch.com/

And I know folks may not be interested in giving out free information, 
but I'm one of the five listed there for NetBSD.


localhost$ pkgin search bsdstats
bsdstats-5.3 =   BSD-Stats collector script

Have Fun,
Clay




BSDstats

2020-09-20 Thread Clay Daniels
Don't know if anyone is interested, but take a look at:
https://bsdstats.org/

I found this on a website I have visited a lot over the last few years:
https://distrowatch.com/

And I know folks may not be interested in giving out free information, but
I'm one of the five listed there for NetBSD.

localhost$ pkgin search bsdstats
bsdstats-5.3 =   BSD-Stats collector script

Have Fun,
Clay