Re: Print screen??

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 04/19/04

  • Next message: Tim Haynes: "Re: How to become a System Administrator?"
    Date: Mon, 19 Apr 2004 06:08:19 GMT
    
    

    On Mon, 19 Apr 2004 05:52:56 GMT, Alan Connor <zzzzzz@xxx.yyy> wrote:
    >
    >
    > On 19 Apr 2004 05:26:33 GMT, John DuBois <spcecdt@deeptht.armory.com> wrote:
    >>
    >>
    >> In article <7augc.10041$hw5.8115@attbi_s53>,
    >> Gene Brabston <g.brabston@mchsi.com> wrote:
    >>>Is there a way to print the contents on the monitor with unix like the
    >>>"shift - Prt Sc" with DOS?
    >>
    >> If you're trying to capture a text screen, you can try these:
    >>
    >> ftp://ftp.armory.com/pub/scobins/dumpscreen
    >> Reads directly from video memory, so only works on the console and only works
    >> for root.
    >>
    >> ftp://ftp.armory.com/pub/scripts/capture
    >> Works on any device that supports the media copy sequence, and for any user
    >> with read permission on the device. Not as reliable as dumpscreen, though.
    >>
    >> John
    >
    > For the console, as root (unless you change the ownership of the device file):
    >
    > cat /dev/vcs? > file
    >
    > Where "?" is the number of the tty...
    >
    > If you use the pty manager "screen" (text mode) screenshots are just a
    > couple of keystrokes.
    >
    > Got to be a way to do this with X.
    >
    > I've crossposted the this to comp.os.linux.x

    This looks like it might do the trick:

    XWD(1) XWD(1)

    NAME
           xwd - dump an image of an X window

    SYNOPSIS
           xwd [-debug] [-help] [-nobdrs] [-out file] [-xy] [-frame] [-add value] [-root | -id id |
           -name name ] [-icmap] [-screen] [-display display]

    DESCRIPTION
           Xwd is an X Window System window dumping utility. Xwd allows X users to store window images
           in a specially formatted dump file. This file can then be read by various other X utilities
           for redisplay, printing, editing, formatting, archiving, image processing, etc. The target
           window is selected by clicking the pointer in the desired window. The keyboard bell is rung
           once at the beginning of the dump and twice when the dump is completed.

    AC

    -- 
    Pass-List -----> Block-List ----> Challenge-Response
    The key to taking control of your mailbox.
    Design Parameters: http://tinyurl.com/2t5kp
    http://tinyurl.com/3c3ag  Challenge-Response links -- http://tinyurl.com/yrfjb
    

  • Next message: Tim Haynes: "Re: How to become a System Administrator?"

    Relevant Pages

    • kernel allows loadkeys to be used by any user, allowing for local root compromise
      ... It does not just apply to the current virtual console ... > Then log out and let root login (in a computer pool, ... > As a solution, I propose that the loadkeys command (or more exactly, the ... Most of the VT ioctls are only garded by the following permissions, ...
      (Linux-Kernel)
    • Re: Print screen??
      ... >> Reads directly from video memory, so only works on the console and only works ... >> for root. ... >> Works on any device that supports the media copy sequence, ...
      (comp.os.linux.x)
    • Re: Print screen??
      ... >> Reads directly from video memory, so only works on the console and only works ... >> for root. ... >> Works on any device that supports the media copy sequence, ...
      (comp.unix.sco.misc)
    • Re: Problem with xterm/console
      ... I'd really like to start working as a standard user ... exactly like you wrote above - use root only when it's needed. ... >>console) works perfectly. ... if you're installing packages from rpm's (as you ought to be ...
      (Fedora)
    • Re: cannot log in via console, cannot su(1), only as root
      ... questions@xxxxxxxxxxx] On Behalf Of martinko ... cannot log in via console, cannot su, only as root ... suto a normal user (it even doesn't ask for password a throws ...
      (freebsd-questions)