Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 03:59:13 +0000



[User Discussion] - Linux users - Windows Server 2008 in the cloud + remote desktop for SC

View Count: 1759

[2018-12-18 13:27:02]
T44 - Posts: 363
User Discussion: Configuration for Linux users

As Linux is not supported on Sierra, Linux users may wish to do the following. This works well for me.

1. Register with an Infrastructure as a Service (IaaS or “Cloud Computing”) vendor

In this example, we use Amazon. Depending on your Sierra use case, you may be able to run this free for a year in the AWS free tier.

2. Create a Compute Instance with Windows Server 2008

In AWS EC2, Instances, Launch Instance, search for ‘Windows’, and choose
Microsoft Windows Server 2008 R2 Base - ami-079c6d294ed9a73d0
Microsoft Windows 2008 R2 SP1 Datacenter edition, 64-bit architecture. [English]

Then select your desired instance type. T2.micro may be free tier eligible.

3. Follow the documentation to log in as Administrator

In AWS, you’ll need to provide (or generate) a *pem and then upload this to decrypt your password

Use your Linux package manager to install ‘rdesktop’
then run from a shell (where 2560x1600 is your desired resolution and ec2-XXXX.compute.amazonaws.com is your EC2 hostname or IP)

rdesktop -x b -z -K -u Administrator -g 2560x1600 ec2-XXXX.compute.amazonaws.com

4. Install the Desktop Experience in Windows 2008 Server

Start Server Manager.
Click Features.
Click Add Features.
On the Select Features page, select the Desktop Experience checkbox.
Review the information about other features that are required by the Desktop Experience feature, and click Add Required Features.
Follow the prompts and finish the installation.

5. Install remote desktop services on Windows 2008 Server

Log in to the RDS host as an administrator.
Start Server Manager.
Select Roles in the navigation tree.
Click Add Roles to start the Add Role wizard.
Select the role Remote Desktop Services.
On the Select Role Services page, select Remote Desktop Session Host.
On the Specify Authentication Method page, select Do not require Network Level Authentication (Linux rdesktop client can’t provide this)
On the Configure Client Experience page, select the functionality that you want to provide to users.
Follow the prompts and finish the installation.

6. Create a user for Sierra chart
Normal Windows procedure.

7. Disable Internet Explorer Enhanced Security
Search the web for instructions.

8. Connect to your Sierra chart user with rdesktop

Download and install Sierra Chart with Internet Explorer

9. Optional step

Transfer your files and settings – web based email, your own webserver, or S3 storage works well.

10. Enjoy using Sierra Chart from your Linux desktop without any compatibility issues :-)
[2018-12-18 13:36:49]
T44 - Posts: 363
A few other tips which might be useful

Run your rdp under a separate user / X session / virtual terminal.
e.g. useradd rdp
use Ctrl+Alt-F[1-7] to switch to another virtual terminal. Login as rdp and startx

Now you can use Ctrl+Alt+F[N] to change between your remote session and usual Linux workloads

Reduce bandwidth
Take advantage of the compression and bit depth options in man rdesktop

Stop desktop hijacking your window manager keyboard shortcuts by passing -K

Programmatically set your window position

maybe add this to your .xinitrc


#!/bin/bash

rdesktop -x b -z -K -u XXX -pYYYY -g 5120x1600 ec2-ZZZZ.compute.amazonaws.com &

sleep 1.9
PID=$(xdotool search rdesktop|tail -n1)
xdotool windowmove $PID 0 0


[2019-11-13 00:54:58]
User379468 - Posts: 508
10. Enjoy using Sierra Chart from your Linux desktop without any compatibility issues :-)

@T44, Thank you for sharing this. What use purpose/benefits do you get from this setup vs running on Windows locally?
Date Time Of Last Edit: 2019-11-13 00:55:10
[2019-11-13 09:54:30]
T44 - Posts: 363
@User379468 I can position the server closer (latency path) to the exchange if I'm using ACSIL to trade. Otherwise running Windows locally would be fine, but for those who do not wish to do this (Linux desktops) RDP is a good solution if there is sufficient bandwidth.
[2019-11-13 14:27:42]
UnixManiac - Posts: 45
Linux is not officially supported but it runs pretty much fine on Linux via WINE emulator.

Check out my video for an easy way to install: https://youtu.be/K-mOrKnXjTg

I am trading live like this for quite sometime with no issues at all.

You can easily setup a cloud server running Linux and have it there. This way you gain in performance and no need to pay the extra for a windows license...
[2019-11-13 16:38:19]
T44 - Posts: 363
Sure, but Linux is not officially supported and I have specific problems which I couldn't solve under Wine, so now run Windows. (I've a fairly heavily customised setup)
[2019-11-13 16:47:19]
ganz - Posts: 1048
but Linux is not officially supported
100%

... for an easy way to install

... atop unstable Debian distro aka ubuntu ...

... :) ...
[2019-11-13 16:50:45]
UnixManiac - Posts: 45
Sure, but Linux is not officially supported and I have specific problems which I couldn't solve under Wine, so now run Windows. (I've a fairly heavily customised setup)

about support yes, we are on our own :D but if you willing to share I would be interested to hear about these specific problems. I may have solved them already, especially if they are related to ACSIL.
Date Time Of Last Edit: 2019-11-13 17:08:01
[2019-11-13 17:01:41]
UnixManiac - Posts: 45
... atop unstable Debian distro aka ubuntu ...

... :) ...

Well you can run on whatever linux distro you like :) WINE works like a charm so far for me.

Using Ubuntu LTS I have to reboot only for kernel updates... always messing up my uptime :D

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account