Re: Question on /usr/bin/import for CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 13 Jan 2017 15:51:08 -0500
Jerry Geis wrote:

> However if I run the command using a shell script on a machine its not
> working.
> So in my script I have:
> export DISPLAY=:0.0
> /usr/bin/import -silent -window root screen.png

Does  the machine you're running the shell script on have an active X11 display?  You can't screenshot a desktop that doesn't exist.

Does your user own the desktop that you're trying to screenshot?

Is your user on the current access control list and allowed to connect to the desktop?

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux