LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   disabling X and keyboard/mouse (https://www.linuxquestions.org/questions/linux-newbie-8/disabling-x-and-keyboard-mouse-348333/)

Joe2003 07-30-2005 10:15 AM

disabling X and keyboard/mouse
 
HI

Were tring to set up a server, when I disconnect the mouse or keyboard an error occurs on startup, is there away to enable the computer so it doesnt require a keyboard and mouse on startup??

Also, it automatically opens up in X windows, can this be disabled to????

thanks
joe

Matir 07-30-2005 10:36 AM

If the keyboard/mouse problem occurs before linux is booting (most likely) then you'll need to check with your BIOS vendor on that. On at least one of my headless machines I have to leave a keyboard connected to get it to boot.

Depending on your distribution, X can be disabled by changing the startup scripts or default runlevel. What distro do you have?

Electro 07-30-2005 06:15 PM

The BIOS should have an option called "Halt On" or something similar to that. You can change to All Except Keyboard. I have seen this on Award and Pheonix BIOS.

Edit /etc/inittab. Look for default level. Level 3 should be a good level for a server. Usually level 5 or 4 is the GUI. You can use chkconfig (Redhat based distributions using System V init scripts) or env-update (Gentoo) to list, turn on, or turn off services for certain runlevels.

Joe2003 07-31-2005 04:02 AM

Thanks

im using core 1, ive managed to disable X, the mouse and keyboard. The next problem is if I leave it on, (but not in X) it goes to sleep after about 30mins of running and needs mouse/keyboard input to awaken it, is there away to sort this??

Matir 07-31-2005 12:25 PM

Most likely this is an ACPI function, so look and see if anything is defined in /etc/acpi.d/


All times are GMT -5. The time now is 06:31 PM.