Mouse and keyboard do not work under Xorg
#1
Sun, 2015-08-30 03:54
zzggbb
-
- Offline
- 2 years 7 months ago
- 2015-08-30
I have installed xf86-input-keyboard, xf86-input-mouse, xf86-input-synaptics, and xf86-input-evdev.
running `startx` properly starts up the X server, but the mouse and keyboard don't do anything.
If anybody has had this issue and fixed it, how did you do so?
Without more information difficult to help, first thoughts are have you got udev running? what is in .xinitrc? which desktop are you trying to run
Well, how about that. Now my mouse and keyboard are working. I haven't even touched my computer for a few days, and now it works. Perhaps it was a recent update that fixed it.
Sorry for not having a more concrete answer for those people having similar issues as me.
I am running fluxbox, and udev-postmount is running. Here is my /etc/X11/xinit/xinitrc:
rc-update add udev
rc-update add dbus
There seem to be a surge in these issues under virtualbox, docker, vmware and even bare metal.
https://bugs.alpinelinux.org/issues/5422
If you are having this issue, please can you post the output of:
uname -a
lsmod
cat /etc/X11/xorg.conf.d/20-modules.conf
apk info
Describe your environment (bare metel or which hyervisor) and how X behaves when you run Xorg -retro.
You should see this (virtualbox setup) and be able to move the mouse it's all working properly.
I am using VirtualBox 4.3.36-dfsg-1+deb8u1 on Debian Stable.
When I run
startx
with default config (wfb module loaded) and openbox WM (.xinitrc is sole 'openbox' line) I get Xorg with mouse moving until I press right mouse button to get menu. With same config and awesome WM it freezes instantly. (This don't looks like mouse related)After freeze it's imposible to switch to console but VM can be corectly shutdown using ACPI poweroff.
Disabling
wfb
solves this for both WMs.Here is config of guest system:
uname -a
lsmod
apk info
Edited /etc/X11/xorg.conf.d/20-modules.conf
I'm trying to install alpine x86-64 on virtualbox and I have a similar problem.
A first problem is that alpine-linux apk is not present in x86-64 repository, infact I have install manually lxdm.
A second problem is that Xorg -configure give me "No device to configure" and I had installed xf86-video vmware, ati, ecc...
Only Xorg -retro works for me , but I only see the mouse and no manù bar :\
Last but not least: startx, startxfce4, ecc.. don'twork
Someone can give me an help?
I had similar problems with Alpine Linux 3.4.1 on VirtualBox 5.0.24. Mouse and keyboard did not work. I got a blank screen. And
Xorg -configure
wrote something like "no device to configure" to console.To solve the problems I started again with a basic setup (only
setup-xorg-base
) and invokedXorg -retro
. The output on the screen was fine (only when usingXorg -retro
), but there were no reactions when I used mouse or keyboard. The solution to solve this mouse-/keyboard-problem was very simple: I had to reboot (afterlbu commit
).After rebooting another problem persisted. When I tried to start XFCE the screen turned blank (black). I could switch to console with CTRL+ALT+F2 (the VirtualBox-window got smaller), but the screen was still blank. This is the problem that I could solve by disabling
wfb
(https://bugs.alpinelinux.org/issues/5422#note-3). So, XFCE is working, now. Before disablingwfb
I got the followingXorg.0.log
:The errors within the log are:
I used this before I started the X-server to save the log:
(sleep 15 ; cp /var/log/Xorg.0.log /etc/Xorg.0.log ; lbu commit)&
.These are the data requested by ScrumpyJack, captured when X already worked.
uname -a
:lsmod
:cat /etc/X11/xorg.conf.d/20-modules.conf
:apk info
:I'm also seeing this issue under VMWare Workstation 12.0.0.
The VirtualBox workarounds don't work for me, unfortunately.
Outputs of the rest would take up a lot of space, but all are default. I can provide outputs of the other things requested if that would help, though.
Hi,
i had the same problems on VMWare Player.
For me, the solution was very simple: