LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-10-2010, 11:59 PM   #1
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware
Posts: 155

Rep: Reputation: 22
SalixOS: I disabled some services so no mouse with gpm plus no keyboard after startx?


I thought this would be the right place to post since salix is Slackware based.

Ok so I've installed SalixOS LXDE and thought it was the best thing but... After I disabled almost all services except syslog, dbus, and hald while inside lxde desktop. I rebooted and my mouse and keyboard no longer worked. So then I booted my Slackware install and edited /etc/inittab on the salix partition so I could boot into init 3 (I kinda like init 3 more than 4 anyway). Booted back into salix and keyboard seems to work but gpm doesn't... Gpm can't find any mouse so I do an lsmod and there's only about 4 modules loaded? Crap... So I dig around /etc/rc.d folder and I think it's got to do with me disabling the udev services when everything was fine after a fresh install...

I ran the init script for udev but it does nothing... I also ran pkgtool and went to setup, selected services and hit enter but it jumps back to the main menu?! I don't know if that's a glitch or what but it won't even let me pick the services with pkgtool...

So what can I do to change everything back to their default value? I only booted once into my new salix install, changed services, rebooted, and then problems...

I really loved the way everything was working on my first boot. Salix is one of those distro's that really gave me a happy feeling with linux so I'd really hate to stop using it over this one wrong thing I did...

So is there an easy way to change everything back to defaults?
 
Old 10-11-2010, 01:10 AM   #2
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware 12.1, slackware64-current
Posts: 252

Rep: Reputation: 43
Check that files in /etc/rc.d have executable bit set (set with "chmod +x FILENAME"). I guess disabling services in salix means simply making rc.* files unexecutable. You can use Tab-key autocompletion in bash to make typing easier. Or use mc to manage files and file permissions (F9 activates upper menu).

You can reinstall packages using slapt-get in command line.

Last edited by veeall; 10-11-2010 at 01:13 AM.
 
1 members found this post helpful.
Old 10-11-2010, 02:25 AM   #3
gapan
Member
 
Registered: Feb 2007
Posts: 343

Rep: Reputation: 105Reputation: 105
You shouldn't have disabled udev. Of course devices won't work after that. As veeall noted, you can reenable it by running:
Code:
chmod +x /etc/rc.d/rc.udev
and then reboot.

In salix there are other alternatives to do the same too, you can run:
Code:
service start udev
or run
Code:
servicesetup
and you can reconfigure all services using the menus.

Last edited by gapan; 10-11-2010 at 02:28 AM.
 
1 members found this post helpful.
Old 10-11-2010, 02:56 AM   #4
Holering
Member
 
Registered: Feb 2010
Distribution: Slackware
Posts: 155

Original Poster
Rep: Reputation: 22
What's weird is that udev appeared to be starting up on every boot afterward but then again it was probly just an echo hiding what was really going on.

Yeah I thought I shouldn't have disabled that. I tried reinstalling from the livecd using load to ram. After setup partitioned the disk it hung at creating /etc/fstab...

So I'm gonna reinstall it later without load to ram. Then I'm gonna do the same thing I did to screw it up. Then I'm gonna try your solution. LOL

Don't worry I'm just doing it so I know how to fix it and I'm sure what you guys posted will fix it.

Oh and just so you know I'm running on 1gb of ram.

Last edited by Holering; 10-11-2010 at 02:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard and mouse don't work after startx kahlil88 Linux - Hardware 1 03-12-2009 06:45 PM
GPM mouse server fails on boot startup and disables keyboard!! linuxgeek01 Linux - General 1 10-30-2006 09:51 AM
gpm won't let my mouse/keyboard work in slackware kryptobs2000 Linux - Software 7 05-21-2006 10:40 AM
No keyboard/mouse after startx Scruff Linux - Hardware 1 06-06-2004 09:55 PM
loose Keyboard and mouse after startx Bishop942 Linux - Hardware 4 05-29-2003 04:44 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration