You are not logged in.
Pages: 1
i just tried setting up xorg but with no success. i followed the instructions on wiki:
pacman -S xorg
Xorg -configure
now i get a blank screen when i try startx. i see that other people had the similar problem but their Xorg.0.log and xorg.conf were different. here is what i have:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
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 "xtrap"
Load "dbe"
Load "record"
Load "extmod"
Load "dri"
Load "glx"
Load "type1"
Load "freetype"
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"
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 "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "vesa"
VendorName "S3 Inc."
BoardName "VT8375 [ProSavage8 KM266/KL266]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
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
EndSubSection
EndSection
Last edited by djidji (2007-03-12 18:51:37)
Offline
It looks like you pasted the same file twice...
Try the hwd method on the wiki it works the easiest by far in my opinion.
Offline
i did try using hwd but i have even less luck. also, i cannot post the complete Xorg.0.log for some reason so here are WW parts
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
(WW) The directory "/usr/share/fonts/TTF" does not exist.
Entry deleted from font path.
...
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
...
(WW) VESA(0): Unable to estimate virtual size
...
(WW) VESA(0): Failed to set up write-combining range (0xd9e80000,0x70000)
(WW) VESA(0): Failed to set up write-combining range (0xd9e00000,0xf0000)
(WW) VESA(0): Failed to set up write-combining range (0xd9c00000,0x2f0000)
(WW) VESA(0): Failed to set up write-combining range (0xd9800000,0x6f0000)
(WW) VESA(0): Failed to set up write-combining range (0xd9000000,0xef0000)
(WW) VESA(0): Failed to set up write-combining range (0xd8000000,0x1ef0000)
Last edited by djidji (2007-03-12 19:01:16)
Offline
What video card do you have? How are you starting X? Can you ctrl+alt+bksp back to cli?
I did a google search and since those are just warnings you can see posts of X working with those in the log. So maybe it says something at the end of the file that says more? I.e. sometimes no EE comes up but it says could not load fixed font etc.
Last edited by junglepeanut (2007-03-12 21:08:30)
Offline
What video card do you have? How are you starting X? Can you ctrl+alt+bksp back to cli?
I did a google search and since those are just warnings you can see posts of X working with those in the log. So maybe it says something at the end of the file that says more? I.e. sometimes no EE comes up but it says could not load fixed font etc.
thanks for response. this machine has Integrated ProSavageDDR KM266 graphics card with 32MB of shared memory. i start X by typing startx and i don't have to do ctrl+alt+bksp because X crashes after 2 sec. of blank screen.
after X crashes i see those warnings and:
/etc/X11/xinit/xinitrc: line 32: exec: xterm: not found
waiting for X server to shut down FreeFontPath: FPE "/usr/share/font/misc" refcount is 2, should be 1; fixing.
Offline
Hmm do you have xterm?
Could you paste your .xinitrc?
Or change it to start the wm you have installed.
Here is a look at mine with some comments....lol. Comments are preceded by #. Removing a comment should load the wm installed....I might be missing some...
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
# I prefer to start Beryl from one of these that is why it is not
# listed, because of the need to write an if statement for dbus.
#
exec startxfce4
# exec icewm
# exec startkde
# exec blackbox
# exec fluxbox
# exec openbox
# exec fvwm
# exec fvwm-crystal
# exec dbus-launch --exit-with-session /opt/gnome/bin/gnome-session
# exec starte16
# exec /opt/e17/bin/enlightenment_start
# exec ratpoison
# exec ion3
# exec evilwm
# exec aewm++
Offline
thanks for reply. i changed my .xinitrc to:
#!/bin/bash
exec fvwm
now i see blank screen with mouse pointer and X does not crash. i use ctrl+alt+bksp to get back to cli. this time i see:
[FVWM][main]: <<ERROR>> Can't set locale. Check your $LC_CTYPE or $LANG
[FVWM][main]: <<ERROR>> Cannot read startup file, tried:
/home/djidji/.fvwm/.fvwm2rc
/home/djidji/.fvwm2rc
/usr/share/fvwm/.fvwm2rc
/usr/share/fvwm/system.fvwm2rc
/usr/etc/system.fvwm2rc
xinit: connection to X server lost
Offline
thanks for reply. i changed my .xinitrc to:
#!/bin/bash exec fvwm
now i see blank screen with mouse pointer and X does not crash. i use ctrl+alt+bksp to get back to cli. this time i see:
[FVWM][main]: <<ERROR>> Can't set locale. Check your $LC_CTYPE or $LANG [FVWM][main]: <<ERROR>> Cannot read startup file, tried: /home/djidji/.fvwm/.fvwm2rc /home/djidji/.fvwm2rc /usr/share/fvwm/.fvwm2rc /usr/share/fvwm/system.fvwm2rc /usr/etc/system.fvwm2rc xinit: connection to X server lost
This looks like a fresh install of fvwm
I assume you haven't set up a .fvwm2rc. Can u access the fvwm menu (left or right mouse on desktop)? Than u can copy the fvwm2rc file or if you want I can send you mine to start off with.
Registered Linux User #439761
Offline
This looks like a fresh install of fvwm
I assume you haven't set up a .fvwm2rc. Can u access the fvwm menu (left or right mouse on desktop)? Than u can copy the fvwm2rc file or if you want I can send you mine to start off with.
it is a fresh install and i have never used fvwm. i left my office so i cannot test the right/left mouse button but if you can post your fvwm2rc file and tell me where it should go that would be great. thanks for help.
Offline
SleepingGiant08 wrote:This looks like a fresh install of fvwm
I assume you haven't set up a .fvwm2rc. Can u access the fvwm menu (left or right mouse on desktop)? Than u can copy the fvwm2rc file or if you want I can send you mine to start off with.it is a fresh install and i have never used fvwm. i left my office so i cannot test the right/left mouse button but if you can post your fvwm2rc file and tell me where it should go that would be great. thanks for help.
Yeah I am away from my comp too, you can go to the fvwm forum fo info and configs. I will post my configs later
Registered Linux User #439761
Offline
I haven't used fvwm in a few weeks so I forget my settings or how it is currently so YMMV. Pasted below, I hope somebody else posts their's as well.
Also have you set the locale yet?
http://wiki.archlinux.org/index.php/Locale
# This file is copied to a new user's FVWM_USERDIR by FvwmForm-Setup form.
# This file contains the commands fvwm2 reads while starting.
#
EdgeResistance 250 10
EdgeScroll 100 100
ClickTime 750
DeskTopSize 2x2
MenuStyle * fvwm, Foreground maroon, Background grey60, Greyed grey40
MenuStyle * Font -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
ColormapFocus FollowsMouse
# default Styles:
# make sure these fonts exist on your system:
Style * Font -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-*
Style * IconFont -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-*
Style * HilightFore black, HilightBack palevioletred
Style * BorderWidth 7, HandleWidth 7
Style * Icon unknown1.xpm, Color lightgrey/dimgrey
Style * MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition
Style * IconBox 0 -10 -280 -1
Style * FocusFollowsMouse
Style * TileCascadePlacement
# Styles for various Fvwm modules:
Style Fvwm* NoTitle, Sticky, WindowListSkip
Style Fvwm* BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style FvwmPager StaysOnTop
Style FvwmBanner StaysOnTop
Style FvwmButtons Icon toolbox.xpm, ClickToFocus
# Styles for your common terminal emulator programs.
# xterms and rxvts in a separate icon box:
Style XTerm Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt MWMBorder, MWMButtons
# Styles for various common programs:
Style *lock NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus
Style xbiff NoTitle, Sticky, WindowListSkip, ClickToFocus
Style xcalc Icon xcalc.xpm, NoButton 2,ClickToFocus
Style xmh Icon mail1.xpm, NoIconTitle,StickyIcon
Style xmh NoButton 2
Style xman Icon xman.xpm, ClickToFocus
Style xmag Icon mag_glass.xpm, ClickToFocus
Style xgraph Icon graphs.xpm, ClickToFocus
Style xmosaic Color Green/Yellow, ClickToFocus
# some simple default key bindings:
Key Next A SCM Next [*] Focus
Key Prior A SCM Prev [*] Focus
# some simple default mouse bindings:
# for the root window:
Mouse 1 R A Menu MenuFvwmRoot Nop
Mouse 2 R A Menu MenuFvwmWindowOps Nop
Mouse 3 R A WindowList
# for the title bar buttons:
Mouse 0 1 A Menu MenuFvwmWindowOps2 Close
Mouse 0 2 A FuncFvwmMaximize
Mouse 0 4 A Iconify
# for other parts of the window/borders/icons:
Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 TS A FuncFvwmMoveOrRaise
Mouse 1 I A FuncFvwmMoveOrIconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu MenuFvwmWindowOps2 Nop
Mouse 3 TSIF A RaiseLower
######################## Initialization Functions ############################
AddToFunc StartFunction
+ I Module FvwmAnimate
+ I Module FvwmBanner
+ I Module FvwmButtons
AddToFunc InitFunction
+ I exec xsetroot -mod 2 2 -fg rgb:55/40/55 -bg rgb:70/50/70
# For some SM-s (like gnome-session) there is an internal background setter.
AddToFunc SessionInitFunction
+ I Nop
######################## Menus ###################
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot "Root Menu" Title
+ "&1. XTerm" Exec exec xterm
+ "&2. Rxvt" Exec exec rxvt
+ "" Nop
+ "&R. Remote Logins" Popup MenuFvwmLogins
+ "" Nop
+ "&U. Utilities" Popup MenuFvwmUtilities
+ "" Nop
+ "&M. Fvwm Modules" Popup MenuFvwmModules
+ "&W. Fvwm Window Ops" Popup MenuFvwmWindowOps
+ "&S. Fvwm Config Ops" Popup MenuFvwmConfig
+ "" Nop
+ "&F. Refresh Screen" Refresh
+ "&C. Recapture Screen" Recapture
+ "" Nop
+ "&X. Exit Fvwm" Popup MenuFvwmQuitVerify
DestroyMenu MenuFvwmUtilities
AddToMenu MenuFvwmUtilities "MenuFvwmUtilities" Title
+ "&T. Top" Exec exec xterm -T Top -n Top -e top
+ "&C. Calculator" Exec exec xcalc
+ "&M. Xman" Exec exec xman
+ "&G. Xmag" Exec exec xmag
+ "&R. Editres" Exec exec editres
+ "" Nop
+ "&E. XEmacs" Exec exec xemacs
+ "&A. Xmh Mail" FuncFvwmMailXmh xmh "-font fixed"
+ "" Nop
+ "&L. XLock" Exec exec xlock -mode random
+ "" Nop
+ "&D. Reset X defaults" Exec xrdb -load $HOME/.Xdefaults
DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig "Fvwm Config Ops" Title
+ "&S. Sloppy Focus" FuncFvwmFocusPolicyChange SloppyFocus
+ "&C. Click To Focus" FuncFvwmFocusPolicyChange ClickToFocus
+ "&F. Focus Follows Mouse" FuncFvwmFocusPolicyChange FocusFollowsMouse
+ "" Nop
+ "&1. Colormap Follows Mouse" ColormapFocus FollowsMouse
+ "&2. Colormap Follows Focus" ColormapFocus FollowsFocus
+ "" Nop
+ "&3. Full Paging ON" EdgeScroll 100 100
+ "&4. All Paging OFF" EdgeScroll 0 0
+ "&5. Horizontal Paging Only" EdgeScroll 100 0
+ "&6. Vertical Paging Only" EdgeScroll 0 100
+ "&7. Partial Paging" EdgeScroll 50 50
+ "&8. Full Paging && Edge Wrap" EdgeScroll 100000 100000
# The window Ops menus exhibit a different HotKey style.
# There are 2 versions of the WindowOps Menu, meant to be bound to different
# things. Here is the "common" part:
DestroyFunc FuncFvwmWindowCommon
AddToFunc FuncFvwmWindowCommon
+ I AddToMenu $0 &Move Move
+ I AddToMenu $0 &Resize Resize
+ I AddToMenu $0 R&aise Raise
+ I AddToMenu $0 &Lower Lower
+ I AddToMenu $0 (De)&Iconify Iconify
+ I AddToMenu $0 (Un)&Stick Stick
+ I AddToMenu $0 (Un)Ma&ximize Maximize
+ I AddToMenu $0 "" Nop
+ I AddToMenu $0 &Delete Delete
+ I AddToMenu $0 &Close Close
+ I AddToMenu $0 Destroy Destroy
+ I AddToMenu $0 "" Nop
# First windowops menu, bound to:
# mouse 2 on root
# Root menu
DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps "Window Ops" Title
FuncFvwmWindowCommon MenuFvwmWindowOps
+ "Re&fresh Window" RefreshWindow
# Second windowops menu, bound to:
# any mouse on titlebar button 1
# mouse 2 on frame, side or titlebar
DestroyMenu MenuFvwmWindowOps2
AddToMenu MenuFvwmWindowOps2
FuncFvwmWindowCommon MenuFvwmWindowOps2
+ Scroll&Bar Module FvwmScroll 2 2
+ &Print FuncFvwmPrint
+ "Print Re&verse" FuncFvwmPrintReverse
# 3 different ways to log on, take your pick:
DestroyFunc FuncFvwmRloginXterm
AddToFunc FuncFvwmRloginXterm \
I Exec xterm -name $0 -title "$USER @ $0" -e rlogin $0
DestroyFunc FuncFvwmRloginRxvt
AddToFunc FuncFvwmRloginRxvt \
I Exec rxvt -name $0 -n $0 -title $USER@$0 -e rlogin $0
DestroyFunc FuncFvwmRloginRshRxvt
AddToFunc FuncFvwmRloginRshRxvt \
I Exec Exec rsh $0 rxvt -display $HOSTDISPLAY
# be sure to fill these in with your correct machine names:
DestroyMenu MenuFvwmLogins
AddToMenu MenuFvwmLogins
+ &dopey FuncFvwmRloginXterm dopey
+ &snoopy FuncFvwmRloginXterm snoopy
+ s&ignal Exec rxterm signal
DestroyMenu MenuFvwmModules
AddToMenu MenuFvwmModules "Fvwm Modules" Title
+ "&1. Control Animation" Popup MenuFvwmAnimate
+ "&B. Button-Bar" Module FvwmButtons
+ "&O. IconBox" FuncFvwmConfigureIconBox
+ "&F. Forms" Popup MenuFvwmForms
+ "&I. Identify" Module FvwmIdent
+ "&M. IconMan" Module FvwmIconMan
+ "&N. Banner" Module FvwmBanner
+ "&C. Console" Module FvwmConsole
+ "&P. Pager" Module FvwmPager 0 0
+ "&2. Pager (2 desks)" Module FvwmPager 0 1
+ "&R. Backer" Module FvwmBacker
+ "&S. ScrollBar" Module FvwmScroll 50 50
+ "&T. FvwmTaskBar" Module FvwmTaskBar
+ "&U. AutoRaise" Module FvwmAuto 200 Raise Nop
+ "&W. WinList" Module FvwmWinList
+ "&X. Stop Module Menu" Popup MenuFvwmStopModule
DestroyMenu MenuFvwmStopModule
AddToMenu MenuFvwmStopModule "Stop Fvwm Modules" Title
+ "&B. Stop Button-Bar" KillModule FvwmButtons
+ "&O. Stop IconBox" KillModule FvwmIconBox
+ "&M. Stop IconMan" KillModule FvwmIconMan
+ "&P. Stop Pager" KillModule FvwmPager
+ "&R. Stop Backer" KillModule FvwmBacker
+ "&S. Stop ScrollBar" KillModule FvwmScroll
+ "&T. Stop FvwmTaskBar" KillModule FvwmTaskBar
+ "&U. Stop AutoRaise" KillModule FvwmAuto
+ "&W. Stop WinList" KillModule FvwmWinList
DestroyMenu MenuFvwmForms
AddToMenu MenuFvwmForms
+ "&C. Capture" Module FvwmForm FvwmForm-Capture
+ "&D. Form Defaults" Module FvwmForm FvwmForm-Form
+ "&R. Rlogin" Module FvwmForm FvwmForm-Rlogin
+ "&P. RootCursor" Module FvwmForm FvwmForm-RootCursor
+ "&S. Setup" Module FvwmForm FvwmForm-Setup
+ "&T. Talk Form" Module FvwmForm FvwmForm-Talk
+ "&Q. QuitVerify" Module FvwmForm FvwmForm-QuitVerify
# Configure and start using an iconbox on the fly
DestroyFunc FuncFvwmConfigureIconBox
AddToFunc FuncFvwmConfigureIconBox
+ I Module FvwmIconBox
+ I Style * NoIcon
DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify "Really Quit Fvwm?" Title
+ "&Q. Yes, Really Quit" Quit
+ "" Nop
+ "&R. Restart" Restart
+ "" Nop
+ "&T. Start twm" Restart twm
+ "&C. Start ctwm" Restart ctwm
+ "&2. Start tvtwm" Restart tvtwm
+ "&V. Start vtwm" Restart vtwm
+ "&M. Start mwm" Restart mwm
+ "&O. Start olwm" Restart /usr/openwin/bin/olwm
+ "" Nop
+ "&X. Just an Xterm" Restart xterm -n '"X Console"' -T '"X Console"'
+ "" Nop
+ "&N. No, Don't Quit" Nop
######################## Sample Functions ##########################
DestroyFunc FuncFvwmMailXmh
AddToFunc FuncFvwmMailXmh
+ I Next [$0] Iconify false
+ I Next [$0] Focus
+ I None [$0] Exec $0 $1
DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise
+ I Raise
+ M Move
+ D Lower
DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize
+ M Maximize 0 100
+ H Maximize 0 100
+ C Maximize 0 80
+ D Maximize 100 100
DestroyFunc FuncFvwmMoveOrIconify
AddToFunc FuncFvwmMoveOrIconify
+ I Raise
+ M Move
+ D Iconify
DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise
+ I Raise
+ M Resize
+ D Lower
DestroyFunc FuncFvwmPrint
AddToFunc FuncFvwmPrint
+ I Raise
+ I Exec xdpr -id $w
DestroyFunc FuncFvwmPrintReverse
AddToFunc FuncFvwmPrintReverse
+ I Raise
+ I Exec xdpr 1/2 -h -rv -id $w
DestroyFunc FuncFvwmFocusPolicyChange
AddToFunc FuncFvwmFocusPolicyChange
+ I Style * $0
+ I Recapture
# Read config files for modules:
read ConfigFvwmBacker
read ConfigFvwmButtons
read ConfigFvwmIconBox
read ConfigFvwmIconMan
read ConfigFvwmIdent
read ConfigFvwmPager
read ConfigFvwmScroll
read ConfigFvwmTaskBar
read ConfigFvwmWinList
Offline
finally i got fvwm working. thanks junglepeanut and SleepingGiant08 on your help. fvwm seems a lot more complicated than KDE - the only wm i ever used. so if anyone has some good scripts, configs and how-tos feel free to post them and i'm off to browse fvwm forums
Offline
Go here for some sample configs: FVWM forum for configs
My config is on my svn server, which is acting up and I can't have anonymous access. Once I set it back up, I can PM you the link if you are still interested. You can take a look at my TRAC for now: click
The forums and man pages help A LOT. If you need any help you can message me and I can probably help you out. Don't "give up" just b/c fvwm is complicated, it really sweet once you learn the ins an outs (although Im on OpenBox currently...)
Registered Linux User #439761
Offline
Go here for some sample configs: FVWM forum for configs
My config is on my svn server, which is acting up and I can't have anonymous access. Once I set it back up, I can PM you the link if you are still interested. You can take a look at my TRAC for now: click
The forums and man pages help A LOT. If you need any help you can message me and I can probably help you out. Don't "give up" just b/c fvwm is complicated, it really sweet once you learn the ins an outs (although Im on OpenBox currently...)
thanks for help. i decided to give it a try (after installing kde for backup ). i am sure i'll have a lot of questions but i'll stick to fvwm forum. if you remeber send me your script so i have something to look at. thanks again...
Offline
Pages: 1