Hello gurus I don't need VNC. How can i take control of another text session in my server (ssh/telnet), i want to help my users with their work, i want to see and correct what they type in their screen. Tried ttysnoop but with no results. Greetings Oxiel
On Mon, Dec 20, 2004 at 06:29:42PM -0400, Oxiel Contreras wrote:
Hello gurus
How can i take control of another text session in my server (ssh/telnet), i want to help my users with their work, i want to see and correct what they type in their screen.
screen -- (o< |) //\ ..may the beacon /\obt. V_/_ pass you by.. /\/\iller 5:26pm up 24 days, 1:04, 19 users, load average: 0.21, 0.10, 0.02 processes 690167
screen
how do i take control? oxiel:/etc # w 18:47:12 up 6:55, 3 users, load average: 0.12, 0.17, 0.12 USER TTY LOGIN@ IDLE JCPU PCPU WHAT quique tty1 18:41 4.00s 0.03s 0.03s -bash quique :0 11:53 ?xdm? 7:05 0.01s -:0 root pts/6 18:41 0.00s 0.08s 0.00s w i want to take control of tty1 screen /dev/tty1 but the screen doesn't show nothing, will these work with ssh sessions too??
On Mon, Dec 20, 2004 at 06:48:25PM -0400, Oxiel Contreras wrote:
screen
how do i take control?
oxiel:/etc # w 18:47:12 up 6:55, 3 users, load average: 0.12, 0.17, 0.12 USER TTY LOGIN@ IDLE JCPU PCPU WHAT quique tty1 18:41 4.00s 0.03s 0.03s -bash quique :0 11:53 ?xdm? 7:05 0.01s -:0 root pts/6 18:41 0.00s 0.08s 0.00s w
i want to take control of tty1
screen /dev/tty1
but the screen doesn't show nothing, will these work with ssh sessions too??
screen is a program that you want to have running before you try to see what's going on. If you have it installed type .. man screen ..for instructions. -- (o< |) //\ ..may the beacon /\obt. V_/_ pass you by.. /\/\iller 5:46pm up 24 days, 1:24, 19 users, load average: 0.06, 0.03, 0.02 processes 690577
El Lun 20 Dic 2004 18:47, Robt. Miller escribió:
On Mon, Dec 20, 2004 at 06:48:25PM -0400, Oxiel Contreras wrote:
screen
how do i take control?
oxiel:/etc # w 18:47:12 up 6:55, 3 users, load average: 0.12, 0.17, 0.12 USER TTY LOGIN@ IDLE JCPU PCPU WHAT quique tty1 18:41 4.00s 0.03s 0.03s -bash quique :0 11:53 ?xdm? 7:05 0.01s -:0 root pts/6 18:41 0.00s 0.08s 0.00s w
i want to take control of tty1
screen /dev/tty1
but the screen doesn't show nothing, will these work with ssh sessions too??
screen is a program that you want to have running before you try to see what's going on. If you have it installed type .. man screen ..for instructions.
too cryptic, some example please, if i have a user logged via ssh at pts/8 and i'm root at pts/6, how do i connect to his session??? thanks Oxiel
Well after a long looooong reading it's running now. :) But i've a problem with the display, i need to work with Informix, when the client starts the application, the display gets totally distorted. Clients work with TERM=xterm without problems, but when they start screen, the variable changes to TERM=screen and problems arise, now /etc/screenrc has: termcapinfo xterm* G0:is=\E[?4l\E> termcapinfo linux me=\E[m:AX I think Informix work with terminfo, how can i solve these, swear i've read all the screen's man, the terminal howto, and a bunch of webpages, but can't make it work yet. I added "dumptermcap" to /etc/screenrc but doesn't help either. Greetings Oxiel El Lun 20 Dic 2004 19:01, Oxiel Contreras escribió:
El Lun 20 Dic 2004 18:47, Robt. Miller escribió:
On Mon, Dec 20, 2004 at 06:48:25PM -0400, Oxiel Contreras wrote:
screen
how do i take control?
oxiel:/etc # w 18:47:12 up 6:55, 3 users, load average: 0.12, 0.17, 0.12 USER TTY LOGIN@ IDLE JCPU PCPU WHAT quique tty1 18:41 4.00s 0.03s 0.03s -bash quique :0 11:53 ?xdm? 7:05 0.01s -:0 root pts/6 18:41 0.00s 0.08s 0.00s w
i want to take control of tty1
screen /dev/tty1
but the screen doesn't show nothing, will these work with ssh sessions too??
screen is a program that you want to have running before you try to see what's going on. If you have it installed type .. man screen ..for instructions.
too cryptic, some example please, if i have a user logged via ssh at pts/8 and i'm root at pts/6, how do i connect to his session???
thanks
Oxiel
Merry Christmas to all!!! Thanks for all who helped, your guidance was really useful!!! For anyone who ever needs to control a session through konsole (i'll use this for "helpdesk" to my users of an Informix application), working with SuSE9.1/SLES9 x86 and screen preloaded from the media. 1.- The file /etc/screenrc must be this way: termcapinfo xterm* G0:is=\E[?4l\E> termcapinfo linux me=\E[m:AX multiuser on acladd root 2. Working with a termcap file gently borrowed from Graham Smith, which you can ask me anytime, you have to ensure you enable these variables to all users, in my case i added to a shell which presents a menu of my app., lets say dbgmenu.sh: export INFORMIXTERM=termcap export TERM=vt100 export TERMCAP=/opt/informix/etc/termcap ...... 3. User XXX starts the app. via his .bashrc screen dbgmenu.sh 4. I (as root) take control of his session with: screen -x -r XXX/ 5. When i finish to help him, i close my session with: Ctrl+a+d Greetings Oxiel
I don't know if this is still relevant now or not, but I remember a few years ago a utility/script called kabitz or something like that. It required starting the shell / text app with the kabitz command though. I didn't find a google on it, does anyone else remember this one? B-) On Monday 20 December 2004 03:29 pm, Oxiel Contreras wrote:
Hello gurus
I don't need VNC.
How can i take control of another text session in my server (ssh/telnet), i want to help my users with their work, i want to see and correct what they type in their screen.
Tried ttysnoop but with no results.
Greetings
Oxiel
The Monday 2004-12-20 at 15:33 -0700, Brad Bourn wrote: This is old, but I was moving mail somewhere else, and saw this thread.
I don't know if this is still relevant now or not, but I remember a few years ago a utility/script called kabitz or something like that. It required starting the shell / text app with the kabitz command though.
I didn't find a google on it, does anyone else remember this one?
B-)
Some weeks ago I was reading a book in bed, and I chanced on a Linux one (Guia Avanzada Administración de Sistemas Linux - Linux System Administration (translated to Spanish), Prentice Hall Iberia). And I happened to look at what you mention (Atomization chapter). The script is called "kibitz", and it is an "expect" script. It is described to allow two or more users to collaborate into the same shell session, reading and writing. It can support programs like vi and xemacs. It says that almost every distribution of Linux has it, and... yes, indeed, SuSE has it! SuSE 9.1, package expect-5.40-27.i586.rpm /usr/bin/kibitz /usr/bin/xkibitz also, perhaps, /usr/share/doc/packages/perl-Expect/examples/kibitz -- Cheers, Carlos Robinson
participants (5)
-
Brad Bourn
-
Carlos E. R.
-
Jake Pumphrey
-
Oxiel Contreras
-
Robt. Miller