Other Help Topics :: RC2 remastered: xinit: No such file or directory..
Hi,
I had remastered RC2, installing some new packages from Debian stable (Sarge). As I supossed, this new packages corrupted DSL a bit.
Also, I had made, in DSL:
update-rc.d xserver remove
because I don't like DSL launchs automatically the X session.
Now, when i try to launch X from LiveCd (as user dsl), I get the following error message:
xinit: No such file or directory (errno2): no program named "//.xinitrc" in PATH
Do you know how can I solve it? I am not have a high knowelegment of Linux.
Thanks in advance.
I'm not sure what update-rc.d does, but it was apparently not the right thing to do.
All you have to do to prevent auto-starting X in a remaster is to remove "startx" from /etc/skel/.bash_profile.
The error message itself looks wacky, though...couldn't say if it was due to your update-rc.d or something else.
Thank you very much!!! You solved the problem. 
original here.