I have build a remastered knoppix-cd by copying the original files to the harddrive and then running chroot, Xnest and startkde as described at http://www.stirnimann.com/mystuff/doc/knoppix.txt (chapter 3c). But testing the CD I get the following error message:

  • X-window session terminated with errors.
    please check and retry '/etc/init.d/xsession start'


I thought that startkde in my nested (chroot'ed) environment had changed some configurations, so deleted all X and KDE configuration files and copyed the original ones to the remastered knoppix. But that did not help and I keep getting the same error. There seems to be a problem with the following line of code in /etc/init.d/xsession:

Code:
su -c "DISPLAY=:0 exec /etc/X11/xinit/xinitrc" - $USER >/dev/null 2>&1
When I delete ">/dev/null" here and retry "/etc/init.d/xsession start", I get the following error message:

  • su: Authentication service cannot retrieve authentication info
    (ignored)
    setgid: opperation not permitted


(where the last line is translated from German so it might differ from the exact english wording)

Can anyone help me and give me a hint how to fix this error? I've been working on this for hours without success.

Thanks a lot.