Q4rc4 :: Fedora AppVM Screenshot-Tool only generates black window

67 views
Skip to first unread message

[799]

unread,
Feb 15, 2018, 5:15:51 PM2/15/18
to qubes-users
Hello,

I am migrating most of my work tasks to Qubes but found out, that I can't use the screenshot tool in the Fedora based AppVM.

When I launch the screenshot tool, I can launch a screenshot, which covers another window are part of the screen with a window from the same AppVM, but the screenshot only result in a black copy, the content is not shown.

I am using a Fedora 26 AppVM based on the default Fedora template which comes with Qubes 4rc4.
I have updated the template to the latest version.

Can someone verify if this is a really a bug or what I need to do to get screenshots working.
Most of my work involved creating screenshots for troubleshooting and documentation.

Regards

[799]

--
Qubes 4rc4 > Lenovo X230 + Lenovo W540




schnuren...@gmail.com

unread,
Feb 15, 2018, 9:28:33 PM2/15/18
to qubes-users

So you want my brain involved to troubleshoot your screenshot problem to get your brain back to work creating screenshots for troubleshooting?
Because you are the first one since release of qubes 4.0 rc4 (first handy information), you should provide some more information than telling us the standard template everyone else using qubes 4.0 rc4 also have.
In example what video device does lspci list?
What processor are you using?
Any modifications in grub config files?
Ask yourself some questions what may be of interest.
Have you started your template one more time to (maybe) finish some system tasks?

Have you tried turning it off and on again?

[799]

unread,
Feb 16, 2018, 1:23:21 AM2/16/18
to schnuren...@gmail.com, qubes...@googlegroups.com
Hello Schnurenentwickler,

-------- Original-Message --------

An 16. Feb. 2018, 03:28, "Schnurentwickler" wrote:

> So you want my brain involved to troubleshoot
> your screenshot problem to get your brain
> back to work creating screenshots for
> troubleshooting?

Yes something like that, collaborative troubleshooting is always better.
Seriously of course I want to get screenshots working asap but I also don't want to see that a newbie users, tries Qubes run into the same problem and thinks "boo, the Linux moment again - nothing works".
(this is the attitude of my "windows colleques")



> In example what video device does lspci list?

The lenovo W530 has two GPUs:
1) Intel HD 4000
2) nVidia Quadro K2000M

Are you interested in lspci of the AppVM or in dom0?
Screenshots in dom0 are working btw. I'll check if screenshots are working in a Debian based AppVM and if I run an unchanged Fedora 26 template App VM (as I have updated the templates).



> What processor are you using?

Intel Core i7-3820QM (4x 2.70 GHz, 8MB cache)



> Any modifications in grub config files?

Yes, only to add Windows as dual boot and to disable graphical grub selection menu:

GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DISABLE_SUBMENU=true
#GRUB_TERMINAL_OUTPUT="gfxterm"
#start disable graphical grub
GRUB_TERMINAL=console
GRUB_GFXPAYLOAD_LINUX=text
#end disable graphical grub
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks- rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.preliminary_hw_support=1 rhgb quiet"
GRUB_CMDLINE_XEN_DEFAULT="console=none dom0_mem=min:1024M dom0_mem=max:4096M" iommu=no-igfx
GRUB_DISABLE_RECOVERY="true"
GRUB_THEME="/boot/grub2/themes/system/theme.txt"
GRUB_DISABLE_OS_PROBER="true"
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX rd.qubes.hide_all_usb"



> Have you started your template one more
> time to (maybe) finish some system tasks?

I have cloned the Fedora 26 template and added some basic packages needed for productivity, but this shouldn't do anything to the default screenshot tool
sudo dnf -y install libreoffice mc nano gimp pass mlocate git screen wget emacs



> Have you tried turning it off and on again?

:-) yes, but normally this is my quote.

[799]

[799]

unread,
Feb 16, 2018, 1:38:32 AM2/16/18
to schnuren...@gmail.com, qubes...@googlegroups.com
Additional Info:

I have tested the screenshot tool in an unchanged Fedora 26 template, no content is shown after screenshoting.
Instead of my first post, the screenshot is only shown as a white (not black) area.

The screenshot tool is working in dom0.

I have run lspci in dom0:

00:02:0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev all)

[799]

-------- Original-Nachricht --------
--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/smWAwVYOjPnUu2QsYkjbPMO7C_w3Y5jWSCo9u6-uzDWQUmcmYYYZHMI-D7Z0zNSJUH8K1wneZA0IFevxxQVAnQ98j3NNH5Gin67JbkoaGlc%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.

bill...@gmail.com

unread,
Feb 16, 2018, 8:53:04 AM2/16/18
to qubes-users
On Friday, February 16, 2018 at 1:38:32 AM UTC-5, [799] wrote:
> Additional Info:
>
> I have tested the screenshot tool in an unchanged Fedora 26 template, no content is shown after screenshoting.
> Instead of my first post, the screenshot is only shown as a white (not black) area.
>
> The screenshot tool is working in dom0.
>
> I have run lspci in dom0:
>
> 00:02:0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
>
> 01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev all)
>

I have to admit that I'm fairly new to this OS, but it seems to me you don't really want a screen capture program to work out of one of the vms. That would break the compartmentalization badly, I think. As you note, it works in dom0 (as it does with me), and that's where it should work.

I'm more used to VirtualBox than Xen, so the way I get my head around Qubes is to think of it simply as a very highly granular Virtualbox setup. In VirtualBox, if you open up a Windows desktop and use the screenshot program in that, you *only* expect it to work *on that desktop.* You can't open a screenshot program in the Windows desktop and get a shot of the Fedora desktop.

The same thing would be true here, except the vms don't have desktops -- only windows. So... there's no desktop to take a screenshot of, except for dom0. It seems to me that if my fedora vm could take a shot of the entire screen, then the whole compartmentalization thing would be shot to hell.

I may be wrong -- I'm not an expert here -- but I simply wouldn't expect it to work. There's this ironclad rule in life that usability and security are inversely related. You can mitigate it a little, or make it worse. The TSA for instance (for those of you outside the US, the TSA is our airport security service) maximizes inconvenience for a minimal to moderate increase in security. Qubes attempts to minimize inconvenience for a maximal increase in security. But the relationship still exists. Security is *always* inconvenient.


billo

[799]

unread,
Feb 16, 2018, 12:39:31 PM2/16/18
to bill...@gmail.com, qubes...@googlegroups.com

Hello,


> I have to admit that I'm fairly new to this OS,
> but it seems to me you don't really want a
> screen capture program to work out of one of
> the vms. That would break the
> compartmentalization badly, I think. As you
> note, it works in dom0 (as it does with me),
> and that's where it should work. 

As dom0 is not connected to the web, which is good of course, You would need to transfer after the screenshot over via qvm-copy or one the helper scripts, then open the screenshot, copy it to the clipboard and then paste it to the wiki (the wiki supports copy and paste and that's why I want a quick workflow).
This is not a solution if you are used to write documentation with > 50 screenshots.

Of course I am only using the screenshot tool from within one and the same AppVM not between AppVMs.

Use Case:
- launching my Office AppVM
- opening our Ticketsystem (web-based)
- opening our Wiki (webbased)

I need to make screenshot to document stuff from the Ticketsystem.
We are only talking about screenshots within one (1) AppVM.

This is a common use case and must be supported.

[799]




--
Qubes 4rc3 > Lenovo X230 + Lenovo W540

PS: Top posted as Protonmail reply inline removes linebreaks :-/



-------- Original-Nachricht --------
--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages