The character based display-interface between human and computer.

learn more… | top users | synonyms

2
votes
1answer
2k views

autologin console as root on fedora

Can someone help to autologin in console text mode as root in fedora, usually I can do using script like this : /sbin/autologin.sh: #!/bin/bash 0</dev/$1 1>/dev/$1 2>&1 cat /etc/issue ...
2
votes
1answer
47 views

mysql console, keeps outputting garbled text if 'b' key is pressed

mysql -u username -p mysql> Now in the console whenever I press the b key the screen goes berserk with garbled text: Google doesn't help here. Edit: using ubuntu 12.10 with xterm or the ...
2
votes
2answers
665 views

How to startup FreeBSD in console mode

I have recently installed a VMware image of FreeBSD, although when I boot up I get the message: Welcome to DesktopBSD, select from the following options: http://i.imgur.com/VWahL.gif The trouble is ...
2
votes
1answer
1k views

CentOS: Alert all desktop users from comand-line

Can someone tell me if there is an way to notify all online (Desktop) users from command-line. I know that if I want that I get notifyed when something is done, I just do like this: sudo apt-get ...
2
votes
1answer
215 views

Is many consoles in securetty file a risk?

I got a problem So I expect you can give me an answer. I have to evaluate the security of a RedHat server. The idea is review the /etc/securetty file to ensure that only the console tty is listed. But ...
2
votes
1answer
79 views

console displaying quote character from gcc wongly

After an upgrade to debian wheezy my text consoles displays questions marks where there should be quotes Under X I see things correctly window.cpp:1056:21: error: base operand of ‘->’ is not a ...
2
votes
1answer
1k views

open /dev/fb0: No such device

I installed fbi framebuffer to view images on TTY terminals (outside X). When I do: fbi image.jpg it outputs the following error: open /dev/fb0 no such device Yet when I run ls /dev/fb*, I ...
2
votes
2answers
271 views

incorrect lines display in ssh console

I have problem with my console drawing lines. The problem is when I connect through ssh to server everything draws ok. But when I use up arrow key to show last used commands it often leaves few ...
2
votes
1answer
267 views

What tool can preview console font?

I don't know about the console font format, for a normal truetype font, I could use gnome-font-viewer to preview it, but what about console font? If I don't switch back to another tty, and use setfont ...
2
votes
3answers
803 views

How do I restore my console default font, and why has it changed?

I'm using Lubuntu 11.10, and I use my console a lot. Today I discovered that its font was changed; specifically, this screen is from yesterday: and this is from today: First of all, any idea of ...
2
votes
1answer
92 views

Make 'CTRL-/' behave the same in vtty and xterm

When I press Ctrl+/ in a graphical terminal (e.g. xterm) I get "undo". However, in a virtual terminal (e.g. Ctrl+Alt+F1) I get "backspace". In practice I run into this when I'm using emacs in a ...
2
votes
2answers
82 views

Weird escape sequence

I need help identifying what this escape sequences represents. I see this sequence is autogenerating on my server's console, but I'm not sure what is the reason for that. Escape sequence: ^[[[D I've ...
2
votes
2answers
271 views

How can I replace a tty using getty with qingy on ubuntu 12.04 or later?

Qingy is a getty replacement. I'd like to use it for a tty terminal on Linux Mint 15 (in hopes of getting tmux to get proper 256 colors in tty which fails with fbterm) which means replacing getty. ...
2
votes
2answers
93 views

Looking for a GUI application to enter linux commands

I am looking for a GUI console where I can enter Linux commands in an entry widget and the result will be output in a text area widget. Is there is such software available? Something like this: In ...
2
votes
3answers
342 views

netcat doesn't work as expected when detached from console with nohup (Ubuntu/Debian 64bit)

I'm trying to leave netcat running and close the ssh session (even stop the ssh daemon). But it then exits before all of the data is written. I'm testing in a non-ssh (local) console: nohup nc -l -p ...
2
votes
1answer
469 views

Console font - how to show accents?

Arch linux on VirtualBox. My problem is the console (not X) does not show accents like "á ã ç". The problem is showing, not typing. I have a text file with these accents and when I use "cat" the ...
2
votes
2answers
45 views

Changing TTY font to a non-default font

I found two ways to change the TTY font: dpkg-reconfigure console-setup editing /etc/default/console-setup Either way I'm limited to the fonts in /usr/share/consolefonts (I'm using Debian). How ...
2
votes
1answer
36 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # ...
2
votes
1answer
190 views

open() console for default file descriptors

I'm reading a shell program implementation in C ( the xv6 shell from MIT's 6.828 Operating System Engineering course ). The main() function for this shell starts with the following code: //Assumes ...
2
votes
1answer
241 views

Non-graphical tty's not stretching full screensize

on tty7 (graphical environment) nothing's wrong, I can enjoy the whole pixels of my screen which is the main thing. But here's something a bit annoying, when I switch on terminals from 1 to 6, the ...
2
votes
1answer
1k views

Using screen to connect to Cisco console

I am trying to configure a Cisco (small business 300) via serial port. I read here: http://www.commandlinefu.com/commands/view/6130/use-screen-as-a-terminal-emulator-to-connect-to-serial-consoles ...
2
votes
2answers
305 views

Insert Unicode Characters at Console Login

My password contains "special" characters like ü. How can I login at the console (no X running) when the default keyboard layout does not provide these characters? Or, differently put: how can I ...
2
votes
1answer
30 views

messages appearing when not desired

I have SSH access to a CentOS box and I have a strange behavior of that box, I have never seen before. Lets say I am editing a file with vi or displaying tail -f of a file. Every time the server has ...
2
votes
1answer
219 views

Add echo command to /etc/profile to disable screen blanking

I am considering adding the following echo command to /etc/profile echo -e ‘\033[9;0]\033[14;0]’ The system in question does not have setterm command available and is just running text console. ...
2
votes
1answer
172 views

Virtual terminal switched when USB mouse plugged in Linux

Our machine runs a modified RedHat 9 (Kernel Linux 2.6.20-1.21, GNOME 2.10.0). When USB mouse is plugged in, the X Window will always switch out, we have to switch back by Alt + F7. There is no such ...
2
votes
1answer
585 views

How to increase the speed of a text console (kernel mode setting)?

On a Fedora 17 system (i915 hardware) KMS works out of the box - and using the console (i.e. Ctrl+Alt+F2 etc.) is very framebuffer-like. To the point that scrolling through a man page or cat log-files ...
2
votes
1answer
282 views

Ctrl-Alt-F1 to F6 work differently for left and right sides of the keyboard

If I want to log in to the traditional text shell, I can only use the right side control and alt keys, the left side ones will do nothing. Once I switch to another shell, I now have to use the left ...
2
votes
1answer
879 views

Framebuffer on OpenBSD?

I am migrating from Linux to OpenBSD, and one of the things I miss from my old OS is how even the consoles looked nice (so nice you could actually watch movies in there) under framebuffer using a ...
2
votes
1answer
374 views

Disable browser logging output to console

I'm currently using Ubuntu 11.04 and I'm running into a really annoying issue while developing for web. I'm rather new to Ubuntu, coming from FreeBSD where I never encountered an issue like this, so ...
2
votes
1answer
274 views

Change size of system console as user

At uni, I'm using a terminal to log into a text console of some unix server. As the monitors are 17" and the console is displayed full screen, it's a bit annoying to look at the screen with the ...
2
votes
0answers
23 views

tmux: shared session, one user in a pane, another in another pane, two different cursors

I've decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor. However, giving 777 permissions to ...
2
votes
0answers
117 views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
2
votes
2answers
60 views

How do I prevent the screen from blanking?

I am running 12.04 Ubuntu Server and my screen blanks after some time. I am unable to unblank it without power cycling the computer. I can however log in via ssh and type who see that the tty1 ...
2
votes
1answer
138 views

accessing stdin/stdout of a process started in another tty

I logged in to my linux physically(say tty1) and started a process that watches stdin for commands and has some stdout-put. How can I access/use this process from a SSH session?
2
votes
1answer
174 views

Boot graphical application straight from Linux bootup (without verbose boot messages and desktop)

Is it possible to boot from minimum Linux core(Linux/Android) to an application (preferably created in interchangeable platform languages such as C# – Mono / GTK / Java / C) without any verbose ...
2
votes
2answers
505 views

How to switch from TTY to KDE in Oracle Linux

I had installed Oracle Linux. While installing I had selected KDE for the desktop. After finishing I assumed that I could login to KDE Desktop, but I got a TTY. It asked for login and I gave root ...
2
votes
1answer
124 views

Graphical console applications in Emacs

I am having trouble running htop within an ansi-term in Emacs 24.2. It looks like some of the control characters are not interpreted correctly. I thought ansi-term was capable of handling font ...
2
votes
2answers
3k views

How to change temporarily font size in text console in openSUSE?

I found several answers already but all of them are focused on changing size for good, i.e. at Lilo/Grub level. I don't want this though. So, key issues: changing size on-fly, I would like to ...
1
vote
4answers
5k views

How can I page up or down in tmux with Terminal.app?

I have tmux installed. But I can not scroll up or down. I.e. as soon as I tmux I get only a portion of the screen and can not scroll up. crtl-b + Page Up does not work since I am in Mac and I can not ...
1
vote
2answers
947 views

How to exit login screen and start commandline while at login screen

I am at the gnome 2 login screen but I want to exit and re-enter command-line environment. I remember there was a combination hot key one has to invoke.
1
vote
2answers
3k views

How to set default console keyboard layout in Arch Linux?

Whenever I reboot my computer I have to set the keyboard layout in a console again with loadkeys. Is there a way to change the default keyboard layout that is loaded everytime the computer boots?
1
vote
4answers
834 views

Toggle between dvorak and qwerty

I've recently started to learn the dvorak keyboard layout, but I still need to use qwerty sometimes. I'm looking for a script to toggle between the two keyboard layouts. Also, I'd like to invoke ...
1
vote
1answer
42 views

Get current output

This just crossed my mind. Let's say that I'm operating a remote machine via SSH and I executed a make command to, e.g. build a new kernel for my machine. While I'm logged in that session, I can see ...
1
vote
1answer
484 views

Login other bash ttys after logging in to one

Is there a way to login certain (or all) ttys after logging into one? I don't want auto-login because I still want to login once (for security). I've looked into things like "screen" but they are ...
1
vote
2answers
420 views

Is there a way to view the console output instead of boot logo, while my RHEL 6.2 machine boots up?

My company provided laptop has RHEL6.2, with lot of programs to start up automatically, which makes the boot up process slow. While the machine boots up, there is the boring RHEL logo on the screen ...
1
vote
2answers
119 views

Saving files on lost focus in Vim

I have been trying to setup the shell version of vim to save any changed files when the shell window loses focus. Following these instructions does not work. Even though I am using OS X, I figure ...
1
vote
2answers
33 views

Lock console session

I've set up a no-x/console only system running a minimal install of debian jessie/testing. For this system I need a screen locker to lock the entire session when I'm away. vlock would be appropriate ...
1
vote
1answer
61 views

Try to disable console output, console=null doesn't work

as mentioned above, I want to to completely turn off the console output, but putting console= or console=null in the kernel command line doesn't change a thing. When I enque quiet to the kernel ...
1
vote
1answer
29 views

Is there any way to play gpu accelerated video without X?

You can play use mplayer on fbdev, but not with the gpu. That's as close as I can find.
1
vote
1answer
48 views

Emacs - Strange Whitespace

(I posted this same general question here on StackOverflow thinking it had something to do with my emacs configuration, but after following a comment there, I think it is exclusive to urxvt) My ...