View Single Post
Posts: 35 | Thanked: 2 times | Joined on Dec 2009 @ sweden
#56
Originally Posted by DaveQB View Post
osso-xterm only supports one argument.

So your best course of action is:
1. Create /usr/local/bin/ssh-localforward.sh
with contents:
Code:
#!/bin/sh
ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXX
exit 0
2. Make executable:
Code:
chmod 755 /usr/local/bin/ssh-localforward.sh
3. Change:
Code:
Exec=/usr/bin/osso-xterm ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXX
to:
Code:
Exec=/usr/bin/osso-xterm /usr/local/bin/ssh-localforward.sh
When i launch the icon the terminal says internal fault and closes
I have made a Ssh.sh file in /usr/local/bin and chmod 755, changed the code to:Exec=/usr/bin/osso-xterm /usr/local/bin/Ssh.sh. Whats wrong? The code within Ssh.desktop look like this:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=Ssh
Exec=/usr/bin/osso-xterm /usr/local/bin/Ssh.sh
Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

Last edited by salle74; 2010-01-21 at 18:00.