Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i can't find xorgconfig command in my new gentoo box
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 1:14 pm    Post subject: i can't find xorgconfig command in my new gentoo box Reply with quote

Hello I have emerged xorg-x11 but when I use xorgconfig to config my xorg.conf, that the system didn't find the command at all.

Allen ~ # xorgconfig
-bash: xorgconfig: command not found

Is there any way to config xorg.conf easily?
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Jun 22, 2009 1:56 pm    Post subject: Reply with quote

1. Did you try living without it? Seriously, for most setups it's not needed at all anymore.
2. If you really want to set things instead of letting X auto configure at startup (which works great and doesn't take time) you can do 'X -configure' so that it does what it would do at startup but dumps the setting to a config file that you can use as xorg.conf.
3. If you can't do #1 because you need some tweaking, then use #2 as the file you start tweaking.
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 2:10 pm    Post subject: Reply with quote

I did run X -configure but can't get my X running.

When I run startx it worked but I can't use my keyboard at all.
When I run kdm it disappeared after a few seconds

My xorg.conf.new:

Quote:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
Load "dbe"
Load "dri2"
Load "glx"
Load "extmod"
Load "record"
Load "dri"
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 "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 4 Series Chipset Integrated Graphics Controller"
BusID "PCI:0:2: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


I use a thinkpad x200 laptop and here is the lspci result:
Quote:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LF Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:00.0 Network controller: Intel Corporation Device 4237
04:00.0 Memory controller: Intel Corporation Turbo Memory Controller (rev 11)


And the Xorg log
Quote:

Allen ~ # grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No input driver matching `kbd'


Thanks for your kindly help.[/quote]
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Jun 22, 2009 2:14 pm    Post subject: Reply with quote

What do you have in your INPUT_DEVICES?
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 2:24 pm    Post subject: Reply with quote

szczerb wrote:
What do you have in your INPUT_DEVICES?


How can I check it? Thanks.
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 2:30 pm    Post subject: Reply with quote

startx works after I emerged xf86-input-keyboard
But kdm still didn't work and no errors found in Xorg.0.log
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Jun 22, 2009 2:44 pm    Post subject: Reply with quote

You set the INPUT_DEVICES and VIDEO_CARDS in your make.conf. Didn't you read the xorg guide?
http://www.gentoo.org/doc/pl/xorg-config.xml
read also this and apply together, because 1.5 is now stable.
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml


So:
- don't use the kbd driver or the mouse driver. Use evdev. If you have trouble with setting layouts I'll help.
- don't just emerge drivers on your own. they will be pulled in by xorg-server which is pulled in by xorg-x11, when you set the correct values to the mentioned variables in your make.conf (that would be just "intel" for the gfx card and just "evdev" for mouse/trackpoint and if the x200 has a touchpad then "evdev synaptics"
- never emerge stuff that is a dependency of something without the --oneshot or -1 option
- now, go and remove the kbd driver's line from /var/lib/portage/world
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 2:47 pm    Post subject: Reply with quote

After I use startx to start my kde 4.2.4, it said:
could not start D-Bus

How can I do that? I did emerge dbus but after I run /etc/init.d/dbus start I can't see any dbus progress running.
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 2:48 pm    Post subject: Reply with quote

szczerb wrote:
You set the INPUT_DEVICES and VIDEO_CARDS in your make.conf. Didn't you read the xorg guide?
http://www.gentoo.org/doc/pl/xorg-config.xml
read also this and apply together, because 1.5 is now stable.
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml


So:
- don't use the kbd driver or the mouse driver. Use evdev. If you have trouble with setting layouts I'll help.
- don't just emerge drivers on your own. they will be pulled in by xorg-server which is pulled in by xorg-x11, when you set the correct values to the mentioned variables in your make.conf (that would be just "intel" for the gfx card and just "evdev" for mouse/trackpoint and if the x200 has a touchpad then "evdev synaptics"
- never emerge stuff that is a dependency of something without the --oneshot or -1 option
- now, go and remove the kbd driver's line from /var/lib/portage/world


Okay but my keyboard works for me now. THanks.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Jun 22, 2009 2:55 pm    Post subject: Reply with quote

But you made a mess by adding to your world something that shouldn't be there. And evdev is they way to go. Has been for some months.

Please, paste 'emerge --info'.

Also does '/etc/init.d/dbus start' fail? (it should be added to the default runlevel together with hal)
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 3:00 pm    Post subject: Reply with quote

Ok here is the result:

Quote:
Allen ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 21 Jun 2009 13:00:01 +0000
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.4-r2, 2.6.2-r1
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.63
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://mirror.pacific.net.au/linux/Gentoo http://gentoo.chem.wisc.edu/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa berkdb bzip2 cdr cli cracklib crypt cups curl dbus dri drm dvd embedded encode fontconfig fortran ftp gdbm gif gnome gpm gps gtk iconv intel isdnlog jpef kde live mad midi mmx mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd python quicktime readline reflection sdl session smp sndfile spell spl sse sse2 ssl ssse3 svg sysfs tcpd theora truetype unicode vorbis x264 x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Quote:
Allen ~ # /etc/init.d/hald start
* Caching service dependencies ...
* Can't find service 'dbus' needed by 'hald'; continuing... [ ok ]
dbus
* ERROR: Some services needed are missing. Run
* './hald broken' for a list of those
* services. hald was not started.


And when I run qdbus
Quote:

Allen ~ # qdbus
process 28545: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Jun 22, 2009 3:10 pm    Post subject: Reply with quote

What about '/etc/init.d/dbus start' ?

BTW O3 is pretty adventurous, so if stuff ever doesn't wanna compile remember to try O2 :)
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 3:11 pm    Post subject: Reply with quote

I found that the file /etc/init.d/dbus is a blank file.
Don't know why.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Jun 22, 2009 3:32 pm    Post subject: Reply with quote

Weird. Try rebuilding dbus then.

'emerge -1 dbus'
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Mon Jun 22, 2009 11:16 pm    Post subject: Reply with quote

Still the same problem

After I emerge -1 dbus, the system told me:

Quote:
>>> Installing (1 of 1) sys-apps/dbus-1.2.12
* >>> SetUID: [chmod go-r] /usr/libexec/dbus-daemon-launch-helper ... [ ok ]
* To start the D-Bus system-wide messagebus by default
* you should add it to the default runlevel :
* `rc-update add dbus default`
*
* Some applications require a session bus in addition to the system
* bus. Please see `man dbus-launch` for more information.
*
*
* You MUST run 'revdep-rebuild' after emerging this package
*
* You must restart D-Bus `/etc/init.d/dbus restart` to run
* the new version of the daemon.

* Messages for package sys-apps/dbus-1.2.12:

* To start the D-Bus system-wide messagebus by default
* you should add it to the default runlevel :
* `rc-update add dbus default`
*
* Some applications require a session bus in addition to the system
* bus. Please see `man dbus-launch` for more information.
*
*
* You MUST run 'revdep-rebuild' after emerging this package
*
* You must restart D-Bus `/etc/init.d/dbus restart` to run
* the new version of the daemon.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.

* IMPORTANT: 4 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.


But I can't run revdep-rebuild at all

Quote:
Allen ~ # revdep-rebuild
-bash: revdep-rebuild: command not found
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Jun 22, 2009 11:26 pm    Post subject: Reply with quote

It's in app-portage/gentoolkit :)

Use it from time to time and always when stuff builds but doesn't work.
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Tue Jun 23, 2009 1:07 am    Post subject: Reply with quote

After I did that, startx didn't show "could not start D-Bus" window again but it stopped and quit while the kde environment is loading. The error msg is:

Quote:


A lot of msg above:)


Setting CRTC 0 on output "VGA" (previous 0 )
RandRScreen::loadSettings - adding output: 60
Setting CRTC 58 on output "LVDS" (previous 0 )
CRTC outputs: (60)
Output name: "LVDS"
Output refresh rate: 59.9939
Output rect: QRect(0,0 1280x800)
Output rotation: 1
RandRScreen::loadSettings - adding output: 61
Setting CRTC 0 on output "HDMI-1" (previous 0 )
RandRScreen::loadSettings - adding output: 62
Setting CRTC 0 on output "HDMI-2" (previous 0 )
XRandROutputs::init
added output 59
got a valid edid block...
vendor code: "LEN"
product id: 16400
serial number: 0
added output 60
added output 61
added output 62
output: "HDMI-1" QRect(0,0 0x0) 0 false false
output: "HDMI-2" QRect(0,0 0x0) 0 false false
output: "LVDS" QRect(0,0 1280x800) 0 false false
output: "VGA" QRect(0,0 0x0) 0 false false
load xml
connected: 1
looking for current "LVDS"
known "*" has score: 0.125
screen: 0 QRect(0,0 1280x800)
looking for a matching configuration...
connected: 1
looking for current "LVDS"
known "*" has score: 0.125
found outputs, known: false
connected: 1
looking for current "LVDS"
known "*" has score: 0.125
activate external configuration!!
registered the service: true
screens registered on the bus: true
outputs registered on the bus: true
configurations registered on the bus: true

Backtrace:
0: X(xorg_backtrace+0x38) [0x8144ed4]

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional informati on.

Dropping master
kcminit_startup: Fatal IO error: client killed
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
xinit: connection to X server lost.
klauncher: Exiting on signal 1
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
QProcess: Destroyed while process is still running.
GOT SIGHUP
Qt-subapplication: Fatal IO error: client killed
Allen ~ # Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer : Failed to connect to socket /tmp/dbus-ihku28LxYE: Connection refused
startkde: Shutting down...
kdeinit4_wrapper: Warning: connect(/root/.kde4/socket-Allen/kdeinit4__0) failed: : No such file or directory
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
kded4: Fatal IO error: client killed
xprop: unable to open display ':0'
usage: xprop [-options ...] [[format [dformat]] atom] ...

where options include:
-grammar print out full grammar for command line
-display host:dpy the X server to contact
-id id resource id of window to examine
-name name name of window to examine
-font name name of font to examine
-remove propname remove a property
-set propname value set a property to a given value
-root examine the root window
-len n display at most n bytes of any property
-notype do not display the type field
-fs filename where to look for formats for properties
-frame don't ignore window manager frames
-f propname format [dformat] formats to use for property of given name
-spy examine window properties forever

xprop: unable to open display ':0'
usage: xprop [-options ...] [[format [dformat]] atom] ...

where options include:
-grammar print out full grammar for command line
-display host:dpy the X server to contact
-id id resource id of window to examine
-name name name of window to examine
-font name name of font to examine
-remove propname remove a property
-set propname value set a property to a given value
-root examine the root window
-len n display at most n bytes of any property
-notype do not display the type field
-fs filename where to look for formats for properties
-frame don't ignore window manager frames
-f propname format [dformat] formats to use for property of given name
-spy examine window properties forever

startkde: Done.
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Tue Jun 23, 2009 3:45 am    Post subject: Reply with quote

I am using intel GMA X4500 and the driver is xf86-video-intel-2.7.1

Regards
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Tue Jun 23, 2009 7:15 am    Post subject: Reply with quote

Hi,

What "/etc/init.d/dbus status" says ?

Regards,
Maxime

PS : xorg.conf isn't really needed anymore (although not sure about your graphic card as I use nVidia) and you can handle your keyboard config with HAL (if not said above)
_________________
Future is wide open.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Tue Jun 23, 2009 12:15 pm    Post subject: Reply with quote

With intel no xorg.conf was needed for months now.

What's your xorg-server, mesa, libdrm versions? And do you use KMS?
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Wed Jun 24, 2009 10:43 am    Post subject: Reply with quote

Yes I deleted the xorg.conf and still the same problem.

xorg-server:

Quote:
* x11-base/xorg-server
Latest version available: 1.6.1.901-r3
Latest version installed: 1.6.1.901-r3
Size of files: 4,550 kB
Homepage: http://xorg.freedesktop.org/
Description: X.Org X servers
License: xorg-server MIT




mesa:

Quote:
* media-libs/mesa
Latest version available: 7.4.3
Latest version installed: 7.4.3
Size of files: 3,294 kB
Homepage: http://mesa3d.sourceforge.net/
Description: OpenGL-like graphic library for Linux
License: LGPL-2


libdrm:

Quote:
* x11-libs/libdrm
Latest version available: 2.4.11
Latest version installed: 2.4.11
Size of files: 511 kB
Homepage: http://dri.freedesktop.org/
Description: X.Org libdrm library
License: libdrm
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Wed Jun 24, 2009 10:47 am    Post subject: Reply with quote

Here's the current log that I have fresh installed kde 4.2.4 again.

Quote:
Allen ~ # startx
xauth: creating new authority file /root/.serverauth.25758


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-gentoo-r1 i686
Current Operating System: Linux Allen 2.6.30-gentoo-r1 #1 SMP Tue Jun 23 17:55:18 Local time zone must be set--see zic i686
Build Date: 23 June 2009 07:28:37PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 24 18:43:35 2009
(==) Using default built-in configuration (39 lines)
(EE) Failed to load module "i810" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
Setting master
Failed to initialize GEM. Falling back to classic.
expected keysym, got XF86Battery: line 59 of inet
expected keysym, got XF86WLAN: line 60 of inet
expected keysym, got XF86Suspend: line 174 of inet
expected keysym, got XF86Battery: line 205 of inet
expected keysym, got XF86Bluetooth: line 206 of inet
expected keysym, got XF86WLAN: line 207 of inet
expected keysym, got XF86Hibernate: line 214 of inet
expected keysym, got XF86Battery: line 59 of inet
expected keysym, got XF86WLAN: line 60 of inet
expected keysym, got XF86Suspend: line 174 of inet
expected keysym, got XF86Battery: line 205 of inet
expected keysym, got XF86Bluetooth: line 206 of inet
expected keysym, got XF86WLAN: line 207 of inet
expected keysym, got XF86Hibernate: line 214 of inet
startkde: Starting up...
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
kdeinit4: preparing to launch /usr/bin/kded4
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update
X Error: XSyncBadAlarm 154
Extension: 144 (Uknown extension)
Minor opcode: 11 (Unknown request)
Resource id: 0x0
kdeinit4: preparing to launch /usr/bin/kcminit_startup
X Error: XSyncBadAlarm 154
Extension: 144 (Uknown extension)
Minor opcode: 11 (Unknown request)
Resource id: 0x0
kdeinit4: preparing to launch /usr/bin/ksmserver
<unknown program name>(25821)/ KStartupInfo::createNewStartupId: creating: "Allen;1245869017;986317;25821_TIME0" : "unnamed app"
kephald starting up
XRANDR error base: 162
RRInput mask is set!!
RandRScreen::loadSettings - adding mode: 63 1280 x 800
RandRScreen::loadSettings - adding mode: 64 1280 x 800
RandRScreen::loadSettings - adding mode: 65 1024 x 768
RandRScreen::loadSettings - adding mode: 66 1024 x 768
RandRScreen::loadSettings - adding mode: 67 1024 x 768
RandRScreen::loadSettings - adding mode: 68 1024 x 768
RandRScreen::loadSettings - adding mode: 69 832 x 624
RandRScreen::loadSettings - adding mode: 70 800 x 600
RandRScreen::loadSettings - adding mode: 71 800 x 600
RandRScreen::loadSettings - adding mode: 72 800 x 600
RandRScreen::loadSettings - adding mode: 73 800 x 600
RandRScreen::loadSettings - adding mode: 74 800 x 600
RandRScreen::loadSettings - adding mode: 75 640 x 480
RandRScreen::loadSettings - adding mode: 76 640 x 480
RandRScreen::loadSettings - adding mode: 77 640 x 480
RandRScreen::loadSettings - adding mode: 78 640 x 480
RandRScreen::loadSettings - adding mode: 79 720 x 400
RandRScreen::loadSettings - adding mode: 80 640 x 400
RandRScreen::loadSettings - adding mode: 81 640 x 350
RandRScreen::loadSettings - adding crtc: 57
RandRScreen::loadSettings - adding crtc: 58
RandRScreen::loadSettings - adding output: 59
Setting CRTC 0 on output "VGA" (previous 0 )
RandRScreen::loadSettings - adding output: 60
Setting CRTC 58 on output "LVDS" (previous 0 )
CRTC outputs: (60)
Output name: "LVDS"
Output refresh rate: 59.9939
Output rect: QRect(0,0 1280x800)
Output rotation: 1
RandRScreen::loadSettings - adding output: 61
Setting CRTC 0 on output "HDMI-1" (previous 0 )
RandRScreen::loadSettings - adding output: 62
Setting CRTC 0 on output "HDMI-2" (previous 0 )
XRandROutputs::init
added output 59
got a valid edid block...
vendor code: "LEN"
product id: 16400
serial number: 0
added output 60
added output 61
added output 62
output: "HDMI-1" QRect(0,0 0x0) 0 false false
output: "HDMI-2" QRect(0,0 0x0) 0 false false
output: "LVDS" QRect(0,0 1280x800) 0 false false
output: "VGA" QRect(0,0 0x0) 0 false false
load xml
connected: 1
looking for current "LVDS"
known "*" has score: 0.125
screen: 0 QRect(0,0 1280x800)
looking for a matching configuration...
connected: 1
looking for current "LVDS"
known "*" has score: 0.125
found outputs, known: false
connected: 1
looking for current "LVDS"
known "*" has score: 0.125
activate external configuration!!
registered the service: true
screens registered on the bus: true
outputs registered on the bus: true
configurations registered on the bus: true

Backtrace:
0: X(xorg_backtrace+0x38) [0x8144750]

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Dropping master
kded4: Fatal IO error: client killed
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
klauncher: Exiting on signal 1
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
xinit: connection to X server lost.
KCrash: Application 'ksmserver' crashing...
sock_file=/root/.kde4/socket-Allen/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
GOT SIGHUP
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-bpymBTvNup: Connection refused
startkde: Shutting down...
kdeinit4_wrapper: Warning: connect(/root/.kde4/socket-Allen/kdeinit4__0) failed: : No such file or directory
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
QWidget: Must construct a QApplication before a QPaintDevice
Allen ~ # kwin: Fatal IO error: client killed
Qt-subapplication: Fatal IO error: client killed
xprop: unable to open display ':0'
usage: xprop [-options ...] [[format [dformat]] atom] ...

where options include:
-grammar print out full grammar for command line
-display host:dpy the X server to contact
-id id resource id of window to examine
-name name name of window to examine
-font name name of font to examine
-remove propname remove a property
-set propname value set a property to a given value
-root examine the root window
-len n display at most n bytes of any property
-notype do not display the type field
-fs filename where to look for formats for properties
-frame don't ignore window manager frames
-f propname format [dformat] formats to use for property of given name
-spy examine window properties forever

xprop: unable to open display ':0'
usage: xprop [-options ...] [[format [dformat]] atom] ...

where options include:
-grammar print out full grammar for command line
-display host:dpy the X server to contact
-id id resource id of window to examine
-name name name of window to examine
-font name name of font to examine
-remove propname remove a property
-set propname value set a property to a given value
-root examine the root window
-len n display at most n bytes of any property
-notype do not display the type field
-fs filename where to look for formats for properties
-frame don't ignore window manager frames
-f propname format [dformat] formats to use for property of given name
-spy examine window properties forever

startkde: Done.
Back to top
View user's profile Send private message
Greyhound
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Wed Jun 24, 2009 10:53 am    Post subject: Reply with quote

And, if I startx with xterm, that's ok without any problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum