LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-28-2015, 09:41 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Rep: Reputation: 177Reputation: 177
Left and right parenthesis repeat when ssh'ing from gnome terminal


I am using Gnome Terminal 3.6.2 on Ubuntu 14.04. Things work fine if I am using the Terminal locally. However, when I ssh to another host, the left and right parenthesis "(" ")" (and so far only the left and right parenthesis) go nuts. When pressed, they auto-repeat until I hit another key. This happens about 90+% of the time. Sometimes they work correctly and sometimes no character shows up at all.

Note that this also happens if I ssh to user@localhost!

Note that when I ssh to the same remote host from Windows Putty I never see this problem.

Any ideas what's wrong and how to fix it? Is there some kind of hotkey or keyboard shortcut at work? Is it just a bug in Gnome Terminal?
 
Old 10-29-2015, 02:52 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by mfoley View Post
Is it just a bug in Gnome Terminal?
have you tried it with another terminal?
 
Old 10-29-2015, 07:37 AM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by ondoho View Post
have you tried it with another terminal?
Like what? I'm new to Ubuntu and GUI.
 
Old 10-29-2015, 11:44 AM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
OK, I'm trying one call Terminator now. Will post back results.
 
Old 10-30-2015, 12:21 PM   #5
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
Interesting. It does the same thing with Terminator. Ideas?
 
Old 10-30-2015, 01:51 PM   #6
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
Just tried swapping keyboard. Also tried using Unity versus Cinnamon. Does the same thing.

So, this is not a function of the Terminal program, physical keyboard or desktop.

Anyone have any ideas?

Last edited by mfoley; 10-30-2015 at 01:53 PM.
 
Old 10-30-2015, 01:59 PM   #7
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
The problem doesn't seem to be from the terminal emulator but I have no idea from where it could be...
Could you first try without ssh-ing to type bash --login and see if you experience similar results?

Then, go on ssh@localhost and try to type dash and see if there's a problem, then bash and see if there's a problem... ?

It's either one of these or the actual ssh client.. Also, what's your keyboard layout and language settings?
 
Old 10-30-2015, 02:32 PM   #8
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
Just opening the Terminator program, and that's it, no ssh, no bash --login, I get the same problem. So, not related to ssh.

I am using x11vnc as the server on Ubuntu and TightVNC 2.7.10 as the viewer on Windows. So, maybe a TightVNC issue? I had a similar problem when trying UltraVNC View 1.2.0.6 on Windows. With UltraVNC the same behavior occurred with the Shift key. Sometime it worked, sometimes not, sometimes it acted as a caps lock.

I'll go back and play with UltraVNC and see if something funny happens with that.
 
Old 10-30-2015, 03:10 PM   #9
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
OK, then at least try somewhere else... Open a GUI text editor and see if this is still a problem... If it is then it might be because of TightVNC
 
Old 10-31-2015, 05:56 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by mfoley View Post
Just opening the Terminator program, and that's it, no ssh, no bash --login, I get the same problem. So, not related to ssh.
so it's a local problem and has nothing to do with remote connections?

i guess your bash is misconfigured.

to verify this, try
Code:
terminator -e dash
and try to reproduce the problem locally & with ssh.
 
Old 11-01-2015, 04:15 PM   #11
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
More testing - I tried with UltraVNC. I did not have the problem (but UltraVNC has its own problem: you have to hold the cap-lock key down for about 1 second or it doesn't "take". Likewise to un-caps-lock).

I went back to TightVNC and tried editing a file using gedit, same repeating parentheses problem. Next I tried LibreOffice, same thing.

Next I tried RealVNC reader. Did not have a problem with parenthesis!!! Yeah! Unfortunately, the CAP-LOCK key does not work AT ALL. I had to switch over to Windows to change the CAP-LOCK setting, then back to VNCviewer, then back to Windows to un-CAPS-LOCK.

So, it'd not bash, or Gnome Terminal, or Terminator terminal. The problem is VNCviewer. All viewers I tried have some kind of problem with the keyboard: Parentheses with TightVNC, caps-lock with UltraVNC and RealVNC.

This is very surprising considering how long these viewers have been around. My home Windows laptop is an up-to-date Windows 7 -- everything is quite vanilla.

I guess I'll go with the lesser of the evils and use TightVNC viewer for now. I'll have to live with the parentheses keys going nutz every so often. I cannot with with caps-lock keys not working.

Has anyone had similar experiences?
 
Old 11-02-2015, 02:59 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
it seems that all this time you were talking about a remote connection into a linux machine?
 
Old 11-05-2015, 10:44 PM   #13
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by ondoho View Post
it seems that all this time you were talking about a remote connection into a linux machine?
Well, yes ... as I said in the first line of my posting:
Quote:
Things work fine if I am using the Terminal locally. However, when I ssh to another host, ...
More experiments tomorrow ...

Last edited by mfoley; 11-05-2015 at 10:46 PM.
 
Old 11-06-2015, 02:51 PM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by mfoley View Post
I am using Gnome Terminal 3.6.2 on Ubuntu 14.04. Things work fine if I am using the Terminal locally. However, when I ssh to another host
i took this to mean that you ssh from your gnome terminal, and thus from a linux installation.
 
Old 11-09-2015, 01:07 PM   #15
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,569

Original Poster
Rep: Reputation: 177Reputation: 177
I was probably not too clear in the beginning. I am connecting from a remote laptop that can dual-boot Windows and Ubuntu. If fact, I didn't even have the Ubuntu boot when I started this thread. From Ubuntu, I have no problem with any Terminal program, either opened locally on laptop, or using it to ssh to a remote Linux computer using the x11vnc server.

When booted as Windows, and I use TightVNC as the viewer to the same remote Linux host running x11vnc I get the problem described. I believe I've confirmed that it's not the terminal program. It's an issue with TightVNC. On the x11vnc server I've tried various options including -modtweak, -sloppykeys, -skip_dups and -norepeat. So for nothing is working to fix the problem.
 
  


Reply

Tags
gnome, terminal



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
Authorization problem on Amazon S3 with Boto in Gnome Terminal as opposed to SSH wichiff Linux - Software 0 12-06-2011 06:54 AM
open an ssh session in a new instance of gnome-terminal? recomboDNA Programming 1 09-14-2010 08:49 PM
holding down left and down arrow does not repeat dave201 Linux - General 1 11-22-2008 04:19 PM
trouble with VNC in gnome-rdp started through terminal via ssh (Xubuntu 7.10) sehku17 Linux - Software 2 05-01-2008 06:47 PM
How to change gnome-terminal command line from scrolling left to wrapping primorec Linux - Desktop 0 11-19-2007 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:59 PM.

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