You are not logged in.

#1 2006-03-08 02:32:35

jmags
Member
Registered: 2006-03-07
Posts: 48

can't start X11

I just (today) installed Arch on my Toshiba Satellite (m55 s135) and installed x11. I also downloaded hwd and used it to generate an xorg.conf, which (with the commented lines removed), looks like this:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "PS/2 Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
   
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"

    FontPath     "/usr/share/fonts/cyrilic
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
EndSection


Section "Device"
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "All"
    BoardName   "All"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 16
    SubSection "Display"
        Depth     1
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

When I run startx, I get this:

(WW) VESA(0): Failed to set up write-combining range (0xc0000000,0x7b0000)
/etc/X11/xinit/xinitrc: line 28: twm: command not found
/etc/X11/xinit/xinitrc: line 29: xclock: command not found
/etc/X11/xinit/xinitrc: line 30: xterm: command not found
/etc/X11/xinit/xinitrc: line 32: exec: xterm: not found

Any ideas?

Offline

#2 2006-03-08 03:39:02

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: can't start X11

You need to create a proper ~/.xinitrc file to start the WM you want:
http://wiki.archlinux.org/index.php/Des … structions

Offline

#3 2006-03-08 06:20:20

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: can't start X11

You need to install those apps, if you want to use it smile
pacman -S xorg-twm xorg-apps xterm

Btw, Snowman is right. Your xinitrc-file is just a draft, that gives you an idea of how it could be used. But twm, xterm and xclock is just a matter of taste.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#4 2006-03-08 08:16:43

jmags
Member
Registered: 2006-03-07
Posts: 48

Re: can't start X11

Woohoo! Thanks for the help.

Offline

#5 2006-03-09 07:17:48

jmags
Member
Registered: 2006-03-07
Posts: 48

Re: can't start X11

So, startx works fine now, and I can use any of the DEs from the install cd. However, after installing KDE with pacman, running "startx kde" starts x and deposits me in windowmaker.

Also, how do I modify .xinitrc? When I try to nano it, it opens a new file.

Offline

#6 2006-03-09 13:47:09

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: can't start X11

You have to change .xinitrc to open kde, type

nano ~/.xinitrc

(If it said new file too, then there's no .xinitrc in your home dir, it's ok let nano create it smile )
then remove/comment anything not commented there, then type in it

exec startkde

Now u can start kde with startx

P.S: you can use also a Graphical Login Manager Like xdg/kdm/gdm...

Offline

#7 2006-03-10 10:54:06

CyRiX_BlAcK
Member
Registered: 2006-03-02
Posts: 35

Re: can't start X11

_Gandalf_ wrote:

You have to change .xinitrc to open kde, type

nano ~/.xinitrc

(If it said new file too, then there's no .xinitrc in your home dir, it's ok let nano create it smile )
then remove/comment anything not commented there, then type in it

exec startkde

Now u can start kde with startx

P.S: you can use also a Graphical Login Manager Like xdg/kdm/gdm...


Dear god stop using nano lol, it sucks!

Use midnight commander, its in arch packages "pacman -Sy mc",  then do mcedit wibble.wobble etc.

and mc in a directory gives a nice copying program etc, nice to use for mp3 players etc.

tag with insert, and copy taged files with F5.

Offline

#8 2006-03-10 13:08:03

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: can't start X11

Vi Rocks big_smile
P.S: if each everyone say which editor rocks, we could have the famous old debate again smile , It's a matter of taste, him nano becaus eu don't know the reason, it's the newbie corner do u really think he has already learned vi, give him time, donno about mc but like nano/emacs/mc etc.. they do al the same job, so let him do it as he likes .. smile linux way (freedom) wink

Offline

#9 2006-03-11 02:59:39

jmags
Member
Registered: 2006-03-07
Posts: 48

Re: can't start X11

Thanks for the help. I continue to find Vi's interface a little counterintuitive. Nano has that list of commands at the bottom of the screen. I find that very useful.

Offline

Board footer

Powered by FluxBB