You are not logged in.
Q1 and Q2 solved, left Q3
Q1) when i start xorg with startx, i get the following errors even though xterm shows up:
( EE ) intel(0): Failed to set tiling on front buffer: rejected by kernel
( EE ) intel(0): Failed to set tiling on back buffer: rejected by kernel
( EE ) intel(0): Failed to set tiling on depth buffer: rejected by kernel
how do I solve this problem?
Q2) another problem I have is Ctrl-Alt-backspace does not shutdown x, I have to switch to another console and switch back to Ctrl-C even though I have added a serverflags section with the dontzap option into my xorg.conf in accordance with the wiki, how do I solve this problem too?
PS in this case my .xinitrc has the line exec xterm
Q3) After I commented out exec xterm in my .xinitrc file and tried to start xmonad with the line $HOME/bin/xmonad, this happens in addition to the error in Q1:
Setting master
/home/user/.xinitrc: line 13: /home/user/bin/xmonad: No such file or directory
when i followed the arch wiki and just used xmonad in the .xinitrc file, a bank screen is shown and these errors occurs:
/home/user/.xmonad/xmonad-i386-linux: executeFile: does not exist ( No such file or directory )
I followed the instructions at xmonad.org and the arch wiki but why isn't a file there? how do I start it in arch?
Here's my xorg config file
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "DontZap" "false"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "record"
Load "glx"
Load "dri2"
Load "dri"
Load "dbe"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 130.0
VertRefresh 50.0 - 100.0
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
hardware used is intel corporation mobile 945GM/GMS/GME 943/940 GML Express Integrated graphics controller
Last edited by unregistered (2009-05-30 11:51:57)
Offline
For xmonad, it depends on how you installed xmonad - if you install the package via pacman, when xmonad binary is /usr/bin/xmonad (not $HOME/bin/xmonad). You can usually find where the binary is by running 'which <name>'
For tiling, there was a problem with it in the intel driver (at least for some cards), so to get rid of the error you can set 'Option "Tiling" "false"' in xorg.conf - but of course it only removes the error, nothing else happens.
Offline
so i would have to put /usr/bin/xmonad in my xinitrc file right?
EDIT: ok I tried putting /usr/bin/xmonad in my xinitrc file and it worked but it gave me the same error when I checked the console, what should I do to solve the error?
Setting master
/home/user/.xmonad/xmonad-i386-linux: executeFile: does not exist (No such file or directory)
Dropping master
and for the option, which section do i put it in?
thanks
Last edited by unregistered (2009-05-29 13:48:05)
Offline
bump
Offline
I think bender means in the "Screen" section. If it doesn't work, try googling everything in the posts that you don't understand.
(Google first, then post)
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
so i would have to put /usr/bin/xmonad in my xinitrc file right?
EDIT: ok I tried putting /usr/bin/xmonad in my xinitrc file and it worked but it gave me the same error when I checked the console, what should I do to solve the error?
Setting master
/home/user/.xmonad/xmonad-i386-linux: executeFile: does not exist (No such file or directory)
Dropping master
when I tried googling for this error, it gave me this thread back
http://www.google.com.sg/search?source= … D&aq=f&oq=
====================================================================
Question 2 in post 1 solved
Last edited by unregistered (2009-05-30 05:03:40)
Offline
Sorry, I haven't been online.
What do you mean by 'it works but gives me this error'?
The way xmonad works is that if you have your own configuration ~/.xmonad/xmonad.hs, then when you run it, xmonad automatically recompiles itself and puts the resulting binary into ~/.xmonad/xmonad-i386-linux. So what the default xmonad binary does is that
1) it checks whether your config ~/.xmonad/xmonad.hs has changed (if yes, it recompiles)
2) it checks whether ~/.xmonad/xmonad-i386-linux is a binary that can be run (if yes, it runs it)
3) runs xmonad with the default config
So I think what happens with you is the case 3).
Note that when xmonad runs with the default config, you won't see anything special (you need to run some programs, or check in the console whether the process actually runs. If it does run, then all is fine and you should ignore that error).
Offline
Sorry, I haven't been online.
What do you mean by 'it works but gives me this error'?
The way xmonad works is that if you have your own configuration ~/.xmonad/xmonad.hs, then when you run it, xmonad automatically recompiles itself and puts the resulting binary into ~/.xmonad/xmonad-i386-linux. So what the default xmonad binary does is that
1) it checks whether your config ~/.xmonad/xmonad.hs has changed (if yes, it recompiles)
2) it checks whether ~/.xmonad/xmonad-i386-linux is a binary that can be run (if yes, it runs it)
3) runs xmonad with the default config
So I think what happens with you is the case 3).
Note that when xmonad runs with the default config, you won't see anything special (you need to run some programs, or check in the console whether the process actually runs. If it does run, then all is fine and you should ignore that error).
hey thanks, that clears things up alot but since I've used the pacman to install xmonad from the community repository, where can I find the default configuration file that it loads?
and the ~/.xmonad directory does not exist currently, I assume I would have to manually create it?
btw, where did u learn all this from?
and thanks once again
Offline
Wrt Q2 http://bbs.archlinux.org/viewtopic.php?id=73064 - add 'setxkbmap -option terminate:ctrl_alt_bksp' to your .xinitrc. I've put it in the wiki, so next time sb checks C-A-B / DontZap (s)he'll get the news.
Edit: OK, seems you've already solved it. Did you add it to the wiki? If so, please tell me where, there's no need for duplicate info. Next time, please, add [solved] or sth similar to the original problems' list.
Last edited by karol (2009-05-30 10:59:36)
Offline
Wrt Q2 http://bbs.archlinux.org/viewtopic.php?id=73064 - add 'setxkbmap -option terminate:ctrl_alt_bksp' to your .xinitrc. I've put it in the wiki, so next time sb checks C-A-B / DontZap (s)he'll get the news.
Edit: OK, seems you've already solved it. Did you add it to the wiki? If so, please tell me where, there's no need for duplicate info. Next time, please, add [solved] or sth similar to the original problems' list.
I did not add to the wiki, have changed my original post to indicate Q1 and Q2 are solved and left with Q3
Offline
so i would have to put /usr/bin/xmonad in my xinitrc file right?
EDIT: ok I tried putting /usr/bin/xmonad in my xinitrc file and it worked but it gave me the same error when I checked the console, what should I do to solve the error?Setting master /home/user/.xmonad/xmonad-i386-linux: executeFile: does not exist (No such file or directory) Dropping master
and for the option, which section do i put it in?
thanks
Stop trying to execute that. Just add 'exec xmonad' to .xinitrc
Edit: I do assume that you installed xmonad from the repos.
Last edited by Mr.Elendig (2009-05-30 12:35:18)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
There is no default configuration file for xmonad. If you want to customize, use xmonad's wiki page, there's a bunch of sample configs.
And Mr.Elendig is right, 'exec xmonad' should be enough. However I think you should be past that problem.
Offline