Im running ubuntu 9.04 remotley via ssh, using putty on a windows computer to control it. I want to redefine one key (I have a swedish keyboard where I have to press AltGr+key to get a tilde sign, would be better if I could get the tilde without AltGr modifier).
I read about xmodmap and xev. Using them I succesfully redefined the key for x-programs. For example if I start firefox over ssh and press the key I get the correct key. But in the terminal session the changes does not take effect. Which is probably logical since xmodmap does only work on the x-server. But how do I redefine the keys for terminal use?
I'd like to redefine the actual colors that ANSI escape sequences show, i.e. I'd like to personalize what "light red" means and render it as, say, orange. Is there any terminal emulator that works under linux that allows me to do this? how?
Ubuntu 10.04 - Gnome Termainal - BASH pressing cursor keys in certain users produces garbage. For example:
pressing up arrow produces: ^[[A pressing down arrow produces: ^[[B pressing right arrow produces: ^[[C pressing left arrow produces: ^[[D
Naturally, I'd like my bash history instead of this. For root and my main user I have no problems. I have a few system users (who don't have a standard home directory) and this seems to occur with those users. For example, my amandabackups user has a home directory of /var/lib/amanda.
I want to reassign ctrl-shift-C and ctrl-shift-V. How is that done? (I'm using a Mac keyboard and I'd like to take advantage of the command key to avoid having to hit two modifiers.)
I was trying to sign my Ubuntu Conduct Agreement with the key I created for luanchpad. I have one other key that is used for my private folder. While using pgp --clearsign to sign my agreement it kept using the first key I created for my private folder. My work around was to create an email and then copy/paste using the correct key. how can I select between multiple keys from the terminal with pgp --clearsign?
I've never seen it before and its entirely possible that I may have done something to my system to cause it. Basically, when I open any new terminal window I have a '$' sign instead of the usual blah@blah etc. Also, the cursor keys don't work
I am having trouble using home and end keys in a terminal, to go to the end or beginning of a line. With xterm it will only work with the bash shell, while under zsh nothing is output. With urxvt, mrxvt and aterm pressing the keys in either bash or zsh always just results in a tilde being printed. Is this perhaps because urxvt, aterm and mrxvt are emulating a different terminal type to xterm by default?
Why does xterm work for bash but not for zsh? I don't just want a solution, I want to understand why it doesn't work by default. As a side question, is there any way to press alt+enter within a terminal? I tried to use wicd-curses where you have to use alt+enter to save settings, and it didnt register in any of the terminals, even xterm.
Since the upgrade to Xubuntu 10.10, I'm having issues with Xfce4-terminal. When I use aptitude, the home and end keys don't scroll the list to the top or bottom. With vim, it generates input of adding a new line with F or H on it above the current line. Ctrl+arrow left/right also generate unwanted signals/characters.This does not happen with Kubuntu or Ubuntu and when I install Gnome-terminal and use that, everything works as you expect. This even happens on the live environment. I don't want to use gnome-terminal, as it pulls in more packages than I need and the Xfce4-terminal should just work.
Another thing that happens is that when I read a man page or close vim or aptitude, it behaves as if it's in a TTY: the text it just showed stays on screen or it clears the bunch in the current view and puts the prompt at the bottom. It should be that the application just closes and you get the prompt back the way it was before you started to read the man page for example.It is purely a terminal emulator problem. Does anyone have a solution for these issues?
I guess I'm just a noob, but I notice that some C libraries (and even some C++ ones) tend to redefine the basic types with their own naming convention.
For example, OpenGL redefines the basic types: Code: from GL/gl.h typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; typedef signed char GLbyte; typedef short GLshort; typedef int GLint; [Code].....
I've done some hunting on this and other forums as well as my own system and have come up dry. I have a SLES10 box where root is using the Korn shell as the default. There was a lot of system configuration done by the vendor of the app that sits on this box and one of the "features" is that Ctrl+C no longer sends a SIGINT. I just get "^C" when I try. Needless to say, I'd like to redefine this so that I can kill commands/scripts without the need to manually whack the PID. Where is the Ctrl+C defined and what steps do I take to redefine it to its default behavior?
I'm running Debian (both Sarge and Lenny, on different systems) under Gnome and have a number of thin client workstations that connect to a software application on an AIX server. I'm using gnome-terminal to provide terminal emulation for this software. Unfortunately, the emulation leaves something to be desired, and doesn't catch all of the F keys properly. It seems F1-F4 act as some form of escape key, exiting out of the software back to the command line, when they should be performing different functions in the software. F5 and F6 work as they should in the emulation. Is there a setting I can apply to my gnome-terminal launcher that will make this behave like it I want? The terminal should ideally match the behavior of a Link MC5 terminal (we have some of these old beasts still around, still crunching away), but alas, I don't know how to implement this.
I did something stupid; I think while creating some new short+keys for the terminal, I must have enabled an unknown feature to me. The keypad now acts like a mouse. For example; With NumLock on, I press 7 the mouse goes north+west. I press 6 the mouse pointer goes east.
I have recently added a new keyboard layout - international U.S with dead keys - so I can type accentes and so in spanish. Ever since that gnome-terminal doesn't recognize the shortcuts keys like <ctrl>r or <ctrl>c and I get my other language charecters instead. thats happen with any keyboard layout I swith to. Furthermore, <alt><ctrl>+F1...F9 doesn't work either.
Is there any way to disable shortcut keys in XFCE Terminal ? I can't seem to bind the shortcut keys, and F1 especially really gets in the way for some programs. Have no clue who thought it would be a good idea to bind F1 to a stupid help screen, when many terminal programs need this. I am using fluxbox, so maybe this has something to do with it.
I don't know if this is a configuration issue or a hardware issue, but I have a Kinesis Advantage USB keyboard and for some reason the F3-F5 keys aren't responding as they used to. They don't respond to anything and, when I tried using F5 on Emacs, it said <XF86AudioNext> is undefined, so I guess it's a weird mapping problem.
Any idea how I could remap them to the original meaning?
I'm running Debian (Squeeze) and I have a toshiba portege m700. It has five buttons on the front just under the screen, which are the only ones accessible when you flip the screen over into tablet mode. One of them is for rotating the screen, and another is for switching to external display. I want to remap the remaining three to control, alt and super so that I can use shortcuts with the stylusThe problem is, when I used showkey to find out the key codes, I found out that each button generates more than one key code:Button 1:
key 126 press >> super_r, although this is distinct from the actual super key (125) key 7 press >> 6 key 7 release key 126 release
I installed SSH server on my ubuntu-server last night, following this online Guide: https://help.ubuntu.com/10.04/server...sh-server.htmlThen I tried to generate the public and private keys.root@ubuntu-server:~# ssh-keygen t dsaGenerating public/private dsa key pair.Enter file in which to save the key (/root/.ssh/id_dsa):
I am using Nautilus to connect to an external server. Currently, I use password authentication, and all works fine. I just type sftp://SERVER and the connection is established after providing the login credentials. However, I changed the server to only accept Public Key Authentication and disabled password authentication, and as a consequence I could not login using Nautilus anymore. Is there some way to make this work?
Facing this issue where I need to ssh from a solaris server to Linux server.The flow is as below: -Oracle Webserver on solaris server (oracle user) initiates a cgi script -The CGI script then executes a shell on the solaris server that tries to ssh to linux server
Have already tried the below: -Checked the permissions for the .ssh and related folder/files -authorized keys updated correctly -tried alternative ssh login from another user which works fine
Issue could be- -I must try the first login manually, where I'll need to enter password and then the solaris server will get registered in the known_hosts of the linux server -Cant do this because I donot have the oracle user access.
Please suggest a work-around to the issue that can be done from my end. Or is it that I must simply ask the DBA to execute an ssh from their ends?
I would like to encrypt and decrypt zip file using OpenSSL keys. I have generated the keys and can encrypt normal text files but if I try to encrypt the zip file, I get error: "Error reading input Data" Following is what I have done.
I must use public/ private key pair (without any password) and I must use OpenSSL. But I can use any algorithm other than RSA (not sure which one to use and how).
I've got a slight issue with logging into my server using public keys.
It was working fine, until I had to rebuild my desktop machine. I had the key copied to the server, and passwordless logins where fine.
However now I have rebuilt my desktop, I cant get to the login.
So heres whats happend.
Rebuilt id_rsa.pub, server will not allow login. Remove id_rsa.pub and the server allows password based login.
On the server, removed authorized_keys and known_hosts. makes no difference. Server still disallows keyfile, but will allow password when id_rsa is not present on the client.
Heres a -v of the login chat with keyfile
Code: michael@eve:~$ ssh -v server OpenSSH_5.5p1 Debian-6, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to server [ser.ver.ip] port 22.
[Code]....
So, is there anyway of getting the server to forget the previous keys, it is remembering, As previousily said, I have completly removed the contents of ~/.ssh/ on both the clients and the server.
I love Ubuntu and last night I wiped crappy windows 7 off my laptop and installed and customised a beautiful Ubuntu 9 OS ( I tried the new 10.04 first but it had some issues for me ). Now, up here at work we got a Domain Controller that is running windows server 2008, I need to be able to RDP into it and mess with it, I tried to use the Terminal Server Client that comes with Ubuntu, and I can see the login screen just fine, but when I try to log in it says incorrect password and wont go through.
Just to make sure it was not my account that was the issue, I went to my boss and used his computer (a MAC running OSX) and I was able to get into the same server with the same credentials, so it has something to do with my computer not my account. Do any of you have any ideas on what the problem could be?
Running web service and dhcp only on 1pc of a 4pc lan. Optomized minimal slackware 13.1 install (no GUI)on 30g fireball for only one user (myself):
Question is howto work properly in terminal environment: the rule of thumb is not to work on system as root to maintain root's integrity; since i do not have /home for users - what identity do i create to work on files safely? Can you adduser identity without /home as to not work as root? I found 'netgroup' but i am not sure that setting up the id of other machines on lan is what need to do?
I am using Ubuntu 10.04 Server as my web server. I need to run Kannel for sending SMS. This require two programs i.e bearerbox and smsbox to be run. In case of Redhat I do this by opening 2 terminals. How can I do this in Ubuntu server which has no GUI
I wanna implement a GNUPG program which is a encryption program. Therefore i need to download the files. But the terminal wont download. It just show blank lines. This is what I typed in the terminal.
haloiuy(at)ubuntu:~/GNUPG/libassuan$ ftp ftp(dot)gnupg(dot)org Connected to ftp(dot)gnupg(dot)org. 220-Welcome hacker!
I am building a Terminal Server Client using debootstrap for work. I found a couple post that suggested that I can change my inittab configuration to not load login. However it is my understanding that inittab has been replaced by upstart. I would like to know how to modify upstart so that instead of the user seeing a login: prompt my script is automatically loaded (rrdesktop)(revisedrdesktop) and the user is brought off a live cd to my terminal server.
I use vnc to log into my Ubuntu desktop at work from home, is there a way to blank-out or lock the terminal screen while I am connected remotely, just like in windows remote login? I don't seem to find the option in vncserver to allow for that.Also, I am aware of the workaround of starting a new X session, but I can not do that because I can not waste any processing resources.
I'm trying to connect to a PPTP VPN service located in UK (I think) and everything seems to set to the right values. I've checked and double checked the gateway address, user name and password. But every time all I get is a brief message 'vpn connection XXXX failed'. Is there any way to know what is wrong? Is there any log file, or is it possible to connect to a VPN server from the terminal?