Page 1 of 1
How can Pi boot directly to a Remote Desktop?
Posted: Thu Nov 07, 2013 8:49 am
by jimterw
I want my Pi, not to boot to GUI but directly to a remote desktop(windows) .
Also can i ask one more thing. I installed and run the app rdesktop.
How i can deactivate the esc button from rdesktop, so the user cannot accidentally close the remote session.I need to have the remote session always active.
Re: How can Pi boot directly to a Remote Desktop?
Posted: Thu Nov 07, 2013 6:16 pm
by milktoast
I want this also. I know a few people that want this ability.
Essentially we want as much of the processing as possible to take place on the "remote" server. We don't want a full OS or a browser. We want only mouse, keyboard, sound and video to pass over the network from the server to the Pi.
Anyone doing this?
Re: How can Pi boot directly to a Remote Desktop?
Posted: Fri Nov 08, 2013 8:09 am
by thecarpy
You basically need an Xserver for rdesktop ... the easiest solution I see is to add rdesktop to your session startup items.
The command to enter is the following:
Code: Select all
/usr/bin/rdesktop -u myuser -p mypassword -Pf myserver:port
See
http://ubuntuforums.org/showthread.php?t=824710 for some info on the command line options.
To overrule a key use
Code: Select all
xmodmap -e 'keycode <keyvalue>=<action>'
in Linux.
So, keyvalue for Esc is 9, so you want to run that on startup, add it to your .login:
xmodmap -e 'keycode 9='
Note. that this will disable your ESC key.
Re: How can Pi boot directly to a Remote Desktop?
Posted: Tue Nov 12, 2013 2:32 pm
by jimmyb2
i added ./remote.sh to the bottom of the file /etc/profile to call the remote desktop script i placed in the /home/pi directory. within that script i used:
#!/bin/bash
sudo rdesktop -u USERNAME -p PASSWORD -d DOMAINNAME(ex:CORP) -k en-us -n Pi_USERNAME -f -s C:\\Scripts\\remote.bat SERVERNAME
it automatically logs into a terminal server (before the Pi even fully boots) and runs the files i need.
Re: How can Pi boot directly to a Remote Desktop?
Posted: Thu Nov 21, 2013 3:42 pm
by woutur
Another route is to go with
http://rpitc.blogspot.nl/
It will need some minor tweaking to autostart your favourite rdesktop environment. But it is quite lightweight.