RDP to Lubuntu

Install xrdp server

sudo apt install xrdp

First open a terminal and enter sudo apt-get install xrdp. When that is installed enter sudo nano /etc/xrdp/startwm.sh in the terminal. Make sure the last line looks like this:

. /etc/X11/Xsession

Then go to your home folder, rightclick and select Show hidden. If there is no file named .xsession, create it. If there is a filed named like that, open it and make sure that it looks like this when your done: lxsession -e LXDE -s Lubuntu

Now type sudo service xrdp restart in the terminal to restart xrdp. Now it should work 🙂

 

Reference : https://askubuntu.com/questions/580415/how-to-remote-desktop-from-windows-to-lubuntu

RDP to Windows 8 from Ubuntu

The default RDP client RDesktop does not seem to work when tryingt to connect to Windows 8.

The client xFreeRDP allows to connect to Windows 8 without any issues.

Installation of XFreeRDP
This needs to be installed from source

Install dependencies

sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev \

libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \

libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libavutil-dev libavcodec-dev libcunit1-dev libdirectfb-dev xmlto doxygen libxtst-dev

Get the Source

git clone git://github.com/FreeRDP/FreeRDP.git

Generate the make files

cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON

Build the source

make

Install the source

sudo make install

To connect to the session xfreerdp /v:[IP Address] /f /u:timothy

Custom Error Authentication Issues

When we create a new web application using a custom host header. There is an issue which prompts for username password repeatedly when trying to access it from the SharePoint server.

Method 1: Specify host names (Preferred method if NTLM authentication is desired)

To specify the host names that are mapped to the loopback address and can connect to Web sites on your computer, follow these steps:
Set the
DisableStrictNameChecking
registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
281308 Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
Click Start, click Run, type regedit, and then click OK.
In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Right-click MSV1_0, point to New, and then click Multi-String Value.
Type BackConnectionHostNames, and then press ENTER.
Right-click BackConnectionHostNames, and then click Modify.
In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
Quit Registry Editor, and then restart the IISAdmin service.

 

Method 2: Disable the loopback check (less-recommended method)

The second method is to disable the loopback check by setting the DisableLoopbackCheck registry key.

To set the DisableLoopbackCheck registry key, follow these steps:
Set the
DisableStrictNameChecking
registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
281308 Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
Click Start, click Run, type regedit, and then click OK.
In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Right-click Lsa, point to New, and then click DWORD Value.
Type DisableLoopbackCheck, and then press ENTER.
Right-click DisableLoopbackCheck, and then click Modify.
In the Value data box, type 1, and then click OK.
Quit Registry Editor, and then restart your computer.

Activate windows

If you have incorrect key setup. You can change it and activate by using the following commands.

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Put in a valid key for the above. This registers windows with that key.

slmgr.vbs /ato
The above activates it.

Updating Windows 8 product key

“Error 0x8007007B The File name, directory name, or volume label syntax is incorrect.”

The Solution

Using the key provided to you (MSDN etc.) you will need to run the following in an elevated command prompt –
if you are new to Windows 8, click Start –> type “cmd” –> right-click on a command prompt and select “Run as administrator” in the bottom of the page:

Next type the following commands:

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

slmgr.vbs /ato

The first command will update the key.

The second command will activate Windows.

Replace the “XXXX” bits with your Windows 8 Key (you do need to enter the dashes and you don’t need to surround it with double quotes).

Reference

http://social.technet.microsoft.com/Forums/windows/en-US/4615d78e-8322-42d2-ae96-634c1b61c617/error-code-0x8007007b-when-activating-windows-8-ent