You are not logged in.
Pages: 1
Hi guys.
I have just installed arch on my machine. I installed kde and everything went fine but kde doesn't start when I start the computer and I'm left on init 3. When I run startkde I get:
$DISPLAY is not set or cannot connect to the X server.
I didn't find any documentation about this in the wiki.
I will appreciate your help
Yotam
Offline
Edit ~/.xinitrc and add the line "exec startkde" to it (or unquote it if it's already there). Then run startx. I think that should solve your problem.
Offline
hmmm.... that file doesn't exist. should I create it?
Offline
There is a simple template
cp /etc/skel/.xinitrc ~/.xinitrc
http://wiki.archlinux.org/index.php/Xinitrc
You may have better results by adding this
exec ck-launch-session startkde
to your ~/.xinitrc
Last edited by skunktrader (2010-10-10 16:39:28)
Offline
Will you be mad if I'll say that .xinitrc doesn't exist in that folder as well?
Offline
Maybe it has been deprecated in newer arch releases. Its just boilerplate anyway. Here is what it looks like on my machine
cat /etc/skel/.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
Offline
I had the same problem last night. The solution for me was this:
Open the bin file of startkde in /usr/bin/startkde. Something like sudo nano /usr/bin/startkde
And look for this piece of code:
LD_BIND_NOW=true /usr/lib/kde4/libexec/start_kdeinit_wrapper +kcminit_startup
if test $? -ne 0; then
# Startup error
echo 'startkde: Could not start kdeinit4. Check your installation.' 1>&2
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
xmessage -geometry 500x100 "Could not start kdeinit4. Check your installation$
exit 1
fi
Break the line:
LD_BIND_NOW=true
/usr/lib/kde4/libexec/start_kdeinit_wrapper +kcminit_startup
Here's the original thread where i saw this: https://bbs.archlinux.org/viewtopic.php?id=106348
Thanks to mcordv for that.
Last edited by Hyugga (2010-10-10 20:57:39)
Offline
skunktrader:
I don't have the command startx I think that there are some dependencies which are not intalled. Could it be that I need a special driver for my video card? When I read the wiki they simply say "install kde" and nothing is mentioned about setting up the display.
My video card is radeon 200M
Hyugga:
I tried what you said and nothing is changed.
Thanks
Offline
skunktrader:
I don't have the command startx I think that there are some dependencies which are not intalled. Could it be that I need a special driver for my video card? When I read the wiki they simply say "install kde" and nothing is mentioned about setting up the display.My video card is radeon 200M
Hyugga:
I tried what you said and nothing is changed.Thanks
Yeah you have to install a driver. Did you read the Beginner's guide in ArchWiki?
I don't use ATI, but AFAIK there's free ATI drivers, proprietary drivers (not sure) and DRM (direct render module?) which compiles drivers into kernel itself.
Now you just have to decide which one you wish to use.
And to get startx or xinit you have to copy .skel from somewhere to your home. Again this is nicely explained in Beginners guide.
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
No.
I run threw it and only saw that there are installtion guides. I checked again and noticed there is a section about installing X which I missed before.
Thank you, I'll keep you posted
[band his head on the wall]
Yotam
Offline
OK.
I followed the arch wiki and got kde running. I still don't have any sound (I followed that part as well on the wiki) do you have any hint where should I start looking?
Thanks
Offline
For your ATI 200M you have to install the open source drivers. I think there is no longer compatibility with the propietary drivers for your card (i have an ATI x1200 and i can't install them).
You must install:
pacman -S xf86-video-ati ati-dri
That should give you full resolution and good performance with compiz.
And for your sound problem, do you have ALSA installed? If you don't see the alsa wiki: http://wiki.archlinux.org/index.php/Alsa
Good luck!
Offline
Also with sound in KDE I'd also advise you to go to system settings > multimedia > phonon and check that. Especially check the backend, I found that VLC works best for me.
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
Pages: 1