Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on Dec 2007
#1
Well the title says it all, I want to see if there was a way to autostart or autorun rdesktop when the n800 is powered on. So basically how to include it in the "startup".

Thanks a lof for your help and these are great forums.

P.S. I did search and I only found one really relevant thread and could not really find an answer.

BTW I am still running OS2007 b/c a remote desktop is sitll not yet available for OS/2008.

Last edited by new2itt; 2007-12-29 at 03:24.
 
Posts: 5 | Thanked: 0 times | Joined on Dec 2007
#2
Someone has got to know. Howto add programs to startup and run.them automatically start it when the n800 is turned on
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#3
Never tried this... but perhaps write a script file and put it in /etc/init.d dir?

Just a guess given :
http://www.internettablettalk.com/fo...ad.php?t=10097
 
Posts: 5 | Thanked: 0 times | Joined on Dec 2007
#4
I really no idea on how to write a script file. First I am going to go search for that.

BUT if anyone could help me "write" it so that rdesktop starts when the unit is powered on that would be great.

Thanks
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#5
Just a pointer, if that helps..

At this moment there are 2 rdesktop compiled for the ITs. The one you will find in the app manager and the http://www.wardenclyffetower.com/Mae...desktop-15.deb

The first one has gui the second one though might serve your needs better.
Check the options you need to set but you will need also to find a way to start the wlan connection beforehand.

Good luck,
Chris
 
Posts: 5 | Thanked: 0 times | Joined on Dec 2007
#6
Will the one you posted work for OS2008?

Thats the only thing holding me back from upgrading , well actually I upgraded and ran rdesktop but no luck so now I downgraded to use the remote desktop.

Thanks
 
Posts: 5 | Thanked: 0 times | Joined on Dec 2007
#7
Also I am just downloading the second you posted so I will come back with results,

Thanks a lot
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#8
The second one, the one with the link, is a command line version which means no icon in menu but advantage is that you can invoke from script better.

There are two issues you might run into : Making sure it tries to connect -after- the wireless has connected to wlan... you might need to find a way to wait 10 seconds and then launch. Also rdesktop frequently fails on first attempt for me so not sure if it will always connect first time.

Since your script will not be visible, you wont be able to see any errors... unless you redirect output to file.

If your using that second command line version you might try a script file like this :
#!/bin/sh
rdesk -f -u username -p password -z 192.168.1.100

replace username and password and ip and set execute permission on script (chmod 755 myscript.sh)

And finally i havent gotten this to work so im still just guessing thats how it works... i might try again later but alot of times the first connect fails for me and i have to connect twice.... maybe repeat the rdesk command twice and ignore/close if two windows appear?
 

The Following User Says Thank You to pipeline For This Useful Post:
Posts: 63 | Thanked: 13 times | Joined on Jun 2008
#9
Sorry I have just noticed this thread. We have successfully gotten the N800 (and N770) to autoconnect using the Rdesktop Command Line version. Pipeline is correct, you need to autostart the network connection and then autostart the RDesk connection.

Check out my thread on the CQC (a home automation software) where I go into explicit detail on how to make this work.

The one thing I am still working out is that the connection seems to get lost when the screen saver kicks in. That is actually what brought me to this site is to see if everyone is experiencing this with RDesktop and OS2008.

EDIT - Searching on this forum led me to modify my script slightly to include a command to Ping the RDP host computer. This causes the RDP connection to be maintained without disconnecting even after long periods of inactivity. I've used this updated script on both my N770 and N800 and both have kept the RDP connection open and active over the last 12 hours. That is much longer than I was achieving before. So it looks like my problem has been solved.

PS - I case anyone is interested, I am using the units as small wireless touchscreens to control my home automation software. I can browse and select music, control the TV, my SageTV interface, turn on/off lights, etc all from the Nokia. It's a great use for these devices IMHO.

Last edited by sic0048; 2008-06-16 at 13:59.
 

The Following User Says Thank You to sic0048 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:40.