From a610ec51d046bd27cec39601c3de04d81c18fdc2 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 7 Apr 2011 19:23:23 +0200 Subject: [PATCH] Automaticaly start qubes_guid for all VMs when user logon This is needed ex for NetVM, which is started without qubes_guid --- dom0/qubes-guid.desktop | 7 +++++++ rpm_spec/core-dom0.spec | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 dom0/qubes-guid.desktop diff --git a/dom0/qubes-guid.desktop b/dom0/qubes-guid.desktop new file mode 100644 index 00000000..0bf5e3d1 --- /dev/null +++ b/dom0/qubes-guid.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Qubes Guid +Comment=Starts Dom0 GUI daemon for Qubes VMs +Icon=qubes +Exec=qvm-run --all true +Terminal=false +Type=Application diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 530543c7..1e196665 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -134,6 +134,9 @@ install -D ../u2mfn/libu2mfn.so $RPM_BUILD_ROOT/%{_libdir}/libu2mfn.so install -d $RPM_BUILD_ROOT/etc/sudoers.d install -m 0440 qubes.sudoers $RPM_BUILD_ROOT/etc/sudoers.d/qubes +install -d $RPM_BUILD_ROOT/etc/xdg/autostart +install -m 0644 qubes-guid.desktop $RPM_BUILD_ROOT/etc/xdg/autostart/ + %post # Create NetworkManager configuration if we do not have it @@ -286,3 +289,4 @@ fi %{_libdir}/libvchan.so %{_libdir}/libu2mfn.so /etc/sudoers.d/qubes +/etc/xdg/autostart/qubes-guid.desktop