Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE isn't starting up....
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
JOnatan44
n00b
n00b


Joined: 24 Apr 2004
Posts: 68
Location: Isreal

PostPosted: Mon Jun 21, 2004 3:55 pm    Post subject: KDE isn't starting up.... Reply with quote

hello,
i have KDE 3.2.2 and XFCE4.
whan i am stating up my computer the command-line is loadeing and i need to start myselft the XFCE4,this is not my probalme,my problame is who to start my kde?whan i am doing:
Code:
startx

the XFCE is starting,whant is do startkde i get:
Code:

bash:startkde:command not found.

but whant i am on the XFCE and entering to: "usr/kde/3.2/bin" and do:"./startkde"
the kde start up on the XFCE,on the command-line wan i do "./startkde" the computer sand that i need to start my X (xorg),
whan can i do?
tnx.
Back to top
View user's profile Send private message
beowulf918
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2002
Posts: 147
Location: The Gambia

PostPosted: Mon Jun 21, 2004 4:08 pm    Post subject: Reply with quote

Changing the value of XSESSION in rc.conf will modify what window manager is started when you use startx. If you're not finding 'startkde' in your default path, look in /etc/env.d for a file like 48kdepaths-3.2.2. If it's there, try adding the line 'source /etc/profile' near the top of your ~/.bashrc file so that you'll be able to find startkde in your PATH.

James.
Back to top
View user's profile Send private message
JOnatan44
n00b
n00b


Joined: 24 Apr 2004
Posts: 68
Location: Isreal

PostPosted: Mon Jun 21, 2004 4:55 pm    Post subject: Reply with quote

Hello
in /etc/rc.cong i do
#XSESSION="kde-3.2"
and after taht do "startkde" but it is not started.
under ~/.bashrc i do in the firest line "source /etc/profile" and stell nothing...
i have the file 48kdepaths-3.2.2 under /etc/env.d
KDE stell not starting up.
maby my problame is that i am dtarting GENTOO by chrooting from the mandrke command-line?
Back to top
View user's profile Send private message
beowulf918
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2002
Posts: 147
Location: The Gambia

PostPosted: Mon Jun 21, 2004 5:04 pm    Post subject: Reply with quote

When you change XSESSION in /etc/rc.conf, it only has an effect when you use startx. Also, make sure that line is uncommented -- ie, it reads:
Code:

XSESSION="kde-3.2.2"

Note that there is no prepended # in that line. Note also that the version number is complete, which is not the case with 'kde-3.2'. When in doubt, the value being assigned to XSESSION should correspond with an entry in the /etc/X11/Sessions folder.

I may be wrong, but I don't believe startkde will fire up an X-server if there isn't one already available. For that you'd need to run X first, export your DISPLAY variable, and then try running startkde. All, told, it's much easier to use startx instead.

Using X through a chrooted shell is complicated. You need to have your proc and dev file systems mounted at good points in the chroot environment. I've never had much luck getting this to work.

James.
Back to top
View user's profile Send private message
Lycander
Guru
Guru


Joined: 10 Apr 2003
Posts: 468

PostPosted: Mon Jun 21, 2004 5:10 pm    Post subject: Reply with quote

Why don't you emerge KDM so you have a menu to pick which desktop to start instead of going back and forth with changing XSESSION in /etc/rc.conf
_________________
* Blessing /dev/hda2 with holy penguin pee
Back to top
View user's profile Send private message
JOnatan44
n00b
n00b


Joined: 24 Apr 2004
Posts: 68
Location: Isreal

PostPosted: Mon Jun 21, 2004 5:22 pm    Post subject: Reply with quote

Lycander wrote:
Why don't you emerge KDM so you have a menu to pick which desktop to start instead of going back and forth with changing XSESSION in /etc/rc.conf

becuse whan i do emerge kdm i get:
Code:

cakculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "kdm".
!!! Error calculating dependencies. please correct.

what to do?
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Mon Jun 21, 2004 5:29 pm    Post subject: Reply with quote

kdm is allready part of kde so you allready have it installed.

Just edit /etc/rc.conf to DISPLAYMANAGER=kdm, then do rc-update add xdm default and you will be greated with a graphical login after reboot.
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
Lycander
Guru
Guru


Joined: 10 Apr 2003
Posts: 468

PostPosted: Tue Jun 22, 2004 5:23 am    Post subject: Reply with quote

Just as ralph said. But if memory serves me right, you don't need to reboot.

starx from that point on should start xdm and thus kdm. Or just

# init 4
_________________
* Blessing /dev/hda2 with holy penguin pee
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