Automaticaly start qubes_guid for all VMs when user logon

This is needed ex for NetVM, which is started without qubes_guid
This commit is contained in:
Marek Marczykowski 2011-04-07 19:23:23 +02:00
parent bd56c4709f
commit a610ec51d0
2 changed files with 11 additions and 0 deletions

7
dom0/qubes-guid.desktop Normal file
View File

@ -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

View File

@ -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