Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Difference between console and ttys Post 302326563 by vbe on Thursday 18th of June 2009 08:06:48 AM
Old 06-18-2009
OK
the best is to see who is connected:
Code:
who -uA

but syntax may be different (have no MacOSX...) so type man who
Since I have also no workstation like you but a PC with an Xserver installed to connect to the parc of boxes I administer this is my ouput:
Code:
ard # who -uA
vbe        pts/0        Jun 15 12:24   .     5252  160.XX.YY.85:0.0
vbe        ttyp1        Jun 18 13:42   .     7857  160.XX.YY.85:0.0
vbe        dtremote     Jun 15 12:10  old    5160  160.XX.YY.85:0

the dtremote is the initial connection (the graphic screen where you enter you name and passwd) then in the GUI in oder to work and type commands I have to open a terminal: pts/0 , in that terminal I typed:
Code:
ard # hpterm -C -T "ard Console"&
[1]     7856
ard # hpterm: display "160.XX.YY.85:0.0" is not authorized to take control of /dev/console

Saying I cant take control of that server's console since it has one and its active...
but it opened a new terminal : ttyp1

Remember UNIX is a preemptive multitasking multi-user system
And so each time you open a new "window" if that window is a terminal, it is like a new connection...

And so your main concern is to check you have no unwanted foreign connections to your system
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ttys.. i must be doing something wrong..

SCO Unix OpenServer 5 I have this old impact printer that prints invoices, after about 15 pages it becomes misaligned. ditty -a ttya04 shows -ixon -ixoff -ixany, which is not the right setting.. so, i type ditty /dev/ttya04 ixon ixoff -ixany when i ditty -a ttya04 again, the... (2 Replies)
Discussion started by: LowOrderBit
2 Replies

2. Programming

what difference between "terminal" and "console"

1 . Thank you for reading the post first. 2 . what difference between "terminal" and "console" (1 Reply)
Discussion started by: chenhao_no1
1 Replies

3. UNIX for Advanced & Expert Users

Dead pseudo-ttys

We are having a problem on an AIX 4.3 system, whereby users somehow exit the system in a way such that their process continues to run. In the who listing, the user may or may not be listed. Processes are still listed in ps, and are still assigned to the pseudo-tty. Processes continue to... (1 Reply)
Discussion started by: markat2k
1 Replies

4. AIX

Difference between tty and console devices ?

Hi, What is the diference between these two ? thanks Vilius (3 Replies)
Discussion started by: vilius
3 Replies

5. Programming

What is the difference between console-based and xwindow-based application?

Hi everyone, What is the difference between console-based and Xwindow-based application? Can I say the application working well in Xwindows can work in console? Can I say the application working well in console cann't work in Xwindow perhaps. Eg, ncurses is console-based and Imlib2 is... (4 Replies)
Discussion started by: liuyan03
4 Replies

6. AIX

all pseudo ttys busy, AIX 5.2

I have several users connecting via a Windows-based SSH\telnet client. The previous sysadmin used FacetTerm to allow certain users to switch between multiple "windows." I'm told there are AIX-native ways to do this but I work with what I inherited. Originally, many users were still connecting... (3 Replies)
Discussion started by: lacroix
3 Replies

7. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

:confused:Hi This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons. I get a whole bunch of errors when starting the service too: Tue Feb 23 14:29:45 2010 ... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

8. Solaris

Difference between the desktop session and console session

what is the difference between desktop session and console session in solaris as i am wondering we use option -text for the former and -nowin for the later (1 Reply)
Discussion started by: kishanreddy
1 Replies

9. UNIX for Dummies Questions & Answers

Difference between console and Terminal.

I see these terms used all the time with hardly any distinction between the two. Any clarification would be appreciated!:) I could only get emacs to open in console so I was also wondering what are the common applications to use in console.:wall: (7 Replies)
Discussion started by: theKbStockpiler
7 Replies

10. UNIX for Dummies Questions & Answers

Difference between system console and ILOM .

HI Guru's Can any one explain me the difference between a system console and a ILOM (SC). Thanks in Advance. RK :) (4 Replies)
Discussion started by: rama krishna
4 Replies
GETTY(8)						    BSD System Manager's Manual 						  GETTY(8)

NAME
getty -- set terminal mode SYNOPSIS
getty [type [tty]] DESCRIPTION
The getty utility is called by launchd(8) to open and initialize the tty line, read a login name, and invoke login(1). The argument tty is the special device file in /dev to open for the terminal (for example, ``ttyh0''). If there is no argument or the argu- ment is '-', the tty line is assumed to be open as file descriptor 0. The type argument can be used to make getty treat the terminal line specially. This argument is used as an index into the gettytab(5) data- base, to determine the characteristics of the line. If there is no argument, or there is no such table, the default table is used. If there is no /etc/gettytab a set of system defaults is used. If indicated by the table located, getty will clear the terminal screen, print a ban- ner heading, and prompt for a login name. Usually either the banner or the login prompt will include the system hostname. Most of the default actions of getty can be circumvented, or modified, by a suitable gettytab table. The getty utility can be set to timeout after some interval, which will cause dial up lines to hang up if the login name is not entered rea- sonably quickly. FILES
/etc/gettytab /etc/ttys DIAGNOSTICS
ttyxx: No such device or address. ttyxx: No such file or address. A terminal which is turned on in the ttys file cannot be opened, likely because the requisite lines are either not configured into the sys- tem, the associated device was not attached during boot-time system configuration, or the special file in /dev does not exist. SEE ALSO
login(1), ioctl(2), tty(4), gettytab(5), ttys(5), launchd(8) HISTORY
A getty utility appeared in Version 6 AT&T UNIX. BSD
June 4, 1993 BSD
All times are GMT -4. The time now is 04:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy