I get a Blank screen when using Windows IoT Remote Client - windows-10-iot-core

My Setup:
Windows 10 VM running in VirtualBox on Windows 7 Pro
Raspberry Pi 3 running Windows 10 IoT Core - 10.0.16299.19
The VM can see the RaspberryPi/Wionows IoT
I know this because:
On the VMI I can Install and Debug from Visual Studio 2017 to the Pi.
On the VM the IoT Dashboard detects the PI and allows me to change
settings
On the VM I can access the Pi's Device Portal
On the VM I can use Powershell to log in to the Pi.
What I can't do is use Windows IoT Remote Client. Which I want so I can see changes produced by my code.
When I start the client I get the spinning buffer animation followed by a blank, white screen.
I have tried the following as recommended in web articles:
Reset the Pi resolution to 800x600 - This killed the Pi's ability to
display at all; including on the attached HDMI.
Checked Enable Windows IoT Remote Server in Device Portal. - This is
set to On
Disconnected the HDMI from the Pi - Made no difference.
Typed the following into an Admin level PowerShell:
net start WinRM
Set-Item WSMan:\localhost\Client\TrustedHosts -Value
PiName
This allowed Powershell access but no change to Remote Desktop
What should I try next?

On version 16299,the Windows IoT Remote client does not work for Raspberry Pi. Please reference the know issue of release notes for Windows 10 IoT 16299.Currently you can attach a monitor for local display.

Try starting the NanoRDP server manually (not through the web interface) and see if that helps. That has solved a few issues for me.
I believe the executable is in c:\windows\ and is called nanordpserver.exe. just SSH or Powershell into the device, run nanordpserver.exe and try again.
The lightweight RDP protocol that IoT Core uses is not as robust as the version installed on the full Windows 10 OS.

Related

Change a Windows Server 2016 Machine From GUI to Core

We have a Windows machine that when remoted into, the only thing that comes up is a command prompt. I'm under the impression that this machine is set to being Windows Core. I'm looking to do this to another one of our machines (Windows Server 2016) but the machine is already setup and running with the desktop GUI. Is it possible to change / retroactively put the machine back to Windows Core?
install(GUI), unistall (core) Roles and Features -> User Interfaces and Infrastructure

Webserver on windows 10 IOT?

Can I create a webapplication on my windows 10 IOT running device (R-PI 3)?
On other PI's I've got Debian running with LightHttpd, but I can't seem to find anything on a webserver on Win10 IOT device.
I did see some examples on self creating a -very simple- webserver (ie listening on a port) but there should be more than that?
PS
I added 2 tages: Windows IOT and Windows-10-IOT-Core.... are these the same?
Can I create a webapplication on my windows 10 IOT running device
(R-PI 3)?
Yes, you can start with Hello blinky official sample. There are also Python and Node.js supported.
Using ASP.NET, you can publish Web Application on Windows IoT core. (Note the version of ASP.NET, more detailed information is here.)
And, restup is a HTTP server for universal windows platform (UWP) apps that can run on Raspberry Pi with Windows IoT core.
PS I added 2 tages: Windows IOT and Windows-10-IOT-Core.... are these
the same?
Windows IoT core is an edition of Windows 10 differs from desktop and mobile editions. It is optimized for smaller devices with limited resources, such as Raspberry Pi 2 and 3.
Window IoT is something about Internet of Things you can create with Windows.
For tags in SO, "Windows IoT core" and "Window IoT" have identical function.
There are a couple of ways to do this that I've come across which might interest you:
1) As you suggest, it is very simple as you suggest to write you're own server app or app service that listens on a port and responds. Here is a decent example which was easy to follow and implement:
https://sandervandevelde.wordpress.com/2016/04/08/building-a-windows-10-iot-core-background-webserver/
2) Also, it is possible to develop a plugin for Windows Device Portal (WDP) by following the instructions here:
https://learn.microsoft.com/en-us/archive/msdn-magazine/2017/october/windows-device-portal-write-a-windows-device-portal-packaged-plug-in
I have tried this and it works very nicely. It demonstrates how to serve static content and dynamic content either from the foreground or a background task.

How do I update Windows 10 IoT Core without re-flashing SD card?

After setting up Windows 10 IoT Core on Raspberry Pi 2 and getting all comfortable with it, along comes Visual Studio 2015 with the message: "Please upgrade your remote debugger to match Visual Studio." which apparently means repeating the entire installation (flash from scratch) as described here http://ms-iot.github.io/content/en-US/win10/SetupRPI.htm
Is a "reinstall from scratch" the only way to currently update the Windows 10 IoT Core ? What about something like apt-get update?
With the release of Windows 10 IoT Core build 10586, you can update Windows IoT over the Internet just like we do in Windows.
To update Windows IoT, follow the steps:
Connect your Raspberry Pi 2's Ethernet to the Internet (i.e. with Internet Router or Modem).
Connect your computer/tablet to the same network on which Raspberry Pi 2 is connected.
Open Windows IoT's Web-management portal.
Login to the Web-management portal.
From the left black-panel 'UTILITIES', click 'Windows Update'.
Finally, to update Windows 10 IoT Core, click on 'Check for updates' button and wait for the magic.
Newer to web management portal?
Please refer "Web-Management Portal" section of this ProTip article: https://www.hackster.io/AnuragVasanwala/windows-10-iot-core-setting-startup-app-887ed0

Deploy to Windows Phone 8 device from VM (RDP/RemoteFX)

I would like to move my WP8 development to a virtual machine. I know that the emulator won't run on top of a VM, so I'm wondering if I can deploy & debug directly to the device (via regular old USB). RemoteFX allegedly performs "USB redirection" which I assume is supposed to magically connect the phone up to my RDP session, and thus enable deployment. I was able to establish a RemoteFX connection with my VM, however when I try to deploy to my phone Visual Studio (within the VM) claims it cannot find a phone. (yes, I verified my phone is connected to my local machine)
tl;dr Does anyone know how to deploy to a physical Windows Phone from within a VM?
I see that this is the first link that appears in google search for this problem. I am going to present you the solution from what it is there is Nokia development articles. Please go through link.
The only important thing is to enable Intel VT-x option.

NVIDIA Nsight Debugging on GTX 480

I have one machine with GeForce GTX 480 but I can't debug or run analysis activity on it.
This error appears when I debug or run analysis activity:
The remote system is logged in through Remote Desktop. CUDA debugging
does not support Remote Desktop unless a TCC adapter is installed.
My Nsight version is 2.2. Whats wrong?
You would need a TCC capable card (Quadro or Tesla series) if you want to use the GPU from inside a RPD session.
When you do not have a TCC capable GPU, you can for example install VNC Server as a service and use that to access the machine.
Alternatively you can configure windows autologin to log you in automatically and have have the Nsight Monitor in the startup group (but to access the desktop remotely you would still need some kind of remote access software like VNC).
after some test and try ,I found that this problem is because of RDC and if you connect to the target machine from one computer with remote desktop connection even if you disconnect all remote desktop and try to debug with Nsight remotely or locally you get this error .
I were connected to the target machine with remote desktop and configure and run Nsight monitor and then close the RDC . and then I tried to debug the project remotely from host on the target and because of it I get this error
I found that one solution will be restart the target machine and configure the Monitor physically at front of the target machine and then DO NOT remote to the target from anywhere, now I can debug my project from host machine on the target machine .