LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2017, 12:04 PM   #1
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Rep: Reputation: Disabled
Logitech mouse scroll doesn't work on debian 8 in virtualbox


Hi folks,
I am a new Debian user, a . I am also a new member of the forum.
I have experienced a problem with my wireless mouse (Logitech M185) on my Dedian 8, installed in a Virtual Machine (Virtual box).
When I try to scroll down in a page (browser or editors...), if I do this quickly, the bar goes up even if I want it down! It's a strange problem. If I move the mouse wheel slowly, it seems to work well.
Can you help me, please? Have you a solution for me?
Thanks in advance to all and sorry if I am in the wrong section (I hope no).

Last edited by michele_deb; 02-27-2017 at 01:38 PM.
 
Old 02-27-2017, 03:01 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
Hello and welcome to LQ, michele_deb.

Wonder if it is something like when the wheel drops down to a "click" that changes actions? I have a mouse that the wheel has two features. One is the wheel part and the other is the ability to drop down and click.

Sounds like you are off to a pretty good start if that is all that is wrong. Guess it could be an oddity of how the vm picked up the virtual mouse. Could be timing issue. Could be how the mouse is located on screen as to page down or side scroll deal.

Others may have a better solution.
 
1 members found this post helpful.
Old 02-27-2017, 03:55 PM   #3
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Hello and welcome to LQ, michele_deb.

Wonder if it is something like when the wheel drops down to a "click" that changes actions? I have a mouse that the wheel has two features. One is the wheel part and the other is the ability to drop down and click.

Sounds like you are off to a pretty good start if that is all that is wrong. Guess it could be an oddity of how the vm picked up the virtual mouse. Could be timing issue. Could be how the mouse is located on screen as to page down or side scroll deal.

Others may have a better solution.
Thanks!Well, I get the problem just scrolling up and down the wheel.If I click on the wheel and it drops down, the mouse works regularly, the "circle" appears to move up and down the page.I agree with you regarding the fact that the issue could be related to how the VM picked up the virtual mouse, but I don't have any idea how to fix it. I tried diefferents mouse also, but I got always the same problem.

Last edited by michele_deb; 02-27-2017 at 04:09 PM.
 
Old 02-27-2017, 04:20 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
One report of similar problem. http://superuser.com/questions/93876...x-ubuntu-guest
 
Old 02-27-2017, 05:00 PM   #5
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
In the link you sent me, they suggest to eject guestaddition.iso and than insert it again...so, I am not sure to have guestaddition installed in my debian guest, in anay case, how can I install it on debian OS guest? (I am on Windows 10)and try to see if it solve the problem?
 
Old 02-27-2017, 09:34 PM   #6
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
Quote:
Originally Posted by michele_deb View Post
In the link you sent me, they suggest to eject guestaddition.iso and than insert it again...so, I am not sure to have guestaddition installed in my debian guest, in anay case, how can I install it on debian OS guest? (I am on Windows 10)and try to see if it solve the problem?
Before you even start, be sure you have the correct kernel-headers installed as well as "make" and "gcc".

In your debian guest, go to the "user interface" bar (or whatever it's called) and select "devices" and go down to "insert Guest Addisions CD image" that should put it on your desktop.

Open that up and find "VBoxLinuxAdditions.run". Now open a terminal in that folder (or 'cd" into it) and type "sudo sh VBoxLinuxAdditions.run", That will install it. Depending on if "sudo" doesn't work, first type "su" and hit enter and type your password, then type "sh VBoxLinuxAdditions.run"

I don't know why that one person ejected the GuestAdditions then re-inserted it. Once you have installed it you never have a need for it again.
 
2 members found this post helpful.
Old 02-28-2017, 06:38 AM   #7
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DVOM View Post
Before you even start, be sure you have the correct kernel-headers installed as well as "make" and "gcc".

In your debian guest, go to the "user interface" bar (or whatever it's called) and select "devices" and go down to "insert Guest Addisions CD image" that should put it on your desktop.

Open that up and find "VBoxLinuxAdditions.run". Now open a terminal in that folder (or 'cd" into it) and type "sudo sh VBoxLinuxAdditions.run", That will install it. Depending on if "sudo" doesn't work, first type "su" and hit enter and type your password, then type "sh VBoxLinuxAdditions.run"

I don't know why that one person ejected the GuestAdditions then re-inserted it. Once you have installed it you never have a need for it again.
Ok, I'll try it!
 
Old 02-28-2017, 11:21 AM   #8
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DVOM View Post
Before you even start, be sure you have the correct kernel-headers installed as well as "make" and "gcc".

In your debian guest, go to the "user interface" bar (or whatever it's called) and select "devices" and go down to "insert Guest Addisions CD image" that should put it on your desktop.

Open that up and find "VBoxLinuxAdditions.run". Now open a terminal in that folder (or 'cd" into it) and type "sudo sh VBoxLinuxAdditions.run", That will install it. Depending on if "sudo" doesn't work, first type "su" and hit enter and type your password, then type "sh VBoxLinuxAdditions.run"

I don't know why that one person ejected the GuestAdditions then re-inserted it. Once you have installed it you never have a need for it again.
DVOM, kernel headers and gcc are OK!
After that, I tried and I got two errors:

1) I got an error when I try to "insert" the guestaddition iso in "devices":could not mount the media/drive vboxguestadditions.iso (just a little bit different because I am on windows!) Nevertheless I am able to see the guestaddition in media folder on Debian guest OS.It is strange I know.

2) I moved to media and started a terminal where is the file VBoxLinuxAdditions.run. I have typed the command you wrote to me and I got the following: sh: 0: Can't open VBoxLinuxAdditions.run

What's happened? Should be a problem of permission? (but I open the terminal as root!)

Last edited by michele_deb; 02-28-2017 at 11:42 AM.
 
Old 02-28-2017, 12:00 PM   #9
michele_deb
Member
 
Registered: Feb 2017
Location: Naples (Italy)
Distribution: Ubuntu 16.04 LTS
Posts: 85

Original Poster
Rep: Reputation: Disabled
Dear friends, I solved the problem!!! I was able to run VBoxLInuxAdditions.run file and guest addittions were installed correctly. Now the mouse scrolling works perfectly and also the OS seems to be more "reactive". Basically the installation of guestaddittions is extremely important.
To run the file above, I have typed the following:

cd /media
mkdir vbox
sudo mount /dev/sr0 vbox/
cd vbox/


Thanks to all!
 
1 members found this post helpful.
Old 02-28-2017, 09:07 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
Great! Glad you fixed it and reported the solution.

Yes, when possible, guest additions (or similar names on other VM's) do generally do what you say. The speed gets faster, better integration.

I did have a Windows 10 client the other day on a linux host that just would not run with guest additions but that may be the first time in a long while it didn't work better.
 
  


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
[SOLVED] logitech mouse debian linux 8.2 How can I configure scroll wheel 1redto Linux - Hardware 9 01-16-2016 03:39 AM
Mouse Logitech MX310, the Button near scroll does not work ( Paste ) - Slackware 13 cstrieder Slackware 7 11-22-2009 12:40 AM
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
My mouse's scroll doesn't work ruzvay Linux - Hardware 1 05-25-2004 02:14 PM
Scroll feature in Logitech Scroll mouse does not work ssmaitra Linux - Hardware 6 11-11-2003 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration