Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hi All I have just installed Slack 10.1 from downloaded CD's having been trying various distro's for the last year or so. Slackware seems to offer what I am looking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132

    One or Two Problemettes !


    Hi All

    I have just installed Slack 10.1 from downloaded CD's having been trying various distro's for the last year or so. Slackware seems to offer what I am looking for but I will confess to being a little daunted by the absence of a ystem such as YAST, which I had in Suse. Thats okay though as I have picked Salck because I want to learn more about the way things happen in Linux.

    I am running the 2.4.29 kernel with Xfce as a gui.

    Anyway, onto the problems....

    Firstly, I have created a user account:

    Code:
    useradd bubo
    passwd xxxxxxxx
    and so on. I have the system set up to boot to the command line so use "startx" to launch the gui. It works fine in the root account, but when I try as a normal user I get this...

    Code:
    Xauth: timeout in locking authority file //.Xauthority
    I assume it is a permissions problems of some sort but I can't for the life of me find where to rectify this.

    Secondly, I have three button MS mouse (usb to a ps/2 adapter to a kvm switch) but the scroll wheel/centre button does not work. I have tried to look in /dev/mouse but the file appears empty. I am not sure that is the right place to look though.

    Finally, I have no sound. I have a Abit mobo with onboard sound which used the "via82xx" module in Suse but I am getting nothing at all in slack. A clip of my lsmod is posted below for info...

    Code:
    root@ccu-linux:~# lsmod
    Module                  Size  Used by    Tainted: P
    snd-pcm-oss            36704   0  (unused)
    snd-mixer-oss          12152   2  [snd-pcm-oss]
    8139too                13928   0  (unused)
    ohci1394               23888   0  (unused)
    ieee1394               41636   0  [ohci1394]
    uhci                   24284   0  (unused)
    ehci-hcd               17516   0  (unused)
    usbcore                58860   1  [uhci ehci-hcd]
    snd-via82xx            12928   2
    gameport                1420   0  [snd-via82xx]
    snd-ac97-codec         52472   0  [snd-via82xx]
    snd-pcm                54504   0  [snd-pcm-oss snd-via82xx snd-ac97-codec]
    snd-timer              13412   0  [snd-pcm]
    snd-mpu401-uart         3200   0  [snd-via82xx]
    snd-rawmidi            12320   0  [snd-mpu401-uart]
    snd-seq-device          3812   0  [snd-rawmidi]
    snd                    31268   0  [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
    snd-page-alloc          4712   0  [snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
    soundcore               3396   4  [snd]
    via-rhine              12368   1
    mii                     2272   0  [8139too via-rhine]
    crc32                   2880   0  [8139too via-rhine]
    nvidia               3643836   6
    ide-scsi                9392   0
    agpgart                45092   3
    Any help with these problems would be greatly appreciated.

    Regards

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496

    Re: One or Two Problemettes !

    Quote Originally Posted by Bubo
    Secondly, I have three button MS mouse (usb to a ps/2 adapter to a kvm switch) but the scroll wheel/centre button does not work. I have tried to look in /dev/mouse but the file appears empty. I am not sure that is the right place to look though.
    Look instead at your /etc/X11/xorg.conf or your /etc/X11/XF86Config-4 (your distro will have one or the other). There's a section about halfway down that has your mouse settings. It will look sort of (but not exactly) like this:

    Code:
    Section "Pointer"
        Protocol    "PS/2"
        Device      "/dev/psaux"
    EndSection
    Add a line just before the "EndSection" tag that says Option "ZAxis Mapping" "4 5". In the end you should have something like this:

    Code:
    Section "Pointer"
        Protocol    "PS/2"
        Device      "/dev/psaux"
        Option      "ZAxis Mapping" "4 5"
    EndSection
    That should get your scroll wheel going.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    2

    Your home directory

    If you have upgraded your system from SuSE or any other distro and have your /home on a separate partition, it is likely that the permissions for your home directory are wrong. You can check that by doing ls -la /home/bubo

    If you find a numeric value instead of your username - correct the mistake by doing

    #chown -R bubo.users /home/bubo (need to use your ROOT account)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Location
    Republic Banana
    Posts
    562
    adduser is a nice script to add users and takes care of what's needed so this error won't happen.

    In your xorg.conf you could also change the protocol to "IMPS/2" instead of PS/2 if it doesn't work after adding the ZAxisMapping line.

  6. #5
    Linux Newbie
    Join Date
    Apr 2005
    Location
    NJ, USA
    Posts
    104

    Sound

    I also have a Abit mobo with a VIA VT8237 chipset....The way I got sound running was by running
    Code:
    alsaconf
    under root. Did you do this?????

    NOTE: In response to "techiemoe" I had to change my mouse type to
    Code:
    Protocol     "IMPS/2"
    . However
    Code:
    PS/2
    may work as well.
    My New years Resolution is 1280x1024

  7. #6
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132
    Thanks for the help guys.

    I now have the sound and GUI with the standard user account working okay, so thats all good.

    I have tried both suggestions regarding my mouse scroll wheel though and neither seem to work. I am more than a bit confused when I look in the X11 folder as I seem to have four (4) xorg.conf files as below:

    Code:
    -rw-r--r--   1 root root 15145 2005-05-31 15:27 xorg.conf
    -rw-r--r--   1 root root 17107 2004-09-18 23:54 xorg.conf-fbdev
    -rw-r--r--   1 root root 15865 2004-09-18 23:54 xorg.conf-vesa
    -rw-r--r--   1 root root 15867 2005-05-31 15:11 xorg.conf~
    Most of them seem to contain a lot of entries that I don't necessarily need, and which I can't get my head round. An example from xorg.conf below:

    Code:
    # **********************************************************************
    # Core Pointer's InputDevice section
    # **********************************************************************
    
    Section "InputDevice"
    
    # Identifier and driver
    
        Identifier "Mouse1"
        Driver "mouse"
    
    # The available mouse protocols types that you can set below are:
    #    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
    #    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
    #    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
    #    ThinkingMouse ThinkingMousePS/2 Xqueue
        Option "Protocol"    "PS/2"
    
    # The mouse device.  The device is normally set to /dev/mouse,
    # which is usually a symbolic link to the real device.
    
    #   Option "Device"      "/dev/mouse"
        Option "Device"      "/dev/psaux"
    #   Option "Device"      "/dev/ttyS0"
    #   Option "Device"      "/dev/ttyS1"
        Option "ZAxis Mapping" "4 5"
    EndSection
    
    # Some examples of extended input devices
    As you can see, I have tried to edit it to inlcude the suggestions made (IMPS/2 did not work either) but still no scroll wheel.

    Is there anything else I can try ?

    Cheers

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  8. #7
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    OK.. Here's the relevant sections from my xorg.conf file using VectorLinux (Slackware 10.1 based). I use a plain ol' MS Wheel Mouse with two buttons. I should probably add that I'm using kernel 2.6.11.2.

    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection

    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Device" "/dev/mouse"

    # On platforms where PnP mouse detection is supported the following
    # protocol setting can be used when using auto.
    # Otherwise set it manually to:
    # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
    # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
    # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
    # ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol" "IMPS/2" ## MOUSE_PROTOCOL

    # Baudrate and SampleRate are only for some Logitech mice. In
    # almost every case these lines should be omitted.
    # Option "BaudRate" "9600"
    # Option "SampleRate" "150"
    # ChordMiddle is an option for some 3-button Logitech mice
    # Option "ChordMiddle"

    # Emulate3Buttons is an option for 2-button Microsoft mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
    # Option "Emulate3Buttons" ## MOUSE_E3BUTTONS
    # Option "Emulate3Timeout" "50"

    # Settings for newer IMPS/2 mouse (with wheel)
    Option "ZAxisMapping" "4 5" ## MOUSE_ZAXISMAPPING
    Option "Buttons" "5" ## MOUSE_BUTTONS
    Option "SendCoreEvents" ## MOUSE_SENDCOREEVENTS

    EndSection
    Registered Linux user #384279
    Vector Linux SOHO 7

  9. #8
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    Quote Originally Posted by Bubo
    Thanks for the help guys.

    I have tried both suggestions regarding my mouse scroll wheel though and neither seem to work. I am more than a bit confused when I look in the X11 folder as I seem to have four (4) xorg.conf files as below:

    Most of them seem to contain a lot of entries that I don't necessarily need, and which I can't get my head round. An example from xorg.conf below:

    Code:
    #   Option "Device"      "/dev/mouse"
    Why is your Option for /dev/mouse commented out?
    Registered Linux user #384279
    Vector Linux SOHO 7

  10. #9
    Linux Newbie
    Join Date
    Aug 2004
    Location
    Malvern, UK
    Posts
    132
    Thanks retired1af

    I changed my mouse identifier from 1 to 0 and the scroll wheel started working following a reboot. Don't know why it got set to 1 on install though?

    Anyhow, is it usual to have all those xorg.conf files? Can I remove the other, or is it best to leave well alone?

    Regards

    Bubo
    My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing !

    Registered Linux User: #417183

  11. #10
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    Yeah, it's standard. Leave 'em alone. They'll be used for other boot options if you use them. (Like init1 init2, etc.)
    Registered Linux user #384279
    Vector Linux SOHO 7

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •