WinCE 6.0 implementation of Remote Desktop

Source: Internet
Author: User

WinCE supports Remote Desktop functionality and can access the WinCE desktop of a target device on the PC side. This feature is useful when debugging. Sometimes, your target board without display device, then you want to access the target board of the wince system feel very uncomfortable, after all, accustomed to desktop operations. By wince Remote Desktop, you can access the WinCE desktop of the target board and operate it on your PC. The following operation has been tested on a ARM9 board, of course, provided that the Board's Ethernet drive and connection are normal.
Specific steps:

1. Select the components that support WinCE Remote Desktop:

Select "Core OS"-> "Cebase"-> "Core OS Services"-> "Debugging Tools"-> "Remote Display Application" in WinCE's project, As shown in Figure 2.1:


Figure 2.1 Add Cerdisp component 2. Add Telnet component

The Add Tlenet component is used for remote control when the host does not have input control and output display devices. In "Core OS"-> "Cebase"-> "Communication Services and Networking"-> "Servers"-> "Telnet Server". As shown in Figure 2.2.


Figure 2.2 Add Telnet component 1. Configure Remote Desktop Host (PC) IP address

This is configured with the IP address of the host that cerdisp the default connection. Open the WinCE project's registry file Project.reg, and then add the following content. This IP needs to be with CE6.0 IP in the same network segment, that is, your industrial Control Panel IP must be 192.168.7.xxx, of course, 7 can be changed, as long as the PC and industrial Control board with the network segment can be.

[Hkey_local_machine/software/cerdisp]

"Hostname" = "192.168.7.106"

where hostname is the IP address of the PC, or it can be the computer name. 2. Configure Telnet Server

Because Telnet is not allowed to log on by default, you need to modify the registry to allow empty accounts to log in.

Open the WinCE project's registry file Project.reg, and then add the following content.

[hkey_local_machine/comm/telnetd]

"IsEnabled" =dword:1

"Useauthentication" =dword:0

After 4 steps are completed, you need to recompile the system, and then download and start CE6.0.

Figure 2.3 Opening cmd


Then enter the Telnet 192.168.7.2 after the cursor (industrial board IP is 192.168.7.2), as shown in Figure 2.4. Figure 2.4 Entering the connection command

When you enter a command, press ENTER, and the picture shown in Figure 2.5 appears if the connection or setting does not go wrong. Figure 2.5 connected to the industrial board

Enter CERDISP–C after the cursor and press ENTER to start the Remote Desktop client program, as shown in Figure 2.6.  Up to this point, the Remote Desktop on the IPC is already running, then start the PC-side server program. Figure 2.6 Starting the Cerdisp client

6. Start PC-side CE6.0 Remote Desktop Server (cerhost)
Locate the Cerhost.exe in the/wince600/public/common/oak/bin/i386 directory and run it. After running select File, and then select Connect, if the client on the IPC has started and the network is normal, after the pop-up dialog box to wait for a while, the box will appear to connect the client name list, as shown in Figure 2.7.   Then select the client you want to connect to, and click OK to wait for the connection. Figure 2.7 Selecting a client

7. Finally, if the connection succeeds, a CE6.0 desktop will appear, as shown in Figure 2.8. Figure 2.8 Successful Connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.