aboutsummaryrefslogtreecommitdiffstats
path: root/vconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'vconsole.c')
-rw-r--r--vconsole.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vconsole.c b/vconsole.c
index bd28515..70ccfa7 100644
--- a/vconsole.c
+++ b/vconsole.c
@@ -398,6 +398,7 @@ static void run_virt_viewer(struct vconsole_domain *dom,
} else {
/* child */
prepare_exec();
+ setenv("GDK_BACKEND", "x11", true);
execvp("virt-viewer", argv);
perror("execvp");
exit(1);