<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
I'm also having this problem very often.<br>
You can fix it by regenerate the ssh rsa keys, that the SDK uses
to authenticate with the Mer VM ssh connection and replacing the
old public key in the authorized_keys file with the new public rsa
key in $HOME/Sailfish_SDK_install_dir/emulator/ssh/nemo/ and
$HOME/Sailfish_SDK_install_dir/emulator/ssh/root. You can do this
by opening a shell/terminal and running the "ssh-keygen -t rsa"
command and then when it asks where to save the key pair enter
"$HOME/.ssh/mer-qt-creator-rsa" and when it asks you whether or
not to overwrite the existing key pair with the same name enter
"y" (yes). Now you have to navigate to the (hidden) $HOME/.ssh
directory (you can toggle "show hidden files" with ctrl+h in
"Files/Nautilus"(GNOME), alt+. in "Dolphin"(KDE) and ctrl+. in
"Thunar"(XFCE) or by checking the "show hidden ..." option in the
view menu in all file managers if I recall correctly). Now open
the mer-qt-creator-rsa.pub file with a random text editor and copy
all it's contents with ctrl+a and ctrl+c.<br>
then navigate to the
$HOME/Sailfish_SDK_install_dir/emulator/ssh/root and replace the
contents of the authorized_keys file with the contents you just
copied from the mer-qt-creator-rsa.pub file. Do the same with the
authorized_keys file in
$HOME/Sailfish_SDK_install_dir/emulator/ssh/nemo.<br>
<br>
This should fix the connection refused issue. I've noticed that it
seems that when you close the VMs in another way then clicking the
"stop SDK" and "stop emulator" buttons you often get the
"connection refused" error the next time you start the Sailfish
SDK. Possibly this has something to do with corruption/damaging of
the keys when abruptly ending the ssh connection between the
emulator/Mer SDK and Qt Creator/your host system. Although I've
haven't got any evidence for this ;)<br>
<br>
I hope this is helpful,<br>
<br>
Superpelican<br>
<br>
<br>
On 07/27/2013 12:29 PM, Canol Gökel wrote:<br>
</div>
<blockquote cite="mid:DUB122-W463155F3E68C2CFA6E495AB36B0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hello,<br>
<br>
I wanted to try Sailfish SDK. Installed VirtualBox and then the
SDK. The IDE started, I created the hello world app. But when I
tried to run it, it gave me the error: "MerSDK: Connection
refused". I tried to manually start the VMs using the buttons on
left panel but it gave the same error.<br>
<br>
What might be the problem?<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
</blockquote>
<br>
</body>
</html>