Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED) problem starting X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
onesime
n00b
n00b


Joined: 12 Sep 2005
Posts: 9

PostPosted: Fri Sep 23, 2005 5:09 pm    Post subject: (SOLVED) problem starting X Reply with quote

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


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Sep 23, 2005 5:13 pm    Post subject: Reply with quote

Login as normal user, and do

Code:

which startkde


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


Joined: 16 Sep 2005
Posts: 276

PostPosted: Fri Sep 23, 2005 5:13 pm    Post subject: Reply with quote

Post the result of the following command :
Code:
cat ~/.xinitrc


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


Joined: 12 Sep 2005
Posts: 9

PostPosted: Fri Sep 23, 2005 5:22 pm    Post subject: Reply with quote

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


Joined: 16 Sep 2005
Posts: 276

PostPosted: Fri Sep 23, 2005 5:28 pm    Post subject: Reply with quote

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


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Sep 23, 2005 5:31 pm    Post subject: Reply with quote

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" :oops: The above will work. :wink:

But if you installed it by emerge, it should be under /usr/kde/<version>/bin.
Back to top
View user's profile Send private message
onesime
n00b
n00b


Joined: 12 Sep 2005
Posts: 9

PostPosted: Fri Sep 23, 2005 5:33 pm    Post subject: Reply with quote

thanx I edited the start kde path in Xinitrc and now it works very well. I'm so happy. thanks :D :D :D :D :D :D :D :D :D :D :D :D :D
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