run x.org without keyboard and mouse
Hello!
I have created a touchscreen GUI to control the xmms player using ubuntu. I want to run the touchscreen as a standalone mp3player. Having looking around in lots of forum i did not find how to configure x.org so that i can run it without mouse and keyboard? I have tried the ServerFlag Option "AllowMouseOpenFail" "true" but without any success. The x server does not start when the mouse or keyboard are disconected. Are there any dummy plugs for keyboard and mouse? Thanks for any help! xxfunkxx |
Wow: presumably you want to be able to use the mouse and kbd sometime right? Or do you plan for this to be a dedicated, 100% of the time, player? (How would you edit playlists?) Otherwise it would be a pain to boot without kbd support by default.
Anyhoo - After you have booted, you can disconnect the kbd and mouse can't you? I wonder what would happen if you edit out the keboard and mouse entries in Xorg.conf? Or, possibly you can remove the mouse/kdb seeking section of the boot script. I havn't tried to boot ubuntu without kbd or mouse ... I'll try it right now: ... BIOS reports keyboard failure ... GRUB screen starts OK ... booting Ubuntu Hoary ... X starts up - I see the gnome login screen. of course, I cannot login - presumably you've set things up to login a particular user on startup. however - Xserver would seem to be running. |
Simon Bridge thanks for the answer. The computer will act as a jukebox and will be placed in small shops and bars where the staff can select between readymade playlists. Thats why i dont need keyboard and mouse.
Booting Hoary without mouse and kbd the x server doesnt come up. Ubuntu shows me the tty1. I played around with the parameter of xorg but that didnīt work neither. mmh. dont know what can i do. xxfunkxx |
Sorry - I can't think of any reason leaving the kbd and mouse disconnected would mean the x server wouldn't start. Would you show us the boot messages?
(If you have this on a network, you should be able to access the logs too.) Basically, you need to know why x thinks it needs the input devices. |
Remove the input devices from xorg.conf would be my first thought. Install an ssh server so that you have sideways access and then you can pull keyboard and mouse for good.
|
Simon Bridge: If you can boot without connection of the 2 devices it sounds like a specific hardware constellation?
thanks refdoc. I already tried to run xorg with the comments on the InputDevices So here are the log files. part of xorg.conf Quote:
output of Xorg log file: Quote:
Quote:
|
Yes you have commented out the input devices in your layout, but the actual sections are still there. Coment them out too.
|
i forget one thing to mention.
X and gdm keep on running, so the autologin from gdm is running i think xxfunkxx |
still no luck. I intalled Hoary on another machine and for my surprise the X server comes up without having connected mouse and kbd. So i copied that xorg,conf to the PC where it does not work. But no luck with that neither with the commands on the entire Section "InputDevice".
Very strange. What can that be? xxfunkxx |
This is hardware rather than software. You need to know more about your bios and your motherboard.
Perhaps the bios thinks it is a safety feature to disable, say, part of the videocard if you do not have kbd or mouse plugged in? In which case there may be a switch in your cmos setup... Other than that - consult your motherboard manual... there may be a jumper to change somewhere. And, of course, you can set a script to catch your syslog for the (kbd/mouse-less) session so when you reaccess with the keyboard you can see what happened. |
I have an evtouch screen working for my receptionist panel. You need to alter the 'eventX' device name when you don't have other input devices attached. It has decremented to something like 2 or 1.
Also, if you can't get X to start without keyboard, due to no core keyboard, use the "void" driver (versus kbd or keyboard). I have no problem with my particular ITX board starting without a keyboard, but I did experience exactly your issue when my eventX decremented after mouse was removed. Section "InputDevice" Identifier "void" Driver "void" Option "CoreKeyboard" EndSection Section "ServerLayout" ... InputDevice "void" InputDevice "touchscreen" EndSection |
Hi xkev!
Thanks for your promising tip. I was about to gave up the configuration and just hide the keyboard somewhere. Going to try this soon as posible. xxfunkxx |
All times are GMT -5. The time now is 05:40 PM. |