The book of inspiration

July 26, 2010

Amazon EC2 Hint

Filed under: tech — Tags: , — zproxy @ 6:34 am

While I was playing around with Amazon EC2 I thought to highlight the following:

HKEY_LOCAL_MACHINE\
System\CurrentControlSet\Control\TerminalServer

fSingleSessionPerUser

0x0
Allow multiple sessions per user
0x1

[…] Using a cmd window to type “shadow 0” to shadow to the console window. to exit the shadow on this session just press “Ctrl + * ” (the * seems have to use the * key at the number pad, which is not there if using most of notebook keyboard. wondering if there are settings to change the key map.)

See also: Scaled Remote Desktop

Update: You cannot enable Aero between Windows Server 2008 (remote) and Windows 7 (client). I wish I could have 🙂

Advertisements

January 31, 2009

Scaled Remote Desktop

Filed under: life — Tags: , , , — zproxy @ 9:01 pm

Did you know you can apply scaling for your remote desktop connection? I didn’t. Now I do.

All you have to do is to add this line to your .rdp file.

smart sizing:i:1

If you feel limited by one concurrent terminal session you can grab a patch here. Remember you can shadow any another session.

January 12, 2009

there are no Terminal Server client access licenses

Filed under: life — Tags: , — zproxy @ 8:05 am

[Window Title]
Remote Desktop Disconnected

[Content]
The remote session was disconnected because there are no Terminal Server client access licenses available for this computer.
Please contact the server administrator.

[OK] [Help]

This is a bummer, especially if you are the server administrator.

At this point you still can use the mstsc /admin /v:myserver command to reconnect and dispose idle sessions to resume normal operation.

[Window Title]
Remote Desktop Connection Usage

[Content]
MSTSC [<connection file>] [/v:<server[:port]>] [/admin] [/f[ullscreen]]
[/w:<width> /h:<height>] [/public] | [/span] [/edit “connection file”] [/migrate]

“connection file” — Specifies the name of an .rdp file for the connection.

/v:<server[:port]> — Specifies the remote computer to which you want to
connect.

/admin — Connects you to the session for administering a server.

/f — Starts Remote Desktop in full-screen mode.

/w:<width> — Specifies the width of the Remote Desktop window.

/h:<height> — Specifies the height of the Remote Desktop window.

/public — Runs Remote Desktop in public mode.

/span — Matches the remote desktop width and height with the local
virtual desktop, spanning across multiple monitors if necessary. To span
across monitors, the monitors must all have the same height and be aligned
vertically.

/edit — Opens the specified .rdp connection file for editing.

/migrate — Migrates legacy connection files that were created with
Client Connection Manager to new .rdp connection files.

[OK]

Update: But if you are extremly unlucky, you wont be able to connect to it at all.

[Window Title]
Remote Desktop Disconnected
[Content]
Your Remote Desktop session has ended, possibly for one of the following reasons:
The administrator has ended the session.
An error occurred while the connection was being established.
A network problem occurred.
For help solving the problem, see “Troubleshoot Remote Desktop problems” in Help and Support.
[OK] [Help]

[Window Title]

Remote Desktop Disconnected
[Content]
Your Remote Desktop session has ended, possibly for one of the following reasons:
The administrator has ended the session.
An error occurred while the connection was being established.
A network problem occurred.
For help solving the problem, see “Troubleshoot Remote Desktop problems” in Help and Support.
[OK] [Help]
I had to attach a keyboard and a screen to the server just to realize a reboot would probably fix the issue – which it did. So if in doubt reboot.
span monitors:i:1
smart sizing:i:1

Create a free website or blog at WordPress.com.