tangram said:And what does /var/log/Xorg.0.log say?
Quite.wuqingping said:I want a clean X.org 7.4 environment. Is my X server upgrading operation correct? Could someone tell me what is the correct approach to upgrade X.org 7.3_2 to &.4.1 if it's not?
# portupgrade -fR xorg
(I believe, or portmaster something something, etc etc).# pkg_version -vIL=
will give you a list of outdated packages. # pkg_delete -fr /var/db/pkg/xorg\*
, then one at a time upgrade everything left that is outdated (and good Lord, will you be tired of it: use a package manager), and then # cd /usr/ports/x11/xorg && make install clean
.# rm -r /var/db/pkg/* && rm -r /usr/local/*
and then install everything again from scratch.Thank you very much for your reply and great suggestion.fronclynne said:Quite.
You would do well to install a package manager, such as ports-mgmt/portupgrade, ports-mgmt/portmaster, or ports-mgmt/portmanager, and then issue# portupgrade -fR xorg
(I believe, or portmaster something something, etc etc).
Without installing any package management, you need to first deinstall everything which is outdated and then install the new versions.# pkg_version -vIL=
will give you a list of outdated packages.# pkg_delete -fr /var/db/pkg/xorg\*
, then one at a time upgrade everything left that is outdated (and good Lord, will you be tired of it: use a package manager), and then# cd /usr/ports/x11/xorg && make install clean
.
edit: Of course, you could always just make a list of everything you have installed,# rm -r /var/db/pkg/* && rm -r /usr/local/*
and then install everything again from scratch.
Carpetsmoker said:Sigh... This Xorg crap is getting more annoying by the release ...
moused_nondefault_enable="NO"
moused_enable="NO"
# enable HALd
dbus_enable="YES"
polkitd_enable="YES"
hald_enable="YES"
beast# tail -f /var/log/Xorg.0.log
(II) UnloadModule: "mouse"
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) No input driver matching `mouse'
(II) LoadModule: "kbd"
(WW) Warning, couldn't open module kbd
(II) UnloadModule: "kbd"
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No input driver matching `kbd'
(II) config/hal: Adding input device AT Keyboard
(EE) config/hal: NewInputDeviceRequest failed (8)
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AutoAddDevices" "false"
Option "AllowEmptyInput" "off"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:2:8:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
beast# ls
10-dockstation.fdi 10-tabletPCs.fdi
10-input-policy.fdi 10-x11-input.fdi
10-laptop-panel-mgmt-policy.fdi 15-storage-luks.fdi
10-mouse-sysmouse.fdi 20-storage-methods.fdi
10-power-mgmt-policy.fdi 30-wol.fdi
10-rfkill-switch.fdi
moused_enable="YES"
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.4.0, module version = 1.2.3
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(EE) module ABI major version (2) doesn't match the server's version (4)
(II) UnloadModule: "mouse"
(II) Unloading /usr/local/lib/xorg/modules/input//mouse_drv.so
(EE) Failed to load module "mouse" (module requirement mismatch, 0)
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.4.0, module version = 1.2.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(EE) module ABI major version (2) doesn't match the server's version (4)
(II) UnloadModule: "kbd"
(II) Unloading /usr/local/lib/xorg/modules/input//kbd_drv.so
(EE) Failed to load module "kbd" (module requirement mismatch, 0)
ale said:BTW, it seems that now DontZap defaults to true.
That means that you can use ctrl+alt+bkspace to kill xorg or, for example, to restart gdm.
I really can't understand the reasons of this stupid setting.
To have it working again, in xorg.conf
Code:Section "ServerFlags" Option "DontZap" "false" EndSection
Option "XKbOptions" "terminate:ctrl_alt_bksp"
X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-STABLE i386