You are not logged in.

#1 2011-08-06 14:42:38

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

startx gets me a black screen

Hi

My problem is as the topic. To be honest I don't get where the problem comes from. The log file looks fine. I followed the wiki entries, even in multiple languages.

So what I did is:
- pacman calls for X as in the wiki
- added old xorg.conf file from previous linux system (different distribution) to /etc/X11/xorg.conf.d as 99-celadon.conf
- pacman call for vesa graphics

Do I need to use the files which already were there?  (10-evdev.conf and 10-quirks.conf)

content of 99-celadon.conf is:

Section "Module"
     Load    "v4l"
     Load    "xtrap"
     Load    "bitmap"
EndSection

Section "Files"
    ModulePath    "/usr/lib/xorg/modules,/usr/X11R6/lib/modules"
    FontPath    "/etc/X11/fonts/local"
    FontPath    "/usr/share/ghostscript/fonts"
    FontPath    "/usr/share/fonts"
EndSection

Section "ServerFlags"
    Option    "BlankTime"    "5"
    Option    "SuspendTime"    "10"
    Option    "StandbyTime"    "15"
    Option    "OffTime"    "20"
    Option    "DontZoom"    "on"
EndSection

Section "InputDevice"
    Identifier    "Keyboard"
    Driver    "kbd"
    Option    "AutoRepeat"    "250 50"
EndSection


Section "InputDevice"
    Identifier "Mouse"
    Driver     "mouse"
    Option     "Protocol"      "auto"
    Option     "Device"        "/dev/input/mice"
    Option     "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
    Identifier    "monitor"
    Option    "DPMS"
EndSection

Section "Device"
    Identifier    "videoboard"
    Driver    "vesa"
EndSection

Section "Screen"
    Identifier    "Screen"
    Device    "videoboard"
    Monitor    "monitor"
    DefaultDepth 24
    Subsection "Display"
    Depth        24
    ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier    "Simple Layout"
    Screen    "Screen"
    InputDevice "Mouse"     "Mouse"
    InputDevice "Keyboard"    "CoreKeyboard"
EndSection

I read in a different post in this forum that dbus should be running, but that did not solve the problem.
Help would be appreciated, I'm running out of ideas
   
Keen

Last edited by keen90 (2011-08-06 15:03:29)

Offline

#2 2011-08-06 15:00:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: startx gets me a black screen

You need to edit you post and use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

(if you hit 'quote' on my post you will see how I've done it)

Are you sure you have /usr/X11R6/lib/modules ?

Please post the output of 'pacman -Qqs xf86-video'.
Please post your .xinitrc if you use it to configure your X / start any apps.

Last edited by karol (2011-08-06 15:04:30)

Offline

#3 2011-08-06 15:06:07

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: startx gets me a black screen

Thanks for the hint with the code.

I do not see a directory named X11R6 in /usr

# pacman -Qqs xf86-video
xf86-video-vesa

I did not make any changes to the xinitrc file so far.

How does the autoconfiguration work? Any links would be great!

Last edited by keen90 (2011-08-06 15:09:28)

Offline

#4 2011-08-06 15:09:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: startx gets me a black screen

keen90 wrote:

ow does the autoconfiguration work? Any links would be great!

Try using only the stock Arch files and see what you've got i.e. remove xorg.conf, 99-celadon.conf or any other such file.

And post your .xinitrc if you use one.

Offline

#5 2011-08-06 15:11:47

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: startx gets me a black screen

Ok i removed the 99-celadon.conf file. The two 10-... files are still there. What now?
I tried startx again, same result.

my xinitrc file:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs


if [ -d /etc/X11/xinit/xinitrc.d ] ; then
    for f in /etc/X11/xinit/xinitrc.d/* ; do
        [ -x "$f" ] && . "$f"
    done
    unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

Last edited by keen90 (2011-08-06 15:15:14)

Offline

#6 2011-08-06 15:13:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: startx gets me a black screen

If I don't start any app, I get a black screen too - it's the default.
are you starting any apps or just bare X?

Offline

#7 2011-08-06 15:17:03

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: startx gets me a black screen

well xinitrc should starts some xterms. If that's what you meant. But there are none, just a black screen. I can type eg "halt" and this will work...

Last edited by keen90 (2011-08-06 16:12:34)

Offline

#8 2011-08-22 01:03:50

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: startx gets me a black screen

Autoconfiguration did it.
Thanks!

Offline

Board footer

Powered by FluxBB