-
Problems starting X on remastered Knoppix
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.
-
Senior Member
registered user
Have you copied /etc/skel into /home/knoppix already? And chmodded and choiwned the files in /home/knoppix?
Have you made a /home/knoppix/.xinitrc file that contains the text-
startkde
?
try these things and then su knoppix and start x in your chroot/xnnest environment-
PS-0 It's usually easier to boot with the cheatocde knoppix 2 and create knoppix's home from /etc/skel and startx without needing to xnest.
-
Thank you very much for your help, but I still have problems.

Originally Posted by
arkaine23
Have you copied /etc/skel into /home/knoppix already? And chmodded and choiwned the files in /home/knoppix?
Have you made a /home/knoppix/.xinitrc file [...]
I've tried all this now and built a new Knoppix-CD, but this did not help.

Originally Posted by
arkaine23
try these things and then su knoppix and start x in your chroot/xnnest environment-
The problem is that I can't su. I tried "su" and got the message:
Code:
sudo: can't stat /etc/sudoers No such such file or directory
sendmail: [761] setgroups() failed: Operation not permitted
And after creating the file /etc/sudoers (chmod 0440) with the contents below I get the same error as quoted in my first posting.
Code:
root ALL = (ALL) ALL
knoppix ALL = (ALL) ALL
An interesting thing is that though I am able to su in my normal environment (Debian woody), I can't su after chrooting to the Knoppix-source:
Code:
sudo: unable to lookup <my machine's name> via gethostbyname()
sendmail: [641] setgroups() failed: Operation not permitted
sudo: can't stat /etc/sudoers: No such file or directory
sendmail: [642] setgroups() failed: Operation not permitted

Originally Posted by
arkaine23
PS-0 It's usually easier to boot with the cheatocde knoppix 2 and create knoppix's home from /etc/skel and startx without needing to xnest.
I've tried this but this did not work either. The KDE-startup-screen appeared but after some steps (varying) the system hanged and I had to kill the session with ctrl+alt+backspace.
Similar Threads
-
By wurm in forum Networking
Replies: 1
Last Post: 11-12-2004, 03:04 PM
-
By Garibaldi in forum General Support
Replies: 1
Last Post: 09-11-2004, 04:27 PM
-
By grayfox777 in forum General Support
Replies: 7
Last Post: 06-05-2004, 06:54 AM
-
By piom in forum Customising & Remastering
Replies: 7
Last Post: 11-17-2003, 10:32 PM
-
By garrettvm in forum General Support
Replies: 2
Last Post: 04-17-2003, 04:10 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Sk Hynix 8GB PC4-3200AA PC4-3200 260-Pin SO-DIMM Laptop RAM
$37.99

Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB)
$164.95

16GB of Samsung (8GB x 2) DDR5 M378A2K43CB1 UDIMM PC5-4800B 288-Pin Unbuffered
$185.99

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$43.00

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

G.Skill Flare X5 32GB (2x16GB) (DDR5-6000 DDR5 RAM Memory Cl30-38-38-96 AMD EXPO
$419.95

Corsair Vengeance LPX 16GB (2x8GB) DDR4 3000MHz DIMM ECC 288-pin
$55.00

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

Kingston KF432S20IBK2/32 FURY Impact 32GB (2x16GB) 3200MT/s CL20 Laptop Memory
$150.00

LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total)
$129.99