| View previous topic :: View next topic |
| Author |
Message |
Eugene33 Apprentice


Joined: 14 Nov 2004 Posts: 167 Location: Lyon
|
Posted: Sun Jun 08, 2008 2:58 am Post subject: [SOLVED] I deleted my xdm... |
|
|
Hi
could someone would be kind enough to tell me how I could undo my stupid mistake !?! with the "xf86-input-evdev" problem I deleted the xdm to have access to the console and now I can't "startx" correctly anymore.
I managed to find a XDM from 2003, so when I "startx" it launch a basic graphic environment, then I "startkde" and it launch Kde4, with a lot of missing elements.
I re-emerged xdm, xorg-server, xorg-x11, but can't get xdm working again. When I do "/etc/init.d/xdm start" I receive | Quote: | | bash: /etc/init.d/xdm: /sbin/runscript^M: bad interpreter: No such file or directory. |
Last edited by Eugene33 on Sun Jun 08, 2008 4:14 am; edited 1 time in total |
|
| Back to top |
|
 |
frostschutz Veteran


Joined: 22 Feb 2005 Posts: 1913 Location: Germany
|
Posted: Sun Jun 08, 2008 3:49 am Post subject: |
|
|
That message sounds like your /etc/init.d/xdm was edited and saved with DOS format (^M\n) instead of Unix (\n).
emerge -1 xinit should hopefully fix it... |
|
| Back to top |
|
 |
Eugene33 Apprentice


Joined: 14 Nov 2004 Posts: 167 Location: Lyon
|
Posted: Sun Jun 08, 2008 4:14 am Post subject: |
|
|
wonderful, It worked just fine......I had to | Quote: | | rm /etc/init.d/xdm | and then emerge xinit and I had my good xdm back
Thanks a lot you save my day  |
|
| Back to top |
|
 |
|