Re: FBSD 5.2-1 NIS/YP KDE

2004-04-17 Thread Joshua Lokken
* RA Cohen <[EMAIL PROTECTED]> [2004-04-16 08:28]:
> Hello All,
> 
> school environment). How can I make all of them default to KDE
> without manually going into each and every central home
> directory to set this? Do I need a Perl sctript to do this? How
> can I get a new user addition to default to KDE?

I believe you could include an .xsession or .xinitrc in the skel dir
you're using to populate new users' homes.  There is also an environment
variable that'll do it; WINDOW_MANAGER= or similar.

> 
> I hope I have been clear. I would think this scenario is
> becoming more common as people try to move away from MS-based
> networks, but I have found really scant info...There's a
> LinuxWorld November 2002 article on KDE central administration,
> but it doesn't address the additional problems NIS causes!

Don't know NIS.
 

-- 
Joshua

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


Re: FBSD 5.2-1 NIS/YP KDE

2004-04-17 Thread Martin Brecher
RA Cohen wrote:
[...]
I have been successful in all aspects but one:  client logins
default to the most basic window mgr (tvwm I think). There are
approx. 400 potentiaol users total over 65 workstations (a
school environment). How can I make all of them default to KDE
without manually going into each and every central home
directory to set this? Do I need a Perl sctript to do this? How
can I get a new user addition to default to KDE?
[...]

There are many ways to achieve this.

As you have all the home folders in a central location, it would be 
easiest to replace every user's .xsession/.xinitrc files with one 
calling startkde.

For new users to already have this custom file, place it in 
/usr/share/skel/ with a name of dot.xinitrc resp. dot.xsession.

But there are other solutions:

One thing to consider is using a graphical login managager like 
{k,g,x}dm, in case you don't already do so.

{k,g}dm allow the user to chooser their session. Adding new sessions to 
the list is pretty straightforward - just take a look at gdm.conf resp. 
kdm.conf files and the respective documentation.

If xdm is used you could modify its Xsession file: remove the part where 
~/.xsession is started and simply have it launch kde.

Yet another way would be to simply replace twm with a symlink pointing 
at the startkde script.



Finally, I suggest you check out cfengine  (also in 
the ports), which makes central administration of a network quite easy. 
Cfengine also has macros to easily modify every user's 
~/.{xsession,whatever} file.
Additionally, you might want to consider using CVS to keep track of your 
configuration files (or/and the configuration files of cfengine).

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


FBSD 5.2-1 NIS/YP KDE

2004-04-16 Thread RA Cohen
Hello All,

I am trying to build a network around NIS/YP on a v 4.9-STABLE
central/login server. Clients are FBSD v 5.2-1. The goal is a
centrally administered KDE environment for each workstation.
Because I am exporting the home directories on the server, as
well as passwords via YP, users default to their home
directories on the server upon successful login. This works,
there are no issues yet (except for the member of more than 16
groups issue)...

I have been successful in all aspects but one:  client logins
default to the most basic window mgr (tvwm I think). There are
approx. 400 potentiaol users total over 65 workstations (a
school environment). How can I make all of them default to KDE
without manually going into each and every central home
directory to set this? Do I need a Perl sctript to do this? How
can I get a new user addition to default to KDE?

I hope I have been clear. I would think this scenario is
becoming more common as people try to move away from MS-based
networks, but I have found really scant info...There's a
LinuxWorld November 2002 article on KDE central administration,
but it doesn't address the additional problems NIS causes!

Thanks in advance,
Roy





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"