Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issue with X, Keyboard and Mouse don't work[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Sun Oct 06, 2013 11:53 am    Post subject: Issue with X, Keyboard and Mouse don't work[solved] Reply with quote

Gnome start slowly, Mouse and Keyboard don't work with GDM.
Code:
homeserver ~ # gdm
gdm[1397]: GLib-GIO: g_dbus_method_invocation_return_gerror: assertion `error != NULL' failed
gdm[1397]: GLib: g_error_free: assertion `error != NULL' failed


when I tried to restart dbus,

Code:
homeserver ~ # /etc/init.d/dbus restart
 * Stopping D-BUS system messagebus ...                                     [ ok ]
 * Starting D-BUS system messagebus ...
Unknown username "pulse" in message bus configuration file                  [ ok ]
homeserver ~ #


Last edited by clouds222 on Tue Oct 08, 2013 3:03 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31341
Location: 56N 3W

PostPosted: Sun Oct 06, 2013 12:04 pm    Post subject: Reply with quote

clouds222,

Please post your
Code:
emerge --info
output.

As a wild guess, do
Code:
emerge -1 xf86-input-evdev
This is only inteded as a diagnostic/workaround. Its not a fix.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Sun Oct 06, 2013 12:19 pm    Post subject: Reply with quote

Code:

login as: root
Using keyboard-interactive authentication.
Password:
homeserver ~ # emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.11.1-gentoo x86_64)
=================================================================
System uname: Linux-3.11.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700EQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    16318648 total,  15414692 free
KiB Swap:     530140 total,    530140 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/  ftp://mirrors.stuhome.net/gentoo/  rsync://mirrors.stuhome.net/gentoo/  http://mirrors.stuhome.net/gentoo/  rsync://mirrors.xmu.edu.cn/gentoo/  http://mirrors.xmu.edu.cn/gentoo  http://gentoo.aditsu.net:8000/  rsync://gentoo.lagis.at/gentoo-distfiles/  http://gentoo.lagis.at/  http://gentoo.arcticnetwork.ca/  rsync://mirror.the-best-hosting.net/gentoo-distfiles  ftp://ftp.kaist.ac.kr/gentoo/  http://ftp.kaist.ac.kr/pub/gentoo/  rsync://rsync.gtlib.gatech.edu/gentoo  http://lug.mtu.edu/gentoo/  ftp://lug.mtu.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"
USE="############################### #USE Gnome############ X a52 aac acl acpi alsa amd64 apache2 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac flag for fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nautilus ncurses networking nls nptl ogg opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upcall upower usb vorbis wxwidgets x264 xcb xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="vesa i915 fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

homeserver ~ #




Code:



Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31341
Location: 56N 3W

PostPosted: Sun Oct 06, 2013 6:58 pm    Post subject: Reply with quote

clouds222,

That looks good. Can you put /var/log/Xorg.0.log onto a pastebin please.
Its too big for the forum
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Mon Oct 07, 2013 1:51 am    Post subject: Reply with quote

NeddySeagoon wrote:
clouds222,

That looks good. Can you put /var/log/Xorg.0.log onto a pastebin please.
Its too big for the forum


Yes, I pasted it. http://pastebin.ca/2463315
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5267

PostPosted: Mon Oct 07, 2013 4:03 am    Post subject: Reply with quote

That bit at the start of USE var looks odd, but the interesting part in xorg log is
clouds222 wrote:
(EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)

so it seems your mesa was built with wrong useflags.

Also, more relevant would be the log when run as a normal user, not root.

No input devices are being detected, but as server quits early, that doesn't need to mean a thing.
If it does, then your input devices probably aren't getting marked properly by udev.
Back to top
View user's profile Send private message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Mon Oct 07, 2013 1:35 pm    Post subject: Reply with quote

Thanks VoidMage, thanks to all.

I don't know why it will pull i965, but the root cause is udev is blocked by systemd, which led the devices don't work.

I switched the system from openRC to systemd, and all goes smoothly.

Again, thanks all for your help.
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