Windows not starting after tools install

469 views
Skip to first unread message

Petri Oksanen

unread,
Apr 22, 2014, 5:29:44 AM4/22/14
to qubes...@googlegroups.com
Clean install of R2rc1 from DVD and tried to install windows 7 home premium x64

- qvm-create w7h  --hvm --label orange
- qvm-start w7h --cdrom=/usr/local/isos/w7h.iso

after install confirmed that windows starts and logs on automatically.

- qvm-start --install-windows-tools (after issuing sudo qubes-dom0-update qubes-windows-tools, because windows-tools.iso was not found)

Result:

[pete@dom0 ~]$ qvm-run -a w7h cmd.exe
Running command on VM: 'w7h' ...
Starting the VM 'w7h' ...
--> Loading the VM (type = HVM)...
Daemon running with PID 3056
--> Setting Xen Store info for the VM...
--> Updating firewall rules...
--> Starting the VM...
--> Starting the qrexec daemon...
Waiting for VM's qrexec agent...........................................connected
--> Waiting for user 'user' login...
--> Starting Qubes GUId...

And then nothing.

Cannot copy the logs because when trying to 'Copy to Qubes clipboard' I only get:

OSError: [Errno 13] Permission denied:
'/var/run/qubes/appviewer.lock'
at line 60
of file /usr/lib64/python2.7/site-packages/qubesmanager/log_dialog.py.

Also CTRL-Shift-C CTRL-Shift-V CTRL-V doesn't work


Also tried to uninstall windows-tools in debug mode -> after reboot BSOD



Marek Marczykowski-Górecki

unread,
Apr 22, 2014, 5:44:13 AM4/22/14
to Petri Oksanen, qubes...@googlegroups.com
On 22.04.2014 11:29, Petri Oksanen wrote:
> Clean install of R2rc1 from DVD and tried to install windows 7 home premium
> x64
>
> - qvm-create w7h --hvm --label orange
> - qvm-start w7h --cdrom=/usr/local/isos/w7h.iso
>
> after install confirmed that windows starts and logs on automatically.
>
> - qvm-start --install-windows-tools (after issuing sudo qubes-dom0-update
> qubes-windows-tools, because windows-tools.iso was not found)
>
> Result:
>
> [pete@dom0 ~]$ qvm-run -a w7h cmd.exe
> Running command on VM: 'w7h' ...
> Starting the VM 'w7h' ...
> --> Loading the VM (type = HVM)...
> Daemon running with PID 3056
> --> Setting Xen Store info for the VM...
> --> Updating firewall rules...
> --> Starting the VM...
> --> Starting the qrexec daemon...
> Waiting for VM's qrexec
> agent...........................................connected
> --> Waiting for user 'user' login...
> --> Starting Qubes GUId...
>
> And then nothing.

You can start applications (from the KDE menu) in windows VM - then you will
see that application window - same as for Linux VMs. If you want to see full
windows desktop, disable seamless mode in VM settings.

>
> Cannot copy the logs because when trying to 'Copy to Qubes clipboard' I
> only get:
>
> OSError: [Errno 13] Permission denied:
> '/var/run/qubes/appviewer.lock'
> at line 60
> of file /usr/lib64/python2.7/site-packages/qubesmanager/log_dialog.py.
>
> Also CTRL-Shift-C CTRL-Shift-V CTRL-V doesn't work

This will be fixed in updates shortly. For now you need to call "sudo chmod
666 /var/run/qubes/appviewer.lock" in dom0 terminal.

>
>
> Also tried to uninstall windows-tools in debug mode -> after reboot BSOD

This operation removes drivers from windows VM (including drivers for hard
disk). For now you can either reinstall windows, or start in debug mode and
use windows restore to get the drivers back.
We should write somewhere that one should not uninstall tools...

--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

signature.asc

pete

unread,
Apr 22, 2014, 6:01:43 AM4/22/14
to qubes...@googlegroups.com, Petri Oksanen


On Tuesday, April 22, 2014 12:44:13 PM UTC+3, Marek Marczykowski-Górecki wrote:


You can start applications (from the KDE menu) in windows VM - then you will
see that application window - same as for Linux VMs. If you want to see full
windows desktop, disable seamless mode in VM settings.


Tried to start Command Prompt from KDE menu, nothing appears (like R2B3, no visible windows in seamless mode). Also virtual machine w7h's state stays yellow in Qubes VM Manager

 
>
> Cannot copy the logs because when trying to 'Copy to Qubes clipboard' I
> only get:
>
> OSError: [Errno 13] Permission denied:
> '/var/run/qubes/appviewer.lock'
> at line 60
> of file /usr/lib64/python2.7/site-packages/qubesmanager/log_dialog.py.
>
> Also CTRL-Shift-C CTRL-Shift-V CTRL-V doesn't work

This will be fixed in updates shortly. For now you need to call "sudo chmod
666 /var/run/qubes/appviewer.lock" in dom0 terminal.


That works, do you want the logs now?
 

pete

unread,
May 19, 2014, 4:39:01 AM5/19/14
to qubes...@googlegroups.com, Petri Oksanen


On Tuesday, April 22, 2014 1:01:43 PM UTC+3, pete wrote:


On Tuesday, April 22, 2014 12:44:13 PM UTC+3, Marek Marczykowski-Górecki wrote:


You can start applications (from the KDE menu) in windows VM - then you will
see that application window - same as for Linux VMs. If you want to see full
windows desktop, disable seamless mode in VM settings.


Tried to start Command Prompt from KDE menu, nothing appears (like R2B3, no visible windows in seamless mode). Also virtual machine w7h's state stays yellow in Qubes VM Manager


I have now managed to fix this with latest dom0 updates installed:

- Start in Debug mode, de-select "Seamless GUI"
- Assign IP-address manually, DHCP doesn't work after windows tools install
- Change default monitor to be the one which has "on Qubes Video Driver" listed, also I had to select to Extend desktop to this display
- de-select debug mode and select "Seamless GUI"

Now I can start seamless windows applications.


Rafał Wojdyła

unread,
May 20, 2014, 7:30:52 AM5/20/14
to pete, qubes...@googlegroups.com
Could you provide more info about your system configuration, especially
do you have multiple displays/monitors? Also please post the gui agent
log file from around that time if you still have it. It should be in
c:\program files\ITL\Qubes OS Windows Tools\log\gui-agent-[datetime].log

--
Rafał


signature.asc

Petri Oksanen

unread,
May 20, 2014, 9:38:26 AM5/20/14
to qubes...@googlegroups.com, Rafał Wojdyła

Could you provide more info about your system configuration, especially 
do you have multiple displays/monitors? 

It’s normal laptop Lenovo T510 (4384-WGZ) with no external monitors attached


Also please post the gui agent 
log file from around that time if you still have it. It should be in 
c:\program files\ITL\Qubes OS Windows Tools\log\gui-agent-[datetime].log 


Sorry, not running Qubes any more, I may revisit when it’s a bit more mature.

But this behaviour happens only with windows 7 home premium, with windows 7 pro seamless windows worked right out of box (in R2B3, I now have misplaced my win 7 pro media and I never had any license for it) 


-- 
Rafał 


Reply all
Reply to author
Forward
0 new messages