Showing posts with label Remote Desktop. Show all posts
Showing posts with label Remote Desktop. Show all posts

Thursday, February 18, 2010

Remote Desktop - Part 6 Remote Desktop Web Connection for Windows

I previously covered how to remote desktop back into Windows in my post Remote Desktop - Part 2 Getting Back to Windows.  Now I want to show you how to connect using Windows Remote Desktop Web Connection.

The basic steps are:
1) Install Remote Desktop Web Connection
2) Configure Internet Information Services (IIS)
3) Enable Remote Desktop
4) Configure Windows XP firewall
5) Connect to an Enabled Remote Desktop Web Connection


Step 1.  Install Remote Desktop Web Connection
1) Go to Control Panel and open Add or Remove Programs.

2) Click Add/Remove Windows Components.

3) Select Internet Information Services, and then click Details.

4) Select World Wide Web Service, and then click Details.

5) Select Remote Desktop Web Connection, and then click OK.

6) Click OK to close Subcomponents of Internet Information Services (IIS) window.

7) Click Next in the Windows Components Wizard window

8) The install starts and shortly after you may be prompted for the XP CD. Click OK and either insert the cd or point to where the files can be found to allow the install to complete.

9) Click Finish.



Step 2.  Configure Internet Information Services (IIS)
1) Go to Control Panel > Administrative Tools > Internet Information Services. Note depending on your view, the path may be Control Panel > Performance and Maintenance > Administrative Tools > Internet Information

2) Expand your local computer, expand Web Sites, expand Default Web Site. You should now see a folder called tsweb.

3) Right-click the tsweb folder and then click Properties.

4) Click the Directory Security tab.  Click the Edit button in Anonymous access and authentication control.

5) Check the Anonymous access check box on the Authentication Methods dialog box, and then click OK.


6) Click OK to close the tsweb Properties window.

7) Right-click the Default Web Site and then click Properties. As port 80 is a highly-used port and may be used by other software installed on your computer, I recommend changed it to some value between 1000 to 65535. I chose 1234. Change the TCP Port and click OK.

9) If your Default Web Site is Stopped, right-click and then click Start.

Step 3.  Enable Remote Desktop
To Enable Remote Desktop to a Windows XP Professional system,
1)  Click Start.
2)  Right-click My Computer, choose Properties.
3)  Select Remote tab.
4)  Select the checkbox Allow users to connect remotely to this computer.
5)  Click on Select Remote Users.  Confirm that the user you want to remote login with.


Step 4.  Configure Windows XP firewall
As I used a non-standard TCP port 1234 for the remote desktop web connection, I will also need to configure the firewall on XP.

1) Go to Control Panel > Windows Firewall. Note depending on your view, the path may be Control Panel > Security Center > Windows Firewall.


2) As you can see, the firewall is on. Click on the Exceptions tab.


3) Although, the Remote Desktop service is checked, it is configured for port 3389. You can select the Remote Desktop service and click Edit to confirm.

4) Click Add Port.

5) For the Name, enter Remote Desktop Web Connection. For the Port number, enter 1234. Click OK.


6) The Remote Desktop Web Connection port has now been added


7) Click OK.

Step 5.  Connect to an Enabled Remote Desktop Web Connection
To connect to a computer supporting remote desktop web connection

1) Start Internet Explorer and enter http://[ip address]:port/tsweb. In my example I set up remote desktop web connection on my computer call main that has an ip address of 192.168.1.91. The port I configured above was 1234. The url would then be http://main:1234/tsweb or http://192.168.1.91:1234/tsweb.

2) You may notice a prompt at the top of your screen to install Terminal Services ActiveX Client. Click to start the install.

3) You should now see the Remote Desktop Web Connection Window. Enter ip address of the computer you are connecting to and click Connect.

4) You will get a warning message. Click Connect.

5) Enter your User name and Password and click OK.

6) You should now see your remote desktop!

Friday, January 22, 2010

Remote Desktop - Part 5 Are We Done Yet?

This has been a very pleasant surprise for me!  My original intent was to help get rid of the clutter under my desk, and what I ended  up with is being able to remote into any computer.  The fact that I only intend to use remote desktop strictly inside my home network made this exercise easy.

The table below summarizes what software is used to remote desktop from one operating system to another.

Windows systems include Windows XP Pro and Windows 7
Mac systems include Leopard and Snow Leopard
Linux systems include Ubuntu 9.04


To WindowsTo MacTo Linux
From WindowsWindows Remote DesktopVNC ViewerVNC Viewer
From MacMicrosoft Remote Desktop Client for Mac 2Mac OS X Screen SharingScreen Sharing App, Safari or Finder
From LinuxLinux Terminal Server ClientLinux Remote Desktop ViewerLinux Remote Desktop Viewer

That's it for now!  I expect there will be a few more things I may give a try like expanding this table to include servers, other Linux distros, secured access, screen sharing on a Mac using ichat, and remote desktop across the internet.

Thursday, January 21, 2010

Remote Desktop - Part 4 Getting Back to Linux

This post will document how to remote desktop back to my Linux systems from Windows, Mac and Linux system.

The first step is to configure the remote Linux system to allow remote access from another computer.

To Enable Remote Desktop to a Ubuntu 9.04 system,
1) Click System> Preferences > Remote Desktop.  This will present you with the Remote Desktop Preferences screen.



2) Select all the checkboxes under Sharing and Security.



The second step is to test the remote access from another computer to the configured Linux system.

Remote Access From Windows (XP Pro, 7) to Linux (Ubuntu 9.04)
1) Dowload TightVNC Viewer executable software for Windows that does not require installation.
2) Unzip and extract the vncviewer.exe file.
3) Double-click vncviewer.exe


4) In the VNC server box, type in the name of the server or the IP address of the remote computer. Click Connect. Type in password prompted.



Remote Access From Mac (Leopard, Snow Leopard) to Linux (Ubuntu 9.0)
An easy solution is to install a Mac-friendly VNC Viewer like JollyFastVNC and this would surely work.  But, why install a VNC Viewer when Screen Sharing already is.  Here are 3 ways:

Screen Sharing app
1)  In Finder, navigate to the  hard drive > System > Library > Core Services > Screen Sharing.app.  Double-click it..
2)  Type in your Mac username and password

Safari
1)  Type vnc://  in the address bar.
2)  Type in your Mac username and password.

Finder
1)  Click Go > Connect to Server
2)  For the server address, type vnc://; and click Connect.
3)  Type in your Mac username and password.

Remote Access From Linux (Ubuntu 9.04) to Linux (Ubuntu 9.04)
1) Click Applications > Internet > Remote Desktop Viewer.
2) If your remote computer is in list under Hosts nearby, you can click it and type in the password..  If not, click Connect.  In the new windows, type in the name of the computer or the IP address and click Connect.




Wednesday, January 20, 2010

Remote Desktop - Part 3 Getting Back to Mac

This post will document how to remote desktop back to my Mac systems from Windows, Mac and Linux systems.

The first step is to configure the remote Mac system to allow remote access from another computer.

To Enable Screen Sharing to a Mac (Leopard, Snow Leopard)
1)  Select  > System Preferences.  Click Sharing.
2)  Select the Screen Sharing checkbox.



3)  Specify who can share your screen.  You have the option of All users or Only certain users.
4)  If you will be sharing your screen via VNC, then click Computer Settings.
5)  Select the checkbox VNC viewers may control screen with password and add a password of maximum length 8 characters.



The second step is to test the remote access from another computer to the configured Mac system..

Remote Access From Mac (Leopard, Snow Leopard) to Mac (Leopard, Snow Leopard)

Remote access between Macs is done using Screen Sharing.  Screen Sharing can be initiated in several ways.

I.....Screen Sharing

1)  Using Finder, other computers on your network should be listed under the Shared section in the left pane.
2)  Click on the Mac you want to connect to.
3)  Click the Share Screen button.



4)  Type in your Mac username and password, and click Connect.

II....Screen Sharing app

1)  In Finder, navigate to the hard drive > Library Core ServicesScreen Sharing.app Double-click it.
2)  Type in the name or the IP address of the computer.  You will be prompted for your Mac username and password.


III...Safari
1)  Type vnc:// in the address bar.
2)  Type in your Mac username and password.

IV....Finder
1)  Click Go > Connect to Server.
2)  For the server address, type vnc://<ip address> and click Connect
3)  Type in your Mac username and password.

Remote Access From Windows (XP Pro, 7) to Mac (Leopard, Snow Leopard)
1)  Dowload TightVNC Viewer executable software for Windows that does not require installation.
2)  Unzip and extract the vncviewer.exe file.
3)  Double-click vncviewer.exe



4)  In the VNC server box, type in the name of the server or the IP address of the remote computer.  Click Connect.  Type in password prompted.



Remote Access From Linux (Ubuntu 9.04) to Mac (Leopard, Snow Leopard)

1)  Click Applications > Internet > Remote Desktop Viewer.
2)  If your remote computer is in list under Hosts nearby, you can click it and type in the password..  If not, click Connect.  In the new windows, type in the name of the computer or the IP address and click Connect





Tuesday, January 19, 2010

Remote Desktop - Part 2 Getting Back to Windows

This post will document how to remote desktop back to my Windows systems from Windows, Mac and Linux systems.

The first step is to configure the remote Windows system to allow remote access from another computer.

To Enable Remote Desktop to a Windows XP Professional system,
1)  Click Start.
2)  Right-click My Computer, choose Properties.
3)  Select Remote tab.
4)  Select the checkbox Allow users to connect remotely to this computer.
5)  Click on Select Remote Users.  Confirm that the user you want to remote login with.
6)  If the Windows Firewall is ON, it will be automatically configured to allow Remote Desktop connection.

To Enable Remote Desktop to a Windows 7 system,
1)  Click Start.
2)  Right-click My Computer, choose Properties.
3)  Select Remote Settings in the left menu.
4)  Select the checkbox Allow connections from computers running any version of Remote Desktop (less secure).



5)  Click on Select Users.  Confirm that the user you want to remote login with.
6)  If the Windows Firewall is ON, it will be automatically configured to allow Remote Desktop connection.

The second step is to test the remote access from another computer to the configured Windows system..

Remote Access From Windows (XP Pro, 7) to Windows (XP Pro, 7)
1)  Click Start > All Programs > Accessories > Remote Desktop Connection.
2)  Type in the name or ip address of the remote computer.  Click Connect.




Remote Access From Mac (Leopard, Snow Leopard) to Windows (XP Pro, 7)
1)  Download and install the Remote Desktop Client for Mac 2 from Microsoft on your Mac.
2)  Click Applications > Remote Desktop Connection.
3)  Type in the name or ip address of the remote computer.  Click Connect.


My initial use of the Microsoft's Remote Desktop Client for Mac 2 was not problem-free.  After I installed the software on my Mac Mini, the RDP client looked familiar.  I was very surprised when my connection to a Windows XP desktop failed.  The message on the client side was not useful.  When I checked on the Windows XP side, I did notice in the event viewer that there was an application popup message indicating that \System\Root\System32\RDPDD.dll failed to load.  After doing some research it turned out that the culprit was the device driver for my NVIDIA GeForce 7100 GS video card. Nvidia published a few release of this device driver that broke remote desktop functionality.  Easy enough, I upgraded the drive to the most current and it WORKED!

Remote Access From Linux (Ubuntu 9.04) to Windows (XP Pro, 7)
1)  Click Applications > Internet > Terminal Server Client.
2)  Type in the name of the computer or the IP address, the username and the password.  Click Connect.




For other distros of linux, it is almost certain that Terminal Server Client will not be installed by default.    I will  explore how do so in a future post.

Part 1 - Remote Desktop - Say Bye-Bye to My KVM Switch
Part 2 - Remote Desktop - Connecting Back to Windows Systems

Monday, January 18, 2010

Remote Desktop - Part 1 Say Bye-Bye To My KVM Switch



It's time to say by-bye to my KVM switch!!  As much as I find using a KVM (ie. Keyboard-Video-Mouse) switch useful, I am often frustrated by the clutter of thick cables behind and under my desk.  I decided it was time to get rid of it and all the attached cables!  That's was easy!!

So what am I going to do now?  I have a mixture of Windows, Mac and Linux systems in my network.  As I build up and tear down systems on a regular basis, ideally I want to avoid having to install any third-party software.  My preference is to take advantage of what is built into each operating system.  Based on my previous experience, I fully expect that installing a VNC Viewer on Windows systems will be in order.  Hopefully that will be it!

I plan on documenting the procedure on how to remote in from any Windows, Mac or Linux system to any other.  My intention is to focus strictly on desktop systems.  So for Windows, it will be Windows XP Professional and Windows 7; for Mac, it will be Leopard and Snow Leopard; and for Linux, it will be Ubuntu 9.04 only.

I will present my findings as follows:
Part 2 - Remote Desktop - Connecting Back to Windows Systems
Part 3 - Remote Desktop - Connecting Back to Mac Systems
Part 4 - Remote Desktop - Connecting Back to Linux Systems
Part 5 - Remote Desktop - Windows, Mac, Linux Summary