View previous topic :: View next topic |
Author |
Message |
onesime n00b
Joined: 12 Sep 2005 Posts: 9
|
Posted: Fri Sep 23, 2005 5:09 pm Post subject: (SOLVED) problem starting X |
|
|
I'm new to linux and have just installed kDE on my computer. but when i launch it I get the error home/toto/.xinitrc: line 1: exec: startkde: not found. waiting for X server to shut down.
secondly: I did the "echo exec" command while loging as root, and when I type start x I get the same error. with /root/.xinitrc instead.
can anyone help please?
Last edited by onesime on Fri Sep 23, 2005 6:50 pm; edited 1 time in total |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Sep 23, 2005 5:13 pm Post subject: |
|
|
Login as normal user, and do
The path for startkde should appear, and should be something similar to /usr/kde/<version/bin/startkde. Note that path down, now edit ~/.xinitrc, and modify the exec line to appear similar to this one
Code: |
exec /usr/kde/<version>/bin/startkde
|
EDIT: Probably the problem is that your path to kde bins directory is not in the PATH variable, so you need to specify the whole path.
Last edited by i92guboj on Fri Sep 23, 2005 5:17 pm; edited 1 time in total |
|
Back to top |
|
|
user118696 Apprentice
Joined: 16 Sep 2005 Posts: 276
|
Posted: Fri Sep 23, 2005 5:13 pm Post subject: |
|
|
Post the result of the following command :
You probably only need to add exec startkde in .xinitrc
Last edited by user118696 on Fri Sep 23, 2005 5:26 pm; edited 1 time in total |
|
Back to top |
|
|
onesime n00b
Joined: 12 Sep 2005 Posts: 9
|
Posted: Fri Sep 23, 2005 5:22 pm Post subject: |
|
|
thanx to you 2. I did both and here is the result:
Code: | which startkde
which: no startkde in (/sbin:/usr/sbin:usr/bin) |
and for Code: | cat ~/.xinitrc
exec startkde |
|
|
Back to top |
|
|
user118696 Apprentice
Joined: 16 Sep 2005 Posts: 276
|
Posted: Fri Sep 23, 2005 5:28 pm Post subject: |
|
|
Do the following at the command line :
Code: | find '/usr/' -type 'f' -iname 'startkde' |
Note the path to it. Add it in front of startkde in .xinitrc |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Sep 23, 2005 5:31 pm Post subject: |
|
|
I knew startkde was not in the path. It was so idiotic on my side to ask you to find that file with the command "which" The above will work.
But if you installed it by emerge, it should be under /usr/kde/<version>/bin. |
|
Back to top |
|
|
onesime n00b
Joined: 12 Sep 2005 Posts: 9
|
Posted: Fri Sep 23, 2005 5:33 pm Post subject: |
|
|
thanx I edited the start kde path in Xinitrc and now it works very well. I'm so happy. thanks |
|
Back to top |
|
|
|