Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


LXDE desktop shortcut to ssh to a box
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

LXDE desktop shortcut to ssh to a box

lumaluma Member
edited January 2012 in Help

Hi All,

I setup a new LXDE box at home (I normally use XFCE) and I noticed one thing is that ssh shortcuts are not working.

They work great in XFCE but not in LXDE at all.

Here is my name.desktop file. Any ideas why this would not work? it does nothing, double click and nada, no error nothing.

[Desktop Entry]
Version=1.0
Type=Application
Name=Server1
Comment=
Exec=ssh -p 3333 [email protected]
Path=/usr/bin
Terminal=True
StartupNotify=false
GenericName=

Any ideas why that would work in XFCE but not in LXDE?

Thanks a bunch!

Luma

Comments

  • Maybe quote the exec?

    Exec="ssh -p 3333 [email protected]"

    or

    Exec='ssh -p 3333 [email protected]'

    Just a guess...

  • When I do that it says that Failed to execute child process "ssh [email protected] (no such file or directory)

    Thanks.

  • What about...

    Exec='/usr/bin/ssh -p 3333 [email protected]'

  • Try using lxshortcut to create the shortcut. It should get all of the syntax and everything right for you.

  • I have tried lxshortcut and exactly same issue. Also using the path within the quotes don't work either.

  • @luma said: I have tried lxshortcut and exactly same issue. Also using the path within the quotes don't work either.

    Put the error message into google. He (she?) knows everything....

  • What error?

    There is no error that is the issue.

    Everything I read online says to not use quotes and it should work (it works in XFCE!) and when I do that LXDE gives nothing, no error, no flash, nada at all.

    if I could google it I would not have posted here. I am not one of these post before research kinda folks.

  • sleddogsleddog Member
    edited January 2012

    @luma said: I am not one of these post before research kinda folks.

    I didn't mean to offend you, sorry if I did. Previously I thought you were get an error messsage, "Failed to execute child process...."

    I use xfce so I can't really help. I'll bow out now, good luck with it.

  • this should work

    [Desktop Entry]
    Encoding=UTF-8
    Name=ssh
    Name[en]=ssh
    Type=Application
    Comment[en]=ssh shortcut
    Terminal=True
    StartupNotify=True
    Exec=lxterminal -e 'ssh -p 3333 [email protected]'
    
  • @dannix said: this should work

    Genius! this worked. Thank you so very much. this was driving me nuts.

    @sleddog said: didn't mean to offend you, sorry if I did.

    No Offense taken. Sorry I think I had a few beers when I posted that and did not come out the way it should have :)

Sign In or Register to comment.