tty is a Unix command that prints on standard output file name connected to standard input. The program's name comes from teletypewriter, abbreviated "TTY".

learn more… | top users | synonyms

-1
votes
0answers
29 views

Why does my GUI start on tty8 and not tty7?

I can't seem to find other accounts or any information on this. All I can provide is a brief description of the situation. I use the ttys because they are very powerful and fast, and I recently ...
1
vote
2answers
110 views

Howto start an interactive script at ubuntu startup?

Based on Ubuntu core 12.04, I have prepared a bootable DVD. After booting (to console only), I can login as a user and start a script for installation of an embedded device: sudo install_script In ...
1
vote
1answer
55 views

How to restart ttyusb*

I have two devices that are continuously feeding data through ttyUSB0 and ttyUSB1. I have php scripts that are using this data. The problem I am running into is that sometimes the feed just kind of ...
0
votes
0answers
35 views

screen: “You are not the owner of /tmp/uscreens/USERNAME” (cygwin)

I am in the process of backing up my cygwin directory, but one thing that does not work on my copy is screen utility. There are files in the aforementioned directory that seems to link to a tty. I ...
1
vote
1answer
188 views

X on one monitor, a bare, tty terminal on another? (linux)

The graphics card on my computer has inputs for (at least) two separate monitors. I have one monitor that is high resolution, and I like using it for X (anything graphical). My other monitor, however, ...
0
votes
0answers
75 views

KDM disappears and shows TTY

After installing compat wireless drivers I started having to use TTY to log in and run startx because KDM shows for all of about 2 seconds the goes to TTY. There are two problems that I have with ...
1
vote
2answers
117 views

How to execute a command under Linux after booting without a TTY session?

I'm creating a kiosk PC at the moment and I'm wondering if this is possible: When the PC is started and Linux Debian boots and I wonder if it's possible to start the command startx respectively xinit ...
2
votes
1answer
276 views

How to read data from USB port

I have a CANbus to USB adapter (Softing CANusb) that we are using for a project (see attached picture bellow). This device has Windows drivers and a Windows API in order to access the data in the CAN ...
2
votes
1answer
145 views

“stdin: is not a tty” message from scp

I got this message when I copy file using scp to CentOS server "stdin: is not a tty". What it means and how I make it go away? The transfer is ok.
1
vote
0answers
59 views

Android Development - Use of RealTerm or other program to directly manipulate and monitor radio/modem to debug Android Telephony [closed]

I and others are desperately trying to port Android 4/ICS/JB/CM10.1 from the LG Optimus 2X/P990 to the LG G2X/P999 cell phone but we haven't been able to get the phone's Qualcomm mdm6600 radio/modem ...
2
votes
2answers
98 views

Screen run command, detach and get output

I am trying write a script which connects and runs command on /dev/ttyUSB0 after that gets the output. screen -d -m 'SCREEN COMMAND' -L /dev/ttyUSB0 But this does not create an output file. How ...
1
vote
0answers
62 views

How to change keymap on native console?

When I'm switching to native console with Ctrl+Alt+Fn I have wrong keyboard maping. I want to set keymap proper to my language. In KDE, web browser, konsole etc. everything is OK. So, how to change ...
0
votes
1answer
82 views

Running Emacs on Multiple TTYs in screen

When working with EMACS over SSH, is there any way to spawn a new frame of the same emacs session on a different terminal? In my use case, I have screen running, so I have multiple terminals, and can ...
2
votes
3answers
311 views

Run a script after killing lxsession (xorg)

I am trying to run a program automatically within a bash script after killing the LXDE session. My script consists of: #!/bin/sh pkill lxsession; sh ...
4
votes
1answer
464 views

Redirect physical keyboard input to SSH

I'm having a raspberry pi running debian linux and I have an RFID reader connected to it. The RFID reader behaves like a keyboard. Every time I scan a tag it types then number of the tag and then ...
0
votes
1answer
214 views

How to display a message upon login to specific tty

In /etc/securetty I commented out tty2 and tty3: #tty2 #tty3 This succesfully disables root login for these two terminals for root. But is it possible to display a message such as "root login is ...
1
vote
0answers
200 views

Ubuntu 12.04: screen freezes when I open the laptop

I have installed Ubuntu 12.04 on my lenovo G580 laptop. When I close the laptop (goes into hyvernation mode) and open it, sometimes my screen freezes (I can still see my mouse moving, but that is ...
1
vote
1answer
343 views

Why do I appear 3 times “logged in” in macosx? (zsh and screen)

I'm using the following options in order to launch a 'screen' session when I launch Terminal.app to my OSX Mountain Lion: **~/.zshrc relevant option** if [[ $STY = '' ]] then screen -UxR; fi # ...
5
votes
1answer
3k views

why is there so many linux /dev/tty?

In ubuntu 10.04, if I check under /dev, there are more than 50 ttys. tty0, tty1, tty2.... I understand tty is a character device for console input/output. but why is there so many of them? is it ...
1
vote
0answers
82 views

Forward second keyboard input to window and split-screen terminal and KDE

I have two keyboards (one internal and one external) and I want to split-screen Linux video output so I'll have tty on one half and X11 on second half and I want redirect input from external keyboard ...
1
vote
1answer
314 views

why most linux distro have 7 tty and make x window to tty 7 as default? [closed]

I know tty can be reduced but I don't know why Most linux distro have 7 tty(s) as a default setting. Why choose 7 instead of 6 or 3? I had never use all 7 tty at the same time. And, The reason for ...
1
vote
0answers
87 views

Configuration to point an X tty to a separate system?

Specifically, I have an Ubuntu 10.04 system with a headless Ubuntu 12.04 virtual machine, and I'm looking for a way to have it set up so pressing ctrl+alt+F8 will take me into another X client which ...
1
vote
1answer
700 views

How do I make Ubuntu start fbterm in the tty on startup?

When I was testing openSUSE about a week ago, I noticed that tty1 (yes, just tty1) had the openSUSE background. I want to do the same in Ubuntu. I found a way using fbsplash. I'm not too keen on that ...
1
vote
1answer
127 views

Why are there 3 pts entries in /dev/pts when w only shows 1?

In the directory /dev/pts I see 3 pts instances as shown in the screenshot below however when I run the command w I only see 1 instance of pts. Why is that? /dev/pts w
2
votes
1answer
147 views

Disable Bright Colors in TTY

I've been searching for a way to disable the bright (bold) colours in a TTY (colours 8 to 15). I'd like all bright colours to use their half-bright counterparts.
2
votes
1answer
963 views

unable to switch TTY in arch linux

so im moving away from ubuntu into the realm of arch linux. in ubuntu i was able to switch TTYs with ctrl+alt+F1/F2...etc in arch when i attempt this, im merely dumped to a black screen with a ...
6
votes
2answers
325 views

Can I login to multiple terminals with the same user safely on Linux?

By terminals I mean the ones you can switch to using Ctrl+Alt+F1-F6. I know I'm able to login multiple times but does this have any side-effects?
1
vote
0answers
135 views

format stdout as multicolumn text

I'm trying to take some single column data and display it in a tty as columns, much like ls does. Basically, you can think of this as trying to take the output from ls -1 and make it look like the ...
2
votes
1answer
891 views

How to get different terminals for dual monitor scheme without X

I have Ubuntu installed without X.org with two monitors(single card: vga and dvi) Login shell is cloned for both monitors. I there any way to have different shells(tty) for these monitors?
1
vote
4answers
702 views

less emulate a TTY to preserve piped color output

When you pipe something through less, the program usually discards color codes because it's not outputting to a TTY. So you have to add --color=always to the options for it to work. ls -l ...
1
vote
1answer
271 views

How to start plasma-desktop from SSH-console on desktop session?

I killed KDE's plasma-desktop on a openSUSE 11.2 machine, because it was eating too much CPU. How can I restart it via SSH or another tty session? On the affected computer there is only shown a ...
2
votes
3answers
363 views

Really annoying keyboard screw up when entering sqlplus

Often when using bash I am used to using the keys ^A and ^E to go to the beginning and end of line, and the arrow keys to move from character to character without erasing. Every now and then, I ...
0
votes
3answers
296 views

How can I inherit my aliases and file coloring in SSH shells?

I have noticed that sometimes a shell account that I access over SSH inherits the aliases and file type coloring from my home shell. How does this process occur? These shells are usually BASH but I ...
1
vote
3answers
4k views

How to use sudo from within Windows GUI clients bypassing tty

I need to copy files via ssh but I am getting permission denied. How can I log as a root by windows clients such us FileZilla/WinSCP? I try execute command: sudo su, but I am getting error: You ...
0
votes
0answers
78 views

Establishing “SIGWINFOCUS” as a standard [closed]

As a corrolary to this question, which I've been thinking about since reading it, what would it take to get something like SIGWINFOCUS established as a standard signal along with SIGWINCH? Obviously, ...
2
votes
2answers
768 views

Is there a way to alter the colors used in TTY consoles on Linux?

By "alter colors", I mean something like change black from #000000 to #111111, and by "TTY console", I mean what you get when you do Ctrl+Alt+F1 from X11, not a terminal emulator like xterm or urxvt. ...
3
votes
1answer
2k views

Sending change virtual console command in PuTTY

I'm trying to use PuTTY to change the virtual console on Linux via the usual key commands - Alt + F1 or Ctrl + Alt + F1 etc. However this doesn't work. Switching TTY should be simple and is something ...
3
votes
1answer
710 views

Is there a limit to virtual console TTY's in Linux Based OS'es

The TeleType Consoles in linux can be switched by Ctrl + Alt + F(#TTY). How many such TTY's can linux have at a time? Is there even a limit?
4
votes
5answers
201 views

How to prevent a process from executing in bash

The following command has been entered: sleep 12h; nuke-russia It was entered on one of the Debian's ttys. I would like to cancel the sleep without nuking anything. I don't want the nuke command to ...
0
votes
1answer
700 views

Set up a Serial-to-Ethernet Converter With a Virtual Serial Port in Ubuntu

I have a '3one data' brand serial-to ethernet converter, that plugs into a serial device at one end, and allows bidirectional communications with the device over an ethernet connection, like this: ...
1
vote
2answers
658 views

Displaying text on /dev/tty1

I have a server laptop sitting around at home which is a pretty bland server, on which I generally leave the lid open and there is a login prompt always displayed. However, I'd love to be able to ...
0
votes
2answers
390 views

Determining available TTY text-mode resolutions

How do you determine what text-mode resolutions are available with a graphics card? I have been using uvesafb to get higher resolutions, but framebuffer TTY display is very slow, so I'd like to try ...
2
votes
2answers
732 views

How to access Linux startup tty

I have a problem that is shown at the end of bootstrapping the kernel, just before the screen is cleared and Linux swaps me to tty1 where I can put my login. How can I access the bootstrapping tty ...
1
vote
1answer
782 views

What does “:pts/1:S.0” mean?

From the output of last on RHEL5 user3 pts/6 :pts/1:S.0 Sat Feb 26 04:04 - 05:40 (01:35) user2 pts/7 :0.0 Fri Feb 25 21:32 - 04:53 (07:21) user1 pts/6 ...
2
votes
2answers
618 views

How to get tty shell working directory?

Is it possible to get working directory of any of my tty shells? So\ get working directory of any shell in /dev/ttys??? belonging to me. I use OS X.
0
votes
2answers
872 views

Linux: can't get out of Ctrl-Alt-F7 with no X server running

I'm currently logged in (locally) to a machine and was running in a TTY session without having started an X server. I accidentally Ctrl-Alt-F7'ed bringing me to where the graphical shell would be if ...
2
votes
1answer
420 views

Can i start an X session “background”?

can i start the *DM (e.g. kdm) on tty7, but not present on the screen? For example, i want to stay at tty1 while the login manager is waiting on tty7 on boot.
0
votes
2answers
231 views

Hardware Device that splits a T1 line to 24 TTY Modems?

I have ZERO experience with T1, so I'm having trouble using my usual means of research here. My boss told me there is a type of device that can split a T1 Line into 24 separate TTY Modems. The ...
0
votes
1answer
520 views

PPP connection between PalmOS and Ubuntu (over ttyUSB0?) without crashy “visor” kernel module

I have a Palm Treo 680 which I'd like to use as a media remote, using Palm MPC. Almost the exact instructions on that page used to work perfectly for establishing a PPP connection over the USB cable; ...
3
votes
2answers
6k views

Redirect input from one terminal to another

I have sshed into a linux box and I'm using dvtm and bash (although I have also tried this with Gnu screen and bash). I have two terminals, current /dev/pts/29 and /dev/pts/130. I want to redirect ...

1 2