mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1505] Gnome-terminal stops working after stopping xpra #1005
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hahjortland on GitHub (Aug 30, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1505
Steps to reproduce
xpra start :20xpra stop :20Tested on Ubuntu 16.04.
Analysis
xpra starts
/etc/X11/Xsession,which runs
/etc/X11/Xsession.d/95dbus_update-activation-env,which runs
dbus-update-activation-environment.This results in (from ~/.xsession-errors):
When DBUS spawns gnome-terminal-server, it tries to connect to
DISPLAY=:20. Since this display number is invalid after xpra has closed, gnome-terminal-server fails to start:Workaround
The problem can be prevented by unsetting DBUS_SESSION_BUS_ADDRESS:
Quick fixes after running
xprawithout this workaround:xpraagain, orgnome-terminalusing the commandgnome-terminal --disable-factory, orDISPLAYvalue withdbus-update-activation-environment DISPLAY=:0.@netblue30 commented on GitHub (Sep 2, 2017):
Is this related to firejail?
@hahjortland commented on GitHub (Sep 3, 2017):
No, it's not directly related to firejail. Starting xpra inside an already running desktop session like this is maybe a bit unusual, though.