Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upChange default Debian Stretch Xwrapper config to prevent breaking qubes-gui #2370
Comments
andrewdavidwong
added
task
C: Debian
labels
Oct 9, 2016
andrewdavidwong
added this to the Release 3.2 milestone
Oct 9, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Oct 10, 2016
Member
Modifications of user configuration files such as /etc/X11/Xwrapper.conf is always problematic. (Causes interactive dpkg conflict resolution dialogs.)
Is there something like /etc/X11/Xwrapper.conf.d?
Alternatively I guess it would be better to config-package-dev displace /usr/lib/xorg/Xorg.wrap.
Relevant apt-file list xserver-xorg-legacy:
xserver-xorg-legacy: /usr/lib/xorg/Xorg.wrap
|
Modifications of user configuration files such as Is there something like Alternatively I guess it would be better to config-package-dev displace Relevant
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Oct 10, 2016
Member
The /etc/X11/Xwrapper.conf modifications didn't work for me. But sudo mv /usr/lib/xorg/Xorg.wrap ~/ worked for me.
So let's go with config-package-dev displace /usr/lib/xorg/Xorg.wrap?
|
The So let's go with config-package-dev displace |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yilmi
Oct 10, 2016
If /usr/lib/xorg/Xorg.wrap is present it will always be used as default Xorg binary, so we'll go again through /etc/X11/Xwrapper.conf
It seems that Qubes doesn't need to run Xorg as root (see qubes-run-xorg.sh) so in our case the wrapper is useless.
config-package-dev displace on /usr/lib/xorg/Xorg.wrap sound safe.
yilmi
commented
Oct 10, 2016
|
If It seems that Qubes doesn't need to run Xorg as root (see config-package-dev displace on |
added a commit
to adrelanos/qubes-gui-agent-linux
that referenced
this issue
Oct 10, 2016
adrelanos
referenced this issue
in marmarek/old-qubes-gui-agent-linux
Oct 10, 2016
Closed
add xserver-xorg-legacy compatibility #20
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Oct 10, 2016
Member
Doing so in this pull request:
https://github.com/marmarek/qubes-gui-agent-linux/issues/20
|
Doing so in this pull request: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 10, 2016
Member
What about getting rid of xserver-xorg-legacy? Conflicts: xserver-xorg-legacy?
|
What about getting rid of |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
yilmi
Oct 10, 2016
In kali templates, we can't remove it without breaking kali-linux dependencies, the kali-linux meta-package will install packages that depend on xserver-xorg-legacy. (kali-desktop-common)
yilmi
commented
Oct 10, 2016
|
In kali templates, we can't remove it without breaking kali-linux dependencies, the |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Oct 31, 2016
Member
What about getting rid of xserver-xorg-legacy? Conflicts: xserver-xorg-legacy?
That would prevent the kali-linux package from being installed at the same time as qubes-gui-agent.
What could work however is qubes-gui-agent using Provides: xserver-xorg-legacy. Then the kali-linux package should no longer pull in xserver-xorg-legacy since it already is provided.
That would prevent the kali-linux package from being installed at the same time as qubes-gui-agent. What could work however is qubes-gui-agent using |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 31, 2016
Member
What could work however is qubes-gui-agent using Provides: xserver-xorg-legacy. Then the kali-linux package should no longer pull in xserver-xorg-legacy since it already is provided.
Is this better solution? I feel it should be better than modifying/moving file belonging to other package. But that feeling is mostly based on rpm experience.
Is this better solution? I feel it should be better than modifying/moving file belonging to other package. But that feeling is mostly based on rpm experience. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Oct 31, 2016
Member
Marek Marczykowski-Górecki:
What could work however is qubes-gui-agent using Provides: xserver-xorg-legacy. Then the kali-linux package should no longer pull in xserver-xorg-legacy since it already is provided.
Is this better solution? I feel it should be better than modifying/moving file belonging to other package. But that feeling is mostly based on rpm experience.
If that works it should be better indeed. Didn't occur to me earlier
when I wrote above PR.
Maybe qubes-gui-agent should use both:
Provides: xserver-xorg-legacy
Conflicts: xserver-xorg-legacy
I guess we'd have to test various cases.
Case one is xserver-xorg-legacy already installed, then installing newer
qubes-gui-agent.
Case two is having newer qubes-gui-agent already installed, then pulling
kali-linux and see if that stops pulling xserver-xorg-legacy and
otherwise complaining.
Case three is having newer qubes-gui-agent already installed and
manually trying to install xserver-xorg-legacy. Ideally nothing would
happen. Though this use case my not apply to our situation here.
|
Marek Marczykowski-Górecki:
If that works it should be better indeed. Didn't occur to me earlier Maybe qubes-gui-agent should use both: I guess we'd have to test various cases. Case one is xserver-xorg-legacy already installed, then installing newer Case two is having newer qubes-gui-agent already installed, then pulling Case three is having newer qubes-gui-agent already installed and |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 1, 2016
Member
Both Provides: and Conflicts:
Case three is having newer qubes-gui-agent already installed and manually trying to install xserver-xorg-legacy. Ideally nothing would happen. Though this use case my not apply to our situation here.
It tries to replace qubes-gui-agent with xserver-xorg-legacy
Case one is xserver-xorg-legacy already installed, then installing newer qubes-gui-agent.
Upgrade of qubes-gui-agent is prevented, even with apt-get dist-upgrade.
Case two is having newer qubes-gui-agent already installed, then pulling kali-linux and see if that stops pulling xserver-xorg-legacy and otherwise complaining.
This is the only case when it does the job. kali-linux is installed without problem and no longer pulls xserver-xorg-legacy.
Just Provides:
Case one is xserver-xorg-legacy already installed, then installing newer qubes-gui-agent.
qubes-gui-agent is upgraded normally, but xserver-xorg-legacy is not removed. Then it can be removed manually, without removing kali-linux.
Case two is having newer qubes-gui-agent already installed, then pulling kali-linux and see if that stops pulling xserver-xorg-legacy and otherwise complaining.
This works fine.
Case three is having newer qubes-gui-agent already installed and manually trying to install xserver-xorg-legacy. Ideally nothing would happen. Though this use case my not apply to our situation here.
xserver-xorg-legacy is installed normally, no other effects.
Provides:, Conflicts: and Replaces:
This idea is based on https://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.2
Case one is xserver-xorg-legacy already installed, then installing newer qubes-gui-agent.
xserver-xorg-legacy is not removed, qubes-gui-agent upgrade is prevented (both apt-get upgrade and apt-get dist-upgrade).
Case two is having newer qubes-gui-agent already installed, then pulling kali-linux and see if that stops pulling xserver-xorg-legacy and otherwise complaining.
xserver-xorg-legacy is no longer installed, kali-linux is installed correctly.
Case three is having newer qubes-gui-agent already installed and manually trying to install xserver-xorg-legacy. Ideally nothing would happen. Though this use case my not apply to our situation here.
Installation of xserver-xorg-legacy removes qubes-gui-agent.
Conclusion
I think the best option from the above is just Provides: xserver-xorg-legacy. For people having Kali already installed, they have already modified /etc/X11/Xwrapper.conf manually, so shouldn't be a problem. What do you think @adrelanos @unman ?
Both
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Nov 1, 2016
Member
|
Another options would be Provides: as well as Replaces:. But nevermind.
I guess it's better to keep it simple.
So yes, only using Provides: seems like a fine solution.
|
qubenix
referenced this issue
Nov 6, 2016
Closed
Debian stretch: QXcbConnection: Could not connect to display :0 #2418
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Nov 7, 2016
Member
@marmarek Provides: seems a nice simple solution that solves the problem. I'd go for that.
|
@marmarek Provides: seems a nice simple solution that solves the problem. I'd go for that. |
marmarek
closed this
in
marmarek/old-qubes-gui-agent-linux@6419fd6
Nov 8, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 17, 2016
Member
Automated announcement from builder-github
The package qubes-gui-vm-3.2.7-1.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc23-cur-test
label
Nov 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 17, 2016
Member
Automated announcement from builder-github
The package qubes-gui-vm-3.2.7-1.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc24-cur-test
label
Nov 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 18, 2016
Member
Automated announcement from builder-github
The package qubes-gui-agent_3.2.7+deb8u1 has been pushed to the r3.2 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-jessie-cur-test
label
Nov 18, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 18, 2016
Member
Automated announcement from builder-github
The package qubes-gui-agent_3.2.7+deb9u1 has been pushed to the r3.2 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-stretch-cur-test
label
Nov 18, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 4, 2016
Member
Automated announcement from builder-github
The package qubes-gui-agent_3.2.8+deb8u1 has been pushed to the r3.2 stable repository for the Debian jessie template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-jessie-stable
and removed
r3.2-jessie-cur-test
labels
Dec 4, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 4, 2016
Member
Automated announcement from builder-github
The package qubes-gui-vm-3.2.9-1.fc23 has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:
sudo yum update
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-fc23-stable
and removed
r3.2-fc23-cur-test
labels
Dec 4, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 4, 2016
Member
Automated announcement from builder-github
The package qubes-gui-vm-3.2.9-1.fc24 has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:
sudo yum update
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-fc24-stable
and removed
r3.2-fc24-cur-test
labels
Dec 4, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 6, 2016
Member
Automated announcement from builder-github
The package qubes-gui-agent_3.2.8+deb9u1 has been pushed to the r3.2 stable repository for the Debian stretch template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-stretch-stable
and removed
r3.2-stretch-cur-test
labels
Dec 6, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
The bug resurfaced on fresh stretch template (no Kali involved). |
marmarek
reopened this
Oct 22, 2017
marmarek
closed this
in
marmarek/old-qubes-gui-agent-linux@1c7422e
Nov 3, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Nov 3, 2017
Automated announcement from builder-github
The package gui-agent-linux has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Nov 3, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
Nov 3, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Nov 3, 2017
Closed
gui-agent-linux v4.0.6 (r4.0) #288
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Nov 3, 2017
Automated announcement from builder-github
The package qubes-gui-agent_4.0.6-1+deb8u1 has been pushed to the r4.0 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Nov 3, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-jessie-cur-test
label
Nov 3, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Nov 3, 2017
Automated announcement from builder-github
The package qubes-gui-agent_4.0.6-1+deb9u1 has been pushed to the r4.0 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Nov 3, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Nov 3, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Nov 3, 2017
Automated announcement from builder-github
The package pulseaudio-qubes-4.0.6-1.fc24 has been pushed to the r4.0 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Nov 3, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc24-cur-test
label
Nov 3, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Nov 3, 2017
Automated announcement from builder-github
The package pulseaudio-qubes-4.0.6-1.fc25 has been pushed to the r4.0 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Nov 3, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc25-cur-test
label
Nov 3, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Nov 21, 2017
Automated announcement from builder-github
The package pulseaudio-qubes-4.0.7-1.fc26 has been pushed to the r4.0 testing repository for the Fedora fc26 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Nov 21, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Nov 21, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Dec 11, 2017
Automated announcement from builder-github
The package qubes-gui-agent_4.0.7-1+deb8u1 has been pushed to the r4.0 stable repository for the Debian jessie template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Dec 11, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-jessie-stable
and removed
r4.0-jessie-cur-test
labels
Dec 11, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Dec 11, 2017
Automated announcement from builder-github
The package qubes-gui-agent_4.0.7-1+deb9u1 has been pushed to the r4.0 stable repository for the Debian stretch template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Dec 11, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-stretch-stable
and removed
r4.0-stretch-cur-test
labels
Dec 11, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Dec 11, 2017
Automated announcement from builder-github
The package gui-agent-linux has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Dec 11, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-centos7-stable
and removed
r4.0-centos7-cur-test
labels
Dec 11, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Dec 12, 2017
Automated announcement from builder-github
The package pulseaudio-qubes-4.0.7-1.fc24 has been pushed to the r4.0 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Dec 12, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-fc24-stable
and removed
r4.0-fc24-cur-test
labels
Dec 12, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Dec 12, 2017
Automated announcement from builder-github
The package pulseaudio-qubes-4.0.7-1.fc25 has been pushed to the r4.0 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Dec 12, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-fc25-stable
and removed
r4.0-fc25-cur-test
labels
Dec 12, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Dec 12, 2017
Automated announcement from builder-github
The package pulseaudio-qubes-4.0.7-1.fc26 has been pushed to the r4.0 stable repository for the Fedora fc26 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Dec 12, 2017
|
Automated announcement from builder-github The package
|
andrewdavidwong commentedOct 9, 2016
Branched from: #1981 (comment) by @yilmi
In Debian Stretch, the default wrapper configuration in
/etc/X11/Xwrapper.confshould be: