Eric at Lucii.org on 21 Oct 2010 11:11:55 -0700


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

Re: [PLUG] Xvfb question


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Heh, nevermind.

"seeing" the display created by Xvfb is relatively easy.

Example:
  Xvfb :1 -screen 0 1024x768x16 -ac &
  DISPLAY=:1.0 mozilla file:///srv/apps/siteimage/maximise.htm &
  DISPLAY=:1.0 mozilla -remote "openURL(http://www.domain.com)" &
  xwd -display 1:0 -root -out tmpout
  convert -size 1024x768 -thumbnail 1024x768 tmpout image1.jpg
  display image1.jpg

It's far easier to just run the program in your current display.
To quote Homer Simpson: DOH!

It was a classic case of mis-reading the original post... I was thinking it
worked something like VNC.

Eric


On 10/21/2010 10:19 AM, Eric at Lucii.org wrote:
> I'm running Ubuntu 10.04.
> 
> If I run a program under Xvfb it creates a new X instance on another display.
> 
> For example:  Xvfb :1.0
> 
> How do I connect to that display to see what "program" is doing?
> 
> It's not mapped to any of the ctrl-alt-Fn keys so I don't know where it "is" or
> how to see it.
> 
> Eric
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzAglIACgkQ2sGpvXQrZ/5fhACgp9qA4h6NePHUloxAbZLXTvOF
5fcAn0BdJsfUp1/v0RGAeXhl9rWVTMRz
=D87S
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug