The character based display-interface between human and computer.

learn more… | top users | synonyms

2
votes
2answers
126 views

disabling ctrl-alt-del and /etc/init

My OS is RHEL 6.2 I disable Ctrl+Alt+Del by changing in /etc/init/control-alt-del.conf the line exec /sbin/shutdown -r now "Control-alt-del pressed" by exec /bin/true I'll be testing it next ...
2
votes
1answer
22 views

Virtual console pauses video and audio playback running in KDE

In Kubuntu 14.04, when I switch to one of the virtual consoles by pressing CTRL-ALT-F1...F6 all audio and video playback running in the GUI gets interrupted and continues only when going back to X. ...
2
votes
1answer
362 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
362 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
32 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
296 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
184 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
348 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
427 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
313 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
2answers
64 views

Is it possible to see remotely what physical display is showing on linux machine without X?

We can use VNC to connect to remote X session but how can I remotely connect to that session which is displayed on physical monitor if remote linux machine does not have X installed? UPDATE to make ...
2
votes
0answers
48 views

Some commands fail when active display/vt is different from where they are running, How to fix/workaround that?

These applets are running on X at DISPLAY=:0 (fgconsole 7). NetworkApplet Related to nm-applet/NetworkManager run this command sleep 10;nmcli nm enable false;beep (you must be connected to the ...
2
votes
0answers
48 views

Emulate console by sending data on one UDP port, and receive text from another

Note: I also posted this question on SuperUser, because I'm not sure where it belongs I'm trying to establish a "console-like" connection with a National Instruments cRIO-FRC. It broadcasts its ...
2
votes
0answers
197 views

add monitor to linux tty framebuffer

Whenever I use my laptop at my desk, I usually connect it to an external display on DP-1. To switch the window manager output to this display, I can just use xrandr --output DP-1 ... However, ...
2
votes
1answer
109 views

I no longer see the output of rc scripts

My current problem After cloning the root filesystem of my debian system to an SSD (cp -ax) I no longer see the output of my rc scripts during boot from the SSD. I do see them during shutdown or when ...
2
votes
0answers
205 views

How can force my screen to unblank?

I've been doing a lot of looking around forums for different ways to unblank the screen. I am running embedded linux on a machine I have and I found out that the screen goes blank under certain ...
2
votes
0answers
86 views

Screen size in FreeBSD in VirtualBox

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...
2
votes
1answer
156 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
1answer
410 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
91 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
316 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
458 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
885 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
2answers
4k 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
2answers
2k 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
6k 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
1answer
58 views

create several /dev/xconsole files

I am using /dev/xconsole to send system logs from rsyslog. That works great, because I am don't have to store the logs on disk. I would like to have another similar file , i.e /dev/xconsole1 where I ...
1
vote
1answer
63 views

Send specific signal number with specific key

I want to set a specific key like F12 to send me a specific signal number that out of linux signals range that I can handle this signal with trap command. How can I do that? NOTE: I'm working with ...
1
vote
4answers
1k 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
31 views

Is there a console command that replicates Alt+[F1..F10] to change terminal?

Hi I'm a Linux noob developing a custom embedded barebones distro. I have console access over serial to my machine. I would like to control what tty my user sees on their framebuffer. Currently the ...
1
vote
1answer
50 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
629 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
695 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
147 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
1answer
23 views

text based tool for ldap queries

I need a way to do LDAP queries through a text based interface. I use jXplorer on my own machine but that is a graphical client. Btw, I'm running Ubuntu server 14.04. The background: A server in my ...
1
vote
2answers
120 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
2k 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
78 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
1k views

/dev/console dynamic redirection

Is it possible to dynamically redirect all data sent to /dev/console into something else (for example - to /dev/null, /dev/tty9 or even /dev/null)? Of course, it can be done statically via ...
1
vote
1answer
59 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 ...
1
vote
1answer
1k views

Can't open the initial console on ARM S3C2440 running utuLinux

I try to mount an NFS filesystem to the target board ARM s3C2440. I've started the NFS service and the portmap service. The server operating system is Ubuntu 10.04. I use minicom to communicate with ...
1
vote
1answer
38 views

Change to rc.local causing hang on tty1

I added a script execution command to my rc.local but forgot to run it in a separate tty. The script has an infinite loop and has hung my tty1. Ctrl-C does not do anything and I don't have another ...
1
vote
2answers
68 views

Block physical console access

I'd like to block physical console access to my linux. I'd like to find, which module is responsible for keyboard input (ps/2, usb, ...) and vga output (only physical), so I can remove them from my ...
1
vote
2answers
1k views

How to change the default TTY after boot?

Normally when system starts you have all output printed on the TTY1, and that's ok, but I start X-server via startx and achieve this by the following lines in the ~/.profile file : if [[ $(tty) = ...
1
vote
1answer
82 views

Capture textual snapshot of pseudo terminal

My question is related to Keyboard and Console, but I want to do it for an arbitrary pseudo terminal, and not just the built-in Linux ones. Also, I'm not interested in a stream, I just want the ...
1
vote
2answers
524 views

What stream does perf use?

What stream does the perf command use!? I've been trying to capture it with (perf stat -x, -ecache-misses ./a.out>/dev/null) 2> results following http://stackoverflow.com/q/13232889/50305, ...
1
vote
1answer
2k views

Installing video driver on Arch Linux

I have Arch Linux installed in console mode on an Intel-PC machine. My task is to write and run an OpenGL display program on the machine to check whether it meets the following conditions: It would ...
1
vote
1answer
305 views

Can I use xterm to read/write to a pts without spawning another process (e.g a shell)?

I have a process which reads and writes to a pseudo terminal. I would like to open xterm and have it open a pseudo terminal and leave it open so I can communicate with this process without creating ...
1
vote
2answers
352 views

Can't switch to console using my own compiled kernel

In my Ubuntu, I can't switch to console through Ctrl+Alt+Fx using my own compiled kernel, and a black screen appears. I can switch back through Ctrl+Alt+F7. Using the default Ubuntu kernel, I can ...
1
vote
3answers
5k views

Cannot execute binaries in Ubuntu : file not found

When I try to run any executable file a file not found error occurs. Sometimes it says nothing but doesn't do anything. For example, when I execute ./blah-blah.bin it fails finding the file when it ...