As the topic subject suggest, i'm working on a thin client which is going to connect to a Windows Server 2003.
Until now I've installed rdesktop and I connect to my server via Terminal or via a simple script on my desktop like this:
with this method I need to start LXDE (automatically or not), then I have to run the script in order to connect to the remote session, but that's not the best way if I only need the remote session.#!/bin/bash
rdesktop -f myserverIP
Looking on the internet I've found a way to avoid the use of LXDE, simply by startin X and then an istance of rdesktop redirected to the X display, It's a little bit tricky but there is no need of a Window Manager at all:
On the first shel session just write X to start the Xserver without any Desktop enviroment, then switch to a 2nd shell with Alt-Ctrl-F2 and run DISPALY=:0 rdesktop -f myserverIP (use -f in order to fill the entire screen with the remote session).
Now, as I said before, this is a little bit tricky and her is my question: Is there any way to create a script with the opening instance of X and the rdesktop command?
I've tried to write down a script but it doesn't work:
DISPLAY=:0 rdesktop -f myserverIP