Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] I deleted my xdm...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Eugene33
Apprentice
Apprentice


Joined: 14 Nov 2004
Posts: 167
Location: Lyon

PostPosted: Sun Jun 08, 2008 7:58 am    Post subject: [SOLVED] I deleted my xdm... Reply with quote

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 9:14 am; edited 1 time in total
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2194
Location: Germany

PostPosted: Sun Jun 08, 2008 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Eugene33
Apprentice
Apprentice


Joined: 14 Nov 2004
Posts: 167
Location: Lyon

PostPosted: Sun Jun 08, 2008 9:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum