Re: kdm not starting after init level change

2005-12-08 Thread martin f krafft
also sprach Josh Metzler <[EMAIL PROTECTED]> [2005.12.08.1340 +0100]:
> > [please CC me on replies]
> 
> Doing so, even though your sig says not to. :)

Sorry. :)

> Is it possible that it is starting but failing to switch to vt7 for some 
> reason?  What happens if you do an Alt+F7 at this point?

vt7 is black.

> If you remove kdm.log / XFree86.0.log before booting the machine, does 
> anything get written to them by the kdm init script, or are they not there?

kdm.log gets written, but only contains the message about it using
syslog to log via the daemon.* facility, nothing else.

XFree86.0.log does not get written it seems.

> > I've attached a tarball of four strace scripts after putting an
> > strace -ff -F in front of the init script start-stop-daemon call for
> > kdm. I can't make sense of it, but maybe it helps.
> 
> Looks like you forgot to attach it.

Doh! Now I did not.

Please continue to CC me.

-- 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
if it's there, and you can see it, it's real.
if it's not there, and you can see it, it's virtual.
if it's there, and you can't see it, it's transparent.
if it's not there, and you can't see it, you erased it.


kdm.strace.tar.gz
Description: Binary data


signature.asc
Description: Digital signature (GPG/PGP)


kdm not starting after init level change

2005-12-08 Thread martin f krafft
[please CC me on replies]

Hi,

I have a sarge machine with KDE 3.3 installed, and for some reason,
kdm doesn't start anymore. It's properly registered as S99 with
runlevel 2 (the default), it is the default window manager, and
a `set -x` in the init script reveals that start-stop-daemon is
being called properly while the script executes.

However, when I boot the machine, or change to runlevel 2 (e.g. from
single user mode), the script says it started the KDE window
manager, but the machine is left with the /bin/login prompt, and
neither kdm.log nor XFree86.0.log contain any hint for a problem.
The screen also does not turn blank or flicker, so it seems as if
kdm simply doesn't start. It seems that sometimes the machine just
sits and waits for a keypress, then suddenly starts kdm. However,
this is not reproducible at will, happens randomly it seems.

Curiously, running the init script by hand after the boot works
alright.

I've attached a tarball of four strace scripts after putting an
strace -ff -F in front of the init script start-stop-daemon call for
kdm. I can't make sense of it, but maybe it helps.

Thanks for any help! Please CC me on replies!

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
"if a packet hits a pocket on a socket on a port, and the bus is
 interrupted at a very last resort, and the access of the memory makes
 your floppy disk abort, then the socket packet pocket has an error to
 report."
  -- 


signature.asc
Description: Digital signature (GPG/PGP)


how to enable antialiasing?

2004-11-07 Thread martin f krafft
[please CC me on replies]

Generally, Debian's KDE works out of the box with respect to
antialiasing. However, every now and then we install a box and get
jaggy fonts. I cannot find out where the problem is.

All machines have fontconfig installed and bitmap fonts enabled, as
well as autohinting and subpixel rendering on the ones with LCD
displays.

All machines have xfonts-konsole installed, and `fc-cache -f` was
run after the installation of xfonts-konsole.

All machines have X configured correctly. For instance, Firefox uses
antialiasing properly. Fluxbox also works fine, so it's just KDE.

Enabling Antialiasing in kcontrol/Appearance/Fonts does not make
a difference.

I am at a loss and would appreciate any hints!

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: problems with nsswitch.conf and KDM

2004-11-06 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2004.10.30.1832 +0200]:
> > will make your problem go away.  nscd acts as a nice
> > root-priviliged buffer between getpwnam() calls and ldap.  With
> > nscd not running normal users are unable to do lookups ("getent
> > passwd" will confirm), but once nscd is running everthing seems to
> > be hunky dory.
> 
> nscd is not an option.

It also does not fix the problem; I just tried it.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: disabling kpersonalizer

2004-11-06 Thread martin f krafft
also sprach Ulrich Fürst <[EMAIL PROTECTED]> [2004.11.06.1525 +0100]:
> Sure, I know and kde-core depends on it, too. But they are only
> metapackages. 

So? This is what users install.

I do wonder why kde-core even depends on kpersonalizer. It should be
a suggestion...

/me files a bug.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: disabling kpersonalizer

2004-11-06 Thread martin f krafft
also sprach Ulrich Fürst <[EMAIL PROTECTED]> [2004.11.06.1250 +0100]:
> I had success with "apt-get --purge remove kpersonalizer"

kdebase depends on kpersonalizer



also sprach Ulrich Fürst <[EMAIL PROTECTED]> [2004.11.06.1255 +0100]:
> Why should someone have a program installed, nobody's using.

I don't want people to have to use it, but everyone is free to use
it.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: setting KDEDIRS

2004-11-01 Thread martin f krafft
also sprach Alejandro Exojo <[EMAIL PROTECTED]> [2004.11.01.1126 +0100]:
> There is per-user possibility as a alternative to what Bart has
> said. Put a shell script in ~/.kde/env/, and it will be sourced at
> login time.

Well, I definitely want it system-wide. Anyhow, From what
I understand, this was only added in 3.3. Sarge still has 3.2.3...

> HTH, because I can't recall if there was another possibility to
> make this system wide, without using the xsession stuff.

This is a good idea.

Out of curiosity, where is the environment reset??? Inside KDM?

/me really wanted to use pam_env for this. :(

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


setting KDEDIRS

2004-11-01 Thread martin f krafft
[please CC me on replies]

I am trying to figure out how to best set KDEDIRS for Debian's KDE.
I tried pam_env and the kdm init.d script, but as soon as startkde
is called, the environment is cleaned and I can't figure out where
or how.

So the only way to set $KDEDIRS for startkde is to modify
/usr/bin/startkde directly, which is horrible.

Am I overseeing something? Please advise!

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: problems with nsswitch.conf and KDM

2004-10-30 Thread martin f krafft
also sprach Andy Parkins <[EMAIL PROTECTED]> [2004.10.30.1814 +0200]:
>  * your PAM settings

PAM has nothing to do with the list of users in kdm. PAM only
authenticates. It cannot list.

>  * nscd

I used that for a while but it's crap. Come over to debian-isp,
where nscd has been the topic of a thread for the past week.

> will make your problem go away.  nscd acts as a nice
> root-priviliged buffer between getpwnam() calls and ldap.  With
> nscd not running normal users are unable to do lookups ("getent
> passwd" will confirm), but once nscd is running everthing seems to
> be hunky dory.

nscd is not an option.

Instead, I would like KDM to use libnss properly, and not some
antiquated getgr* calls.

> auth  sufficient  pam_ldap.so
> auth  requiredpam_unix.so try_first_pass

I'd use use_first_pass instead. Don't disclose information!

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: providing default menus/taskbars

2004-10-30 Thread martin f krafft
also sprach cobaco (aka Bart Cornelis) <[EMAIL PROTECTED]> [2004.10.29.2241 
+0200]:
> add a dir to KDEDIRS containing the additions you want.

One thing I cannot find out (partially since I am manipulating the
cluster through SSH right now, so I can't test it) is what to set
KDEDIRS to. Do I need to include the main KDE installation too?
What's the appropriate KDEDIR for Debian? /usr ?

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: providing default menus/taskbars

2004-10-29 Thread martin f krafft
also sprach cobaco (aka Bart Cornelis) <[EMAIL PROTECTED]> [2004.10.29.2241 
+0200]:
> add a dir to KDEDIRS containing the additions you want.

Oh, this is nice.

Where do you add global variables? pam_env?

> (not yet in the archive as I'm still looking for a sponser, but
> it's available for download at
> http://developer.skolelinux..no/~cobaco/desktop-profiles, see the
> manpage for the explanation of how it works, man2html-coverted
> version of the manpage is at the above location)

I will check it out, but I think it's not what I am looking for.

Thanks for your help!

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: disabling kpersonalizer

2004-10-29 Thread martin f krafft
also sprach cobaco (aka Bart Cornelis) <[EMAIL PROTECTED]> [2004.10.29.2252 
+0200]:
> try adding a dir to KDEDIRS and put the the kdepersonalizerrc file (with the 
> above 2 Lines) in /share/config/
> 
> not sure why this doesn't work when put into /etc/kde3, debian-edu does the 
> above (see debian-edu-config package) and it works for us

What's the contents of your file?

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


disabling kpersonalizer

2004-10-29 Thread martin f krafft
[please CC me on replies]

I would like to disable kersonalizer globally. I tried:

cat < /etc/kde3/kpersonalizerrc
[General]
FirstLogin=false
EOF

but this has the effect that now, kpersonalizer pops up on *every*
login. Please advise...

Thanks,
(and sorry for the mail flood)

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


problems with nsswitch.conf and KDM

2004-10-29 Thread martin f krafft
[please CC me on replies]

We are using LDAP to manage our cluster and have modified the
/etc/nsswitch.conf file accordingly. For instance, the line for user
accounts reads:

  passwd: ldap files

Unfortunately, this causes kdm not to display any users. If we use

  passwd: files ldap

instead, then kdm works again. However, then sudo and a couple other
apps that use getgrnam(3) don't work anymore.

Is this a known bug? Is there any way I can make kdm work with the
first form of the passwd entry in /etc/nsswitch.conf?

-- 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


providing default menus/taskbars

2004-10-29 Thread martin f krafft
[please CC me on replies]

For out cluster, we would like to preconfigure the KDE menu and the
taskbar with a couple of buttons. Instead of using /etc/skel, we
want to use /etc/kde3, so that existing users are also affected.

How can we do this? How can we replace/add some icons in the
taskbar, and how can we add some icons to the KDE menu?

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


3.2.1 weirdnesses

2004-03-18 Thread martin f krafft
I just upgraded a system to KDE 3.2.1-1 and am experiencing some
weirdness.

Most prominent: startkde seems not to be called after logging in
through kdm. All I get is a konsole, and the desktop does not appear
until I execute ksmserver on that konsole. The same happens when
I use startx without kdm.

Second, the kdm login screen is missing the items next to the users.
Is this intentional?

I am downgrading to 3.1.5 where everything works for now. Should
I file a bug?

I would appreciate being CC'd on replies.

-- 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature