Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm new to FreeBSD 9.1 and I wanted to install a desktop GUI environment. I first tried Gnome 2 since I am familiar with it. I appended the following lines to the /etc/rc.conf file:

hald_enable="YES"
dbus_enable="YES"
gnome_enable="YES"
gdm_enable="YES"

When typing startx for the first time, my mouse, keyboard and everything else worked fine. However, after restarting my PC, the mouse didn't work anymore. Keyboard worked fine. I searched around for solutions and people said that adding the following line to the /etc/rc.conf file

mouse_enable="YES"

or

moused_enable="YES"

worked for them. However, this didn't work for me. I then tried switching to Fluxbox just to check if that works. I appended the following lines to the /etc/rc.conf file:

hald_enable="YES"
dbus_enable="YES"

Again, when typing startx for the first time, my mouse and keyboard worked fine. However, after restarting my PC again the mouse worked just before starting X (in text mode). However, after starting X it doesn't work at all. Keyboard works fine.

Does anyone have an idea what might be causing this kind of behavior and how to fix it?

share|improve this question
    
Did you restart after editing rc.conf? –  schaiba Mar 9 '13 at 16:07
    
@schaiba yes, I restarted... several times –  Benny Mar 9 '13 at 16:09

1 Answer 1

I just "figured" this out, but more investigation would indeed lead to a real fix. When you come out of X, restart your hald service.

This cleared it up for me.

-jgh

share|improve this answer
1  
Welcome to Unix & Linux Stack Exchange! Please don't add "thanks" as answers. Invest some time in the site and you will gain sufficient privileges to upvote answers you like, which is the Unix & Linux Stack Exchange way of saying thank you. –  slm Aug 16 '13 at 20:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.