Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: tightvnc Keyboard Oddity

  1. #1
    Join Date
    Dec 2008
    Location
    Orange County, CA
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    tightvnc Keyboard Oddity

    Issue
    When accessing the server from any client, the 'd' key minimizes the current window on the server (not the VNC client itself). Every other key seems to work fine and I can use the key combo <ALT>-d to issue a 'd', but that is less than convenient. Anyone know how to solve this?

    I saw this post http://ubuntuforums.org/showthread.php?p=2539412 which said to use gconf-editor to set a keyboard layout, but that didn't fix the problem.

    Server Environment
    Ubuntu 10.10 (upgraded from 10.04)
    32-bit
    tightvnc server


    Client 1
    Windows 7
    64-bit
    tightvncviewer

    Client 2
    Windows 7
    64-bit
    realvncviewer

    Client 3
    Ubuntu 10.10
    32-bit
    Vinagre

    Client 4
    Ubuntu 10.10
    32-bit
    tsclient (uses tightvncviewer)

  2. #2
    Join Date
    Oct 2010
    Location
    Ontario, Canada
    Beans
    124
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: tightvnc Keyboard Oddity

    Hmm, an interesting problem.

    Now, I know this is going to sound silly, but .. I'm going to suggest it anyway.

    If you are at the server console with no VNC client connected, and you press "d", does it minimize the current window? Also, try having a client connected to VNC first, and then press "d" on the server (not at the client). What is the result? Also, is it at all possible that you have accidentally defined a hotkey "d" on the server set to minimize a window? Silly, I know, but hey, sometimes a fresh perspective... you know.

    I would also, just for giggles, check the keyboard layout settings on both sides, see if there is anything strange set there. I only suggest this because recently I have seen a couple of keyboards set to the wrong locale, and it causes some interesting little quirks.

    Just my 2 cents.

    I have used VNC extensively, and I have not really seen this kind of problem, so it certainly does interest me to know the outcome. Let me know the results.
    "I am your father's brother's nephew's cousin's former roommate."

  3. #3
    Join Date
    Nov 2010
    Beans
    1

    Re: tightvnc Keyboard Oddity

    I'm experiencing the same issue.

    Server Environment
    vanilla clean Ubuntu 10.10 32-bit
    tightvnc server

    Client
    Windows 7 64-bit
    tightvncviewer

    my .vnc\xstartup looks like this:

    #!/bin/sh

    xrdb $HOME/.Xresources
    xsetroot -solid black
    export XKL_XMODMAP_DISABLE=1
    gnome-session &

  4. #4
    Join Date
    Dec 2008
    Location
    Orange County, CA
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: tightvnc Keyboard Oddity

    Chris,

    Thanks for the reply. I checked the suggested and cannot seem to find anything. The UI works correctly on the machine itself ('d' doesn't minimize windows). It wouldn't be the first time I missed something obvious, so I did make sure the computer is plugged in, just in case.

  5. #5
    Join Date
    Nov 2010
    Beans
    1

    Re: tightvnc Keyboard Oddity

    I encountered the exact same problem today. You can fix it in System->Preferences->Keyboard Shortcuts.

    Under Window Management look for "Hide all normal windows and set focus to the desktop". For some reason it was set to "D". I changed it to Alt+D to invert the behavior.

    The setting persisted after I stopped and restarted tightvncserver. No idea how. Not sure what this will do when I head back in to work and log in from the console!

  6. #6
    Join Date
    Jan 2010
    Beans
    2

    Re: tightvnc Keyboard Oddity

    Thank you! I was having the same problem, and had the same mysterious mapping of "D" to "Hide all windows ...".

    At first I tried to change this from "D" to undefined -- I don't need that mapped to a keyboard command at all -- but that didn't clear up the problem. I was doing my editing via a VNC session. So, I tried entering Alt-D. I got a message informing me that I couldn't map this action to "D" because it would make it "impossible to type."

    So, Alt by itself, or perhaps Alt-D specifically, isn't getting through somewhere, and maybe that's a clue to how we wound up with D in that setting to begin with. (I've gone with Ctrl-Alt-D, which did come through as expected.)

  7. #7
    Join Date
    Jan 2009
    Beans
    24
    Distro
    Ubuntu

    Re: tightvnc Keyboard Oddity

    I had this issue as well with a xrdp/vnc session, no idea how it happened....

    The only think that solved it was to follow the directions in http://linuxfud.wordpress.com/2007/0...re-installing/

    Basically just logout, get to a terminal or ssh session, then run

    Code:
    rm -rf .gnome .gnome2 .gconf .gconfd .metacity
    You will have to reset any gnome/nautilus settings, but at least it's back for now...

    Cheers.

    Edit:
    I'm not sure what I was smokin when I wrote the above and I don't think it will fix the "D" issue. Here's what I did, all is well so far: Goto System-> Preferences-> Keyboard Shortcuts. Scroll down to "Hide all normal windows and set focus to the desktop" was set to "D". Just highlight the "D" and hit backspace to set it to Disabled or another combo if you like. It took a couple logout/logins via rdp to get the shortcut to work. You may also need to restart X. Good luck.
    Last edited by AMSlider; December 7th, 2010 at 09:25 PM. Reason: incorrect answer

  8. #8
    Join Date
    Dec 2008
    Location
    Orange County, CA
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: tightvnc Keyboard Oddity

    Thanks. I'll give this a try when I get back to the system.

    *** Update - Yep that worked perfectly.
    Last edited by schlameel; January 5th, 2011 at 07:52 PM.

  9. #9
    Join Date
    Dec 2006
    Beans
    5
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: tightvnc Keyboard Oddity


  10. #10
    Join Date
    Dec 2008
    Location
    Orange County, CA
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: tightvnc Keyboard Oddity

    Thanks ecadman. I think that is the same solution as AMSlider's updated note. They worked for me, though I have many complaints about my setup: windows randomly close, sometimes I don't get the gksudo (and similar) dialogs, the <ALT> key simply isn't passed. Thankfully I have a screen on the remote server and can get up and walk the 8 feet to get a working session.

Page 1 of 2 12 LastLast

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
  •