Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: cannot use mouse or keybord on x11vnc

  1. #21
    Join Date
    May 2007
    Beans
    46

    Re: cannot use mouse or keybord on x11vnc

    Sorry, but if I use the -dp option which I just did again i'll get a blank ubuntu screen and the system doesn't work anymore. So I have to do an new installation again. I could't fix this.

    That's what I did in both files:
    /usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900 -xrandr -dp

  2. #22
    Join Date
    Dec 2006
    Beans
    810

    Re: cannot use mouse or keybord on x11vnc

    Quote Originally Posted by irvin View Post
    Sorry, but if I use the -dp option which I just did again i'll get a blank ubuntu screen and the system doesn't work anymore. So I have to do an new installation again. I could't fix this.

    That's what I did in both files:
    /usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900 -xrandr -dp
    Earlier I believe I suggested this:
    Code:
    /usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -rfbport 5900 -xrandr -dp &

  3. #23
    Join Date
    May 2007
    Beans
    46

    Re: cannot use mouse or keybord on x11vnc

    Hi

    OK, was my mistake
    Now I did it with the "-dp &" an get a result. I did the option in both config files. Hope this helps.
    Attached Files Attached Files

  4. #24
    Join Date
    Dec 2006
    Beans
    810

    Re: cannot use mouse or keybord on x11vnc

    Now I did it with the "-dp &" an get a result. I did the option in both config files. Hope this helps.
    OK, looking at the log I see you pressing button 3 (the right mouse button), for example:
    Code:
    07/10/2009 08:37:17 pointer(): mask change: mask: 0x0 -> 0x4 button: 3
    07/10/2009 08:37:17 pointer(): sending button 3 down (event 1)
    07/10/2009 08:37:17 calling XTestFakeButtonEvent(3, 1)  300.5550
    07/10/2009 08:37:17 # pointer(mask: 0x0, x: 805, y: 678) dx:   0 dy:   0 dt: 0.0662 t: 300.6198
    07/10/2009 08:37:17 pointer(): mask change: mask: 0x4 -> 0x0 button: 3
    07/10/2009 08:37:17 pointer(): sending button 3 up (event 1)
    07/10/2009 08:37:17 calling XTestFakeButtonEvent(3, 0)  300.6199
    07/10/2009 08:37:17 # pointer(mask: 0x0, x: 805, y: 677) dx:   0 dy:  -1 dt: 0.1487 t: 300.7685
    07/10/2009 08:37:17 XQueryPointer:     x: 805, y: 677)
    07/10/2009 08:37:17 # pointer(mask: 0x4, x: 805, y: 677) dx:   0 dy:   0 dt: 0.1030 t: 300.8715
    So x11vnc injected this button 3 click into the X server. Did the click not appear on the desktop?

  5. #25
    Join Date
    May 2007
    Beans
    46

    Re: cannot use mouse or keybord on x11vnc

    No, nothing happens when I press the right Mouse Button.

    Maybe, I'm not sure, it has something to do with the Virtualbox guest additions ? But as I said, in the "old" Ubuntu's everything works. Only in the newer 8.10, 9.04 and 9.10 it isn't working. Sometimes from beginning, sometimes after a few minutes, hours, days ...

  6. #26
    Join Date
    Dec 2006
    Beans
    810

    Re: cannot use mouse or keybord on x11vnc

    Quote Originally Posted by irvin View Post
    No, nothing happens when I press the right Mouse Button.
    So for the most recent '-dp' log you posted, the right mouse button was not working at all (i.e. causing no effects on the desktop) for all of those clicks?
    Maybe, I'm not sure, it has something to do with the Virtualbox guest additions?
    Could be. I also wonder about an accessibility daemon trapping things somehow...

  7. #27
    Join Date
    May 2007
    Beans
    46

    Re: cannot use mouse or keybord on x11vnc

    Quote Originally Posted by krunge View Post
    So for the most recent '-dp' log you posted, the right mouse button was not working at all (i.e. causing no effects on the desktop) for all of those clicks?

    Could be. I also wonder about an accessibility daemon trapping things somehow...
    Yes, all the clicks with the right mouse button had absolutely no effect. I tried a lot

    I'll make a test without the guest additions, but I think I had trouble before without them too.

  8. #28
    Join Date
    Dec 2006
    Beans
    810

    Re: cannot use mouse or keybord on x11vnc

    Quote Originally Posted by irvin View Post
    Yes, all the clicks with the right mouse button had absolutely no effect. I tried a lot
    Yes, as the log shows x11vnc did its job by calling XTestFakeButtonEvent() for the right button (i.e. button 3). So the problem seems to be downstream of that.

    A couple thoughts:

    Try all of this in a failsafe session (i.e. no gnome, kde, etc.) Also try it in a simpler window manager (e.g. blackblox or xfce.) Trying to narrow it down to which desktop.

    Try running xev(1) and putting the mouse in its window and clicking. It prints out all events received. See if it is receiving the button3 clicks or not. You should also use xev in the failsafe test too.

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

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