You are not logged in.

#1 2010-08-14 15:54:09

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

[SOLVED]Problems with starting X (KDE)

Well, have been using Ubuntu for quite a while now, and recently decided to try out Arch Linux with KDE. I think I have done the installation quite correctly by following the offcial guide, I did'nt activate the KDM because I wanted to use the text-based sign in. So when I boot up Arch and I enter my login and password and do:

$  startx kde

I get a black screen with a pink underscore up in the left corner of the screen, nothing more happens exept if I press any key I can hear the login sound of KDE. Nothing more happens, I think might be a problem with my screen/resolution configuration what do you think?

Last edited by Farsk1 (2010-08-14 22:20:04)

Offline

#2 2010-08-14 15:56:47

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: [SOLVED]Problems with starting X (KDE)

You should uncomment the "exec startkde" line in the .xinitrc of your home-folder, and start the GUI with "startx" only.

Offline

#3 2010-08-14 16:03:11

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

Re: [SOLVED]Problems with starting X (KDE)

Well that's weird, because when the guide asked me too uncomment the "exec startkde" in the /home/havar/.xinitrc (havar is my username) I opened the file with "nano -w /home/havar/.xinitrc, the file was completely empty so the guide asked me to add "exec startkde" if it was'nt already present, and I did so. Now when i open the file the only thing in /home/havar/.xinitrc is the line with "exec startkde". There's is something REALLY wrong here but i don't know what.

Offline

#4 2010-08-14 16:28:53

Stephanie
Member
From: Germany
Registered: 2010-08-14
Posts: 17
Website

Re: [SOLVED]Problems with starting X (KDE)

Hi

I'm pretty new to Linux and not sure if I can help but when I installed SLim I had to create a new .xinitrc first cause mine was empty too.
From the SLim-article in the wiki:

If you do not have have a ~/.xinitrc file, you can use the skeleton file by:
$ cp /etc/skel/.xinitrc ~

   Stephanie


"2 hours of trial and error can save 10 minutes of manual reading." (unknown)

Offline

#5 2010-08-14 16:32:26

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED]Problems with starting X (KDE)

best check the beginner's guide in the wiki smile


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#6 2010-08-14 16:42:18

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

Re: [SOLVED]Problems with starting X (KDE)

Ok, I followed the advice from Stephanie and uncommented the "exec startkde", now my .xinitrc contains:

#!/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

But I still have the same problem as i mentioned earlier.

Last edited by Farsk1 (2010-08-14 16:42:59)

Offline

#7 2010-08-14 16:45:45

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

Re: [SOLVED]Problems with starting X (KDE)

toad wrote:

best check the beginner's guide in the wiki smile

I did so, the installation seems to be completed without any problems, exept this one. I've been lookin all over Google,the wiki and KDE forums but I haven't found anything  that can help me with this.

Offline

#8 2010-08-14 17:07:43

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED]Problems with starting X (KDE)

1) What video card do you have?
2) What video driver are you using?
3) Do you have KMS enabled or disabled?

Offline

#9 2010-08-14 17:22:44

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

Re: [SOLVED]Problems with starting X (KDE)

itsbrad212 wrote:

1) What video card do you have?
2) What video driver are you using?
3) Do you have KMS enabled or disabled?


1. Intel Corp. Mobile 4 Series integrated graphics, This is a notebook PC.
2. Only the default drivers, the guide said i usually didn't need any more drivers, exept for 3D acceleration etc., but i was planning on installing them later on.
3. KMS,huh?

Edit: it's a Lenovo G530 4446

Last edited by Farsk1 (2010-08-14 17:23:44)

Offline

#10 2010-08-14 17:41:00

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED]Problems with starting X (KDE)

KMS probably enabled by default. Try turning it off and see what happens.

What default drivers, xf86-video-intel?

Also, what does
     pacman -Q kdebase-workspace
give?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#11 2010-08-14 17:45:51

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED]Problems with starting X (KDE)

fsckd wrote:

KMS probably enabled by default. Try turning it off and see what happens.

Bad idea: http://www.archlinux.org/news/484/


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#12 2010-08-14 17:48:28

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED]Problems with starting X (KDE)

Farsk1 wrote:
itsbrad212 wrote:

1) What video card do you have?
2) What video driver are you using?
3) Do you have KMS enabled or disabled?


1. Intel Corp. Mobile 4 Series integrated graphics, This is a notebook PC.
2. Only the default drivers, the guide said i usually didn't need any more drivers, exept for 3D acceleration etc., but i was planning on installing them later on.
3. KMS,huh?

Edit: it's a Lenovo G530 4446

You need to have xf86-video-intel installed. Then, if you're using an xorg.conf, run X -configure and copy the new xorg.conf to /etc/X11 wink

Also, you can read about KMS here:
http://wiki.archlinux.org/index.php/KMS

And specifically Intel KMS here:
http://wiki.archlinux.org/index.php/Int … Setting.29

Last edited by cesura (2010-08-14 17:50:07)

Offline

#13 2010-08-14 17:51:17

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

Re: [SOLVED]Problems with starting X (KDE)

KMS is enabled

I did'nt install any drivers, so that might be a problem, I was hoping that i could do that when i had the GUI up and running, but I see now that I was probably wrong about that. I'll do that right away and post the output.

The output from: "pacman -Q kdebase-workspace":
kdebase-workspace 4.4.5-1

Offline

#14 2010-08-14 18:00:46

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED]Problems with starting X (KDE)

Farsk1 wrote:

...I was hoping that i could do that when i had the GUI up and running...

Graphics drivers do more than just 3D acceleration. They are needed to simply start the most basic X window session! smile

Offline

#15 2010-08-14 18:04:15

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED]Problems with starting X (KDE)

Okay, so you don't want a login manager like kdm, lxdm, slim, gdm, blablabla but start X from CLI. You adapted your ~.xinitrc accordingly, log in and type startx (not startx kde!) and nothing happens. Does that sum it up so far? If so, what do the logs say?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#16 2010-08-14 18:44:27

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

Re: [SOLVED]Problems with starting X (KDE)

itsbrad212 wrote:

You need to have xf86-video-intel installed. Then, if you're using an xorg.conf, run X -configure and copy the new xorg.conf to /etc/X11 wink

I installed the xf86-video-intel driver now, but after that I hade the same problem still. I tried to configure X.
This is the output of the "Xorg -configure"-command:

X.Org X Server 1.8.1.902 (1.8.2 RC 2)
Release Date: 2010-06-21
X Protocol Version 11, Revision 0
Build Operation System: Linux 2.6.34-ARCH i686
Current Operating System: Linux myhost 2.6.34-ARCH #1 SMP PREEMPT Tue Aug 10 21:38:22 CEST 2010 i686
Kernel command line: root=/dev/sda1 ro
Build Date: 21 June 2010 11:54:27AM

Current version of pixman: 0.18.2
               Before reporting problems, check http://wiki.x.org
               To make sure you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
               (++) from command line, (!!) notice, (II) informal,
               (WW)warning,(EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 14 20:22:37 2010
List of video drivers:
               intel
               vesa
(++) Using config file: "root/xorg.conf.new"
(==) Using config directory: "/etc/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.

This is what my "/etc/X11/xorg.conf.d/10-monitor.conf" contains:

Section "Monitor"
    Identifier    "Monitor0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "vesa" #Choose the driver used for this monitor
EndSection

Section "Screen"
    Identifier    "Screen0"  #Collapse Monitor and Device section to Screen section
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth  16 #Choose the depth (16||24)
    SubSection "Display"
        Depth     16
        Modes     "1280x800_75.00" #Choose the resolution
    EndSubSection
EndSection

All of this was added by me as part of the installation guide, exept i modified the resolution from "1024x768_75.00" to 1280x800_75.00 to make it fit on my screen.

Offline

#17 2010-08-14 18:47:09

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED]Problems with starting X (KDE)

Have you tried with the intel driver rather than vesa?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#18 2010-08-14 18:51:05

Farsk1
Member
From: Norway
Registered: 2010-08-14
Posts: 15

Re: [SOLVED]Problems with starting X (KDE)

loafer wrote:

Have you tried with the intel driver rather than vesa?

Hah, I did'nt see that one, I will try it!
And post back.

Edit: IT'S ALIVE!! Finaly, thanks alot guys. I will have tons of fun while using Arch!! See you around if I get any problems.

Last edited by Farsk1 (2010-08-14 18:56:58)

Offline

#19 2010-08-14 19:42:30

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED]Problems with starting X (KDE)

Farsk1 wrote:
loafer wrote:

Have you tried with the intel driver rather than vesa?

Hah, I did'nt see that one, I will try it!
And post back.

Edit: IT'S ALIVE!! Finaly, thanks alot guys. I will have tons of fun while using Arch!! See you around if I get any problems.

Glad you got it working smile Could you please append [SOLVED] to the title of the thread by editing the first post?

Offline

#20 2010-08-14 20:18:02

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED]Problems with starting X (KDE)

You should just remove the /etc/X11/xorg.conf.d/10-monitor.conf file. xorg usually does a good job at detecting your monitor settings itself.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB