| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-20-2005, 03:18 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2004
Location: Vienna
Distribution: Debian Sid
Posts: 26
Rep:
|
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
|
|
|
|
08-20-2005, 04:25 AM
|
#2
|
|
Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,209
Rep: 
|
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.
|
|
|
|
08-24-2005, 04:41 AM
|
#3
|
|
LQ Newbie
Registered: Jul 2004
Location: Vienna
Distribution: Debian Sid
Posts: 26
Original Poster
Rep:
|
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
|
|
|
|
08-24-2005, 05:33 AM
|
#4
|
|
Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,209
Rep: 
|
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.
|
|
|
|
08-24-2005, 05:53 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2005
Location: Scotland
Distribution: Ubuntu
Posts: 29
Rep:
|
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.
|
|
|
|
08-25-2005, 06:43 AM
|
#6
|
|
LQ Newbie
Registered: Jul 2004
Location: Vienna
Distribution: Debian Sid
Posts: 26
Original Poster
Rep:
|
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:
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbOptions" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Intel Corporation 82865G Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
EndSection
Section "InputDevice"
Identifier "Touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event3"
Option "DeviceName" "touchscreen"
Option "MinX" "2778"
Option "MinY" "2386"
Option "MaxX" "14100"#"13910"
Option "MaxY" "13488"
Option "DragTimer" "200"
Option "MoveLimit" "600"
Option "ReportingMode" "Raw"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
# InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
InputDevice "Touchscreen"
EndSection
Section "DRI"
Mode 0666
EndSection
|
output of Xorg log file:
Quote:
$ less /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) xf86OpenSerial: Cannot open device /dev/input/event3
(EE) PreInit failed for input device ""
|
output of .xsession-errors
Quote:
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "jimi"
/etc/gdm/Xsession: Beginning session setup...
/usr/bin/startxfce4: X server already running on display :0
Agent pid 8522
|
|
|
|
|
08-25-2005, 07:19 AM
|
#7
|
|
LQ Newbie
Registered: Aug 2005
Location: Scotland
Distribution: Ubuntu
Posts: 29
Rep:
|
Yes you have commented out the input devices in your layout, but the actual sections are still there. Coment them out too.
|
|
|
|
08-25-2005, 07:23 AM
|
#8
|
|
LQ Newbie
Registered: Jul 2004
Location: Vienna
Distribution: Debian Sid
Posts: 26
Original Poster
Rep:
|
i forget one thing to mention.
X and gdm keep on running, so the autologin from gdm is running i think
xxfunkxx
Last edited by xxfunkxx; 08-25-2005 at 07:28 AM.
|
|
|
|
08-25-2005, 10:21 AM
|
#9
|
|
LQ Newbie
Registered: Jul 2004
Location: Vienna
Distribution: Debian Sid
Posts: 26
Original Poster
Rep:
|
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
|
|
|
|
08-25-2005, 07:20 PM
|
#10
|
|
Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,209
Rep: 
|
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.
|
|
|
|
09-15-2005, 04:22 PM
|
#11
|
|
LQ Newbie
Registered: Sep 2005
Posts: 1
Rep:
|
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
|
|
|
|
09-23-2005, 07:01 AM
|
#12
|
|
LQ Newbie
Registered: Jul 2004
Location: Vienna
Distribution: Debian Sid
Posts: 26
Original Poster
Rep:
|
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
Last edited by xxfunkxx; 09-27-2005 at 08:44 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:12 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|