Hi!
I want to start remote desktop client automaticaly with the the ip to my server so the loginscreen comes up when I start puppy. I have puppy installed on my Hdd. How do I do this the easyest way? Please help a noob!
Want to boot to rdesktop login screen to remote server
You could edit /root/.xinitrc
Add a command as the second line, after "#!/bin/sh"
rdesktop -option &
It is important to add the "&" in the end.
This will have the effect, that rdesktop does not block the following commands, that launch the desktop.
Remember that you have the "mp" texteditor for the commandline, in case anything should go wrong...
For the -options, type "rdesktop --help" in a console.
Mark
Add a command as the second line, after "#!/bin/sh"
rdesktop -option &
It is important to add the "&" in the end.
This will have the effect, that rdesktop does not block the following commands, that launch the desktop.
Remember that you have the "mp" texteditor for the commandline, in case anything should go wrong...
For the -options, type "rdesktop --help" in a console.
Mark
Last edited by MU on Thu 03 Nov 2005, 17:05, edited 1 time in total.
If you need your own IP, you could get it like this:
rdesktop `ifconfig |grep "P-t-P"| sed "s/^.*addr://" | sed "s/\w.*//"`
This would start rdesktop with your IP.
But I get an error there, so it seems rdesktop needs another parameter.
Try it out in a console, before you edit .xinitrc
I have no experience with rdesktop.
Mark
rdesktop `ifconfig |grep "P-t-P"| sed "s/^.*addr://" | sed "s/\w.*//"`
This would start rdesktop with your IP.
But I get an error there, so it seems rdesktop needs another parameter.
Try it out in a console, before you edit .xinitrc
I have no experience with rdesktop.
Mark
You can start rdesktop after the desktop:
sleep 3 && rdesktop -option &
So here a pause (3 seconds) is started.
Meanwhile the rest of the script continues, as this pause runs as a background-process.
So your desktop should start, and after 3 seconds rdesktop.
Mabe you need 5 seconds, depends on your computer.
That should solve the taskbar-problem.
There also is another possibility.
If you want to run ONLY rdesktop, you can use rdesktop as the Desktop!
So NO jwm.
In this case, in .xinitrc ,replace "exec $CURRENTWM" with "exec rdesktop -options"
If this both does not help, you might need another Desktop like icewm.
It can be configured to show no taskbar (if you want that, I might help you).
The xkill (bomb) you mentioned was part of the fvwm95-Desktop, that you can install with pupget. But I am not shure if xkill still is included. I could upload that.
Mark
sleep 3 && rdesktop -option &
So here a pause (3 seconds) is started.
Meanwhile the rest of the script continues, as this pause runs as a background-process.
So your desktop should start, and after 3 seconds rdesktop.
Mabe you need 5 seconds, depends on your computer.
That should solve the taskbar-problem.
There also is another possibility.
If you want to run ONLY rdesktop, you can use rdesktop as the Desktop!
So NO jwm.
In this case, in .xinitrc ,replace "exec $CURRENTWM" with "exec rdesktop -options"
If this both does not help, you might need another Desktop like icewm.
It can be configured to show no taskbar (if you want that, I might help you).
The xkill (bomb) you mentioned was part of the fvwm95-Desktop, that you can install with pupget. But I am not shure if xkill still is included. I could upload that.
Mark
ifconfig will show your local ip address if you are behind a router
you can get your external ip address from a web page like this:
http://ipid.shat.net/iponly/
you can get your external ip address from a web page like this:
http://ipid.shat.net/iponly/