VncViewer, why certain keys stop working?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers VncViewer, why certain keys stop working?
# 1  
Old 03-04-2014
VncViewer, why certain keys stop working?

Hello All,

My question is about VNC'ing to a Linux server on the network.

MY PC: OpenSuSE 11.4 (i586)

Remote Server:
OpenSuSE 12.3 (x86_64)
Code:
### UNAME:
# uname -a
Linux localhost.foo.bar 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux

### Process:
# ps -ef | grep [X]vnc
root     16310     1  0 10:34 ?        00:01:39 Xvnc :2 -desktop X -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1596x958 -depth 24 -rfbwait 120000 -rfbauth /root/.vnc/passwd -rfbport 5902 -fp /usr/share/fonts/misc:unscaled,/usr/share/fonts/local,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Speedo,/usr/share/fonts/truetype,/usr/share/fonts/uni,/usr/share/fonts/CID -noreset

### Command I run to start a Xvnc session:
vncserver :2 -geometry 1596x958

So when I VNC to this server everything runs just fine for a good while. Then, most likely after hitting some kind of key-combo, my backspace stops working (*unless I do 'ctrl+backspace'). And also, trying to switch between windows I suddenly can't just click anywhere within an app that is open to bring that into focus, I have to click the titlebar in order bring up that app again. For example, if gedit is open and I can see it behind a terminal window and I click on the document part of gedit (*i.e. where the words/code is written) it does NOT switch to that window... Unless I click on the 'titlebar' portion of a window.

I know sometimes the Alt, Ctrl and Shift buttons can get stuck in the 'on/pressed' state and you have to click whichever button it was again and it will go back to normal... But when this happens, I cannot seem to fix it without having to kill the Xvnc session and start a new one... Which is a bit of a pain.

EDIT: One other thing I forgot to mention. If I leave the vncviewer session and then re-vnc back into the server, the same issue persists...

Does anyone know if there is some kind of key-combo I may have pressed in order for this to happen..? I tried re-press ctrl/alt/shift, but it didn't change anything.

Any thoughts or suggestions would be much appreciated!

Thanks in Advance,
Matt

Last edited by mrm5102; 03-04-2014 at 04:04 PM..
# 2  
Old 03-11-2014
Bump, bump... Any ideas??

I'm wondering if this could have anything to do with the keyboard configuration on the server?
I see mention of the keyboard in the vnc session's log file down towards the bottom... See below.

This is the log file located at
Code:
/root/.vnc/snort.foo.bar.local:2.log

Code:
# cat /root/.vnc/snort.foo.bar.local:2.log

Xvnc TigerVNC 1.2.80 - built Jan 28 2013 06:41:54
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11300000, The X.Org Foundation

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension VNC-EXTENSION

Tue Mar 11 14:58:10 2014
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5902
 vncext:      Listening for HTTP connections on all interface(s), port 5802
 vncext:      created VNC server for screen 0
[dix] Could not init font path element /usr/share/fonts/local, removing from list!
[dix] Could not init font path element /usr/share/fonts/URW, removing from list!
[dix] Could not init font path element /usr/share/fonts/CID, removing from list!
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources'
gnome-session-is-accelerated: No hardware 3D support.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session[24611]: WARNING: Session 'gnome' runnable check failed: Child process exited with code 1
GNOME_KEYRING_CONTROL=/run/user/0/keyring-imrYVh
SSH_AUTH_SOCK=/run/user/0/keyring-imrYVh/ssh
GNOME_KEYRING_PID=24634
GNOME_KEYRING_CONTROL=/run/user/0/keyring-imrYVh
SSH_AUTH_SOCK=/run/user/0/keyring-imrYVh/ssh
GPG_AGENT_INFO=/run/user/0/keyring-imrYVh/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/0/keyring-imrYVh
SSH_AUTH_SOCK=/run/user/0/keyring-imrYVh/ssh
GPG_AGENT_INFO=/run/user/0/keyring-imrYVh/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/0/keyring-imrYVh
SSH_AUTH_SOCK=/run/user/0/keyring-imrYVh/ssh
GPG_AGENT_INFO=/run/user/0/keyring-imrYVh/gpg:0:1
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).

(gnome-settings-daemon:24639): power-plugin-WARNING **: Failed set DPMS mode: Display is not DPMS capable

(gnome-settings-daemon:24639): color-plugin-WARNING **: There is no colord server available
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Compat map for group 2 redefined
>                   Using new definition
> Warning:          Compat map for group 3 redefined
>                   Using new definition
> Warning:          Compat map for group 4 redefined
>                   Using new definition
Errors from xkbcomp are not fatal to the X server

(gnome-panel:24692): Gtk-CRITICAL **: gtk_accelerator_parse_with_keycode: assertion `accelerator != NULL' failed

** (gnome-panel:24692): WARNING **: Unable to parse mouse modifier '(null)'

Initializing tracker-miner-fs...
Tracker-Message: Setting up monitor for changes to config file:'/root/.config/tracker/tracker-miner-fs.cfg'
Starting log:
  File:'/root/.local/share/tracker/tracker-miner-fs.log'
WARNING 0.000000: oyOptions_s[62]="oyOptions_s" oyranos_cmm_oyX1.c:875 oyX1Configs_Modify() 
  Could not obtain _ICC_PROFILE(_xxx) information for :2.0
WARNING 0.010000: oyOptions_s[77]="oyOptions_s" oyranos_monitor_x11.c:429 oyX1GetMonitorInfo_() found /var/log/Xorg.2.log in ":2.0": AVO 0 1596x958+0+0
WARNING 0.010000: oyOptions_s[77]="oyOptions_s" oyranos_monitor_x11.c:465 oyX1GetMonitorInfo_() 
  no EDID available from X properties:
  "XFree86_DDC_EDID1_RAWDATA"/"EDID_DATA"
  using Xorg log fallback.
WARNING 0.010000: [-1] oyranos_devices.c:1146 oyDeviceProfileFromDB() 
 Could not get a "profile_name" from :2.0
 registration: "---" rank: 0
Initializing nautilus-open-terminal extension
WARNING 0.030000: [-1] oyranos_devices.c:384 oyDeviceSetup() implicitely selected /root/.local/share/color/icc/devices/Display/_xorg.icc
Initializing tracker-store...

(vino-server:24722): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion `global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed

** (gnome-user-share:24717): WARNING **: gnome-user-share cannot be started as root for security reasons.
** Message: The desktop sharing service has been enabled, accept network connections

** (nm-applet:24707): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
** Message: applet now removed from the notification area
Xlib:  extension "XFree86-VidModeExtension" missing on display ":2.0".
Xlib:  extension "XFree86-VidModeExtension" missing on display ":2.0".

(gnome-panel:24692): Gtk-CRITICAL **: gtk_accelerator_parse_with_keycode: assertion `accelerator != NULL' failed

** (gnome-panel:24692): WARNING **: Unable to parse mouse modifier '(null)'


** (nm-applet:24707): WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files
Tracker-Message: Setting up monitor for changes to config file:'/root/.config/tracker/tracker-store.cfg'
Tracker-Message: Setting up monitor for changes to config file:'/root/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/root/.local/share/tracker/tracker-store.log'

(tracker-store:24749): Tracker-CRITICAL **: D-Bus service name:'org.freedesktop.Tracker1' is already taken, perhaps the daemon is already running?
Xlib:  extension "XFree86-VidModeExtension" missing on display ":2".
Error - Unable to query gamma ramp size
Failed to play sound: File or data not found
SHARED_DATA_DIR: /usr/share/glipper
Binding shortcut <Ctrl><Alt>c to popup glipper
Unable to set process name
11/03/2014 02:58:13 PM Autoprobing TCP port in (all) network interface
11/03/2014 02:58:13 PM Listening IPv6://[::]:5900
11/03/2014 02:58:13 PM Listening IPv4://0.0.0.0:5900
11/03/2014 02:58:13 PM Autoprobing selected port 5900
11/03/2014 02:58:13 PM Advertising security type: 'TLS' (18)
11/03/2014 02:58:13 PM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
11/03/2014 02:58:13 PM Listening IPv6://[::]:5900
11/03/2014 02:58:13 PM Listening IPv4://0.0.0.0:5900
11/03/2014 02:58:13 PM Clearing securityTypes
11/03/2014 02:58:13 PM Advertising security type: 'TLS' (18)
11/03/2014 02:58:13 PM Clearing securityTypes
11/03/2014 02:58:13 PM Advertising security type: 'TLS' (18)
11/03/2014 02:58:13 PM Advertising authentication type: 'No Authentication' (1)
11/03/2014 02:58:13 PM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
11/03/2014 02:58:13 PM Listening IPv6://[::]:5900
11/03/2014 02:58:13 PM Listening IPv4://0.0.0.0:5900
11/03/2014 02:58:13 PM Clearing securityTypes
11/03/2014 02:58:13 PM Clearing authTypes
11/03/2014 02:58:13 PM Advertising security type: 'TLS' (18)
11/03/2014 02:58:13 PM Advertising authentication type: 'No Authentication' (1)
11/03/2014 02:58:13 PM Advertising security type: 'No Authentication' (1)

(gnome-panel:24692): GLib-GObject-WARNING **: gsignal.c:2459: signal `size_request' is invalid for instance `0x20dd280'
** Message: applet now embedded in the notification area

(nm-applet:24707): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -23 and height 27
** Message: applet now removed from the notification area

Tue Mar 11 14:58:15 2014
 Connections: accepted: 10.60.114.34::39406
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Tue Mar 11 14:58:18 2014
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Compat map for group 2 redefined
>                   Using new definition
> Warning:          Compat map for group 3 redefined
>                   Using new definition
> Warning:          Compat map for group 4 redefined
>                   Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Compat map for group 2 redefined
>                   Using new definition
> Warning:          Compat map for group 3 redefined
>                   Using new definition
> Warning:          Compat map for group 4 redefined
>                   Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Compat map for group 2 redefined
>                   Using new definition
> Warning:          Compat map for group 3 redefined
>                   Using new definition
> Warning:          Compat map for group 4 redefined
>                   Using new definition
Errors from xkbcomp are not fatal to the X server

(gedit:24914): Gtk-CRITICAL **: gtk_window_set_default: assertion `gtk_widget_get_can_default (default_widget)' failed

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver0' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver1' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver2' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver3' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver4' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-CRITICAL **: gtk_window_set_default: assertion `gtk_widget_get_can_default (default_widget)' failed

(gedit:24914): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gedit:24914): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gedit:24914): Gtk-CRITICAL **: gtk_window_set_default: assertion `gtk_widget_get_can_default (default_widget)' failed

(gedit:24914): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gedit:24914): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver0' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver1' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver2' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver3' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver4' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver0' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver1' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver2' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver3' to action group 'SessionSaverPluginSessionActions'

(gedit:24914): Gtk-WARNING **: Refusing to add non-unique action 'SessionSaver4' to action group 'SessionSaverPluginSessionActions'

(file-roller:25636): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

(file-roller:25636): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

(file-roller:25731): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

(gedit:25918): Gtk-CRITICAL **: gtk_window_set_default: assertion `gtk_widget_get_can_default (default_widget)' failed

This problem seems to be getting worse... I thought that maybe it had something to do with a key combination I may have pressed
but I was VNC'ed into the server and typing something in a Gedit window (*almost positive I pressed NO other keys other then just characters).
Then when I was finsihed my thought I went to click on a terminal window open in the same vnc session and I could not click on it, at
this point backspace stops working normally and now what seems new is the arrow keys stop working...

And the ONLY way I have found that "fixes" the problem is to do a:
Code:
vncserver -kill :2

Then I restart the VNC session...

Any ideas? I'm getting desperate!

Thanks in Advance,
Matt
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Keys not working after installing redhat santiago

Hi Guys, I have installed redhat santiago on my system but keys ar not working properly after installation , like for | (pipeline) it types "~" and for other special keys also. also man command doesnt work pls help (0 Replies)
Discussion started by: Jcpratap
0 Replies

2. Ubuntu

Illumination shortcut keys are not working

hi, I have a netbook with duo boot (win7 starter + ubuntu 12.04). I tested it only in ubuntu and I could not set illumination by pressing "function+right arrow" or "function+left arrow" buttons. Has anybody ever faced similar problem? Thanks in advance Boris (6 Replies)
Discussion started by: baris35
6 Replies

3. UNIX for Dummies Questions & Answers

Shortcut keys are not working

Hi all, I use the shortcut keys CTRL-a and CTRL-e to move cursor to start and end of line in shell prompt alot. But recently what happened to my system i don't know only CTRL-a is working not CTRL-e . If i press CTRL-e any other window in that desktop pop's up. Can any1 tell me how to correct... (2 Replies)
Discussion started by: vio719
2 Replies

4. Red Hat

SSH keys are not working

Hi, I've generated and posted pub. keys in the source system and the target. However, it is still prompting me for the password. Steps that I have taken. 1. Generated ssh keys : ssh-keygen. It created two files. 1. .ssh/id_rsa 2. .ssh/id_rsa.pub. 2.... (10 Replies)
Discussion started by: Afi_Linux
10 Replies

5. Solaris

Keys on Keyboard stop working

Hello, I hope I put this in the right forum... I searched for similar threads, but I couldn't find any that seem to deal with the problem I am having. My workplace is using (among other Solaris-machines) Dell Dimension T3500 as workstations (running Solaris 10 X86 10/09 u8,... (0 Replies)
Discussion started by: areichart
0 Replies

6. Solaris

numpad stop working ?

I'm running Solaris 10 5/09 X86 suddenly numpad stop working it's working on jds dt logon screen but in not working in the os only right enter key is working any ideas thanks in advance (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

7. UNIX for Advanced & Expert Users

RSA keys are not working

Hi, We have two open SSh systems(Let us assume that A and B).These systems are having the non expiring passwords. We established a passwordless connection between two systems bu using the rsa key iles. I have created the key generated files by using the command ssh-keygen -t rsa in system A and... (1 Reply)
Discussion started by: srrao.ch
1 Replies

8. Shell Programming and Scripting

RSA keys are not working

Hi, We have two open SSh systems(Let us assume that A and B).These systems are having the non expiring passwords. We established a passwordless connection between two systems bu using the rsa key iles. I have created the key generated files by using the command ssh-keygen -t rsa in system A and... (1 Reply)
Discussion started by: srrao.ch
1 Replies

9. UNIX for Dummies Questions & Answers

SunOS 5.10 - VI Arrow keys not working

Hi I am working on SunOS 5.10 from remote terminal using putty. Also echo $TERM xterm In vi editor when in insert mode arrow keys are not working for cursor movement instead they print A B C and D. Please help. thanks ravs (7 Replies)
Discussion started by: ravashingravi
7 Replies

10. Windows & DOS: Issues & Discussions

DOS Keys not working

Hi, In my MSDOS version on windows'98, many keys are not working. I feel that my version is old and I wnt to update it. Can anyone tell me how can i do so. Please tell me soon. Thanks a lot. -Kinnaree :confused: (1 Reply)
Discussion started by: kinnaree
1 Replies
Login or Register to Ask a Question