Tag Info

New answers tagged

2

If you take a look through /etc/init folder, the command responsible for bringing up TTY is getty. For each TTY there is a *.conf file in /etc/init , so if you want colorized prompt on every TTY, you will have to edit every single one of those files. Now, the file responsible for the contents of that appear on the screen before logging in is /etc/issue, ...


0

See man screen, it says, in part: DESCRIPTION Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, several control functions from the ISO 6429 (ECMA ...


0

This link might help: http://stackoverflow.com/questions/4426280/what-do-pty-and-tty-mean Some very good explanations there. tty stands for teletype - the original terminals used a line printer for output (as opposed to a screen or terminal as you find today) and a keyboard for input. A pty is a pseudo-terminal. Both terms have survived the annals of ...


0

I'm using following method for tty: cp ~/.xinitrc ~/.xinitrc.old # if they exist echo "exec unity" > ~/.xinitrc # or "exec gnome-session --session=ubuntu" sudo startx -- :1 And i have full-featured session Desktop Environment. BUT, if you go to another tty, session will be broken.


0

You c ould use expect to automate the process, altenatively, you could write username and password as variables, and call them in your script. You could also read them in from user input. I think the simplest way would be to use epect though, which can easily handle things like dealys, and stepping thought interactive processes. an example login script with ...


1

I ended up being able to resolve this with the help of xinput and figuring out that the keys were working, I just needed to be holding down the fn key.



Top 50 recent answers are included