Page 1 of 2

VNC is not working anymore

Posted: Fri May 10, 2013 6:05 am
by achmetinternet
I have the AmahiVNC app installed and used to be able to access my HDA easily using UltraVNC on my Win7 PC. However, since a couple of days it only gives me the following error after logging in shortly:

Server Closed Connection: The Server running as Application


Have not changed anything really so I am a bit surprised and hope someone can help me troubleshoot.

Re: VNC is not working anymore

Posted: Fri May 10, 2013 2:05 pm
by bigfoot65
Have you installed any OS updates? Also have you rebooted? Sometimes that's all it needs.

Re: VNC is not working anymore

Posted: Mon May 13, 2013 9:50 am
by achmetinternet
It might have installed several security updates as I thought these are necessary to protect me from harm. Rebooted? Yes :)

Re: VNC is not working anymore

Posted: Mon May 13, 2013 10:40 am
by bigfoot65
They are, but some times updates cause problems as well. Have you considered uninstalling, reboot, then reinstall? Sometimes that solution works.

If it does not or you do not choose to try it, recommend you check logs in /var/log folder for potential issues.

Re: VNC is not working anymore

Posted: Mon May 13, 2013 11:55 pm
by achmetinternet
Ideally, I would start with installing Amahi 7 :)

Any specific folder for the remote connection logs?

Re: VNC is not working anymore

Posted: Tue May 14, 2013 8:21 am
by bigfoot65
All logs are usually in the same folder, /var/log on the HDA.

Re: VNC is not working anymore

Posted: Tue May 21, 2013 3:13 pm
by achmetinternet
Which of the many logfiles would it be?

Re: VNC is not working anymore

Posted: Tue May 21, 2013 3:59 pm
by bigfoot65
Look at messages or maybe even a vnc log. Have you tried manually stopping the server, then starting it up?

Re: VNC is not working anymore

Posted: Tue May 21, 2013 11:05 pm
by achmetinternet
I checked here and it mentioned that the built-in Vino does not have logging:

http://ubuntuforums.org/showthread.php?t=1077704

Then it mentioned to check the auth.log and these are the last entries after I tried to use UltraVNC (I got the "VNC" app from your market installed on my HDA):

May 22 07:55:41 monster dbus[923]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.34" (uid=1000 pid=3284 comm="/usr/lib/telepathy/mission-control-5 ") interface="org.freedesktop.NetworkManager" member="GetPermissions" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=971 comm="NetworkManager ")
May 22 07:55:41 monster dbus[923]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.47" (uid=1000 pid=3663 comm="/usr/lib/ubuntu-geoip/ubuntu-geoip-provider ") interface="org.freedesktop.NetworkManager" member="GetPermissions" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=971 comm="NetworkManager ")
May 22 07:58:10 monster su[2627]: Successful su for achmetinternet by root
May 22 07:58:10 monster su[2627]: + ??? root:achmetinternet
May 22 07:58:10 monster su[2627]: pam_unix(su:session): session opened for user achmetinternet by (uid=0)
May 22 07:58:10 monster su[2627]: pam_unix(su:session): session closed for user achmetinternet
May 22 07:58:11 monster dbus[923]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3189 comm="nm-applet ") interface="org.freedesktop.NetworkManager" member="GetPermissions" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=971 comm="NetworkManager ")
May 22 07:58:11 monster dbus[923]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.34" (uid=1000 pid=3284 comm="/usr/lib/telepathy/mission-control-5 ") interface="org.freedesktop.NetworkManager" member="GetPermissions" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=971 comm="NetworkManager ")
May 22 07:58:11 monster dbus[923]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.47" (uid=1000 pid=3663 comm="/usr/lib/ubuntu-geoip/ubuntu-geoip-provider ") interface="org.freedesktop.NetworkManager" member="GetPermissions" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=971 comm="NetworkManager ")

Re: VNC is not working anymore

Posted: Wed May 22, 2013 4:44 am
by bigfoot65
We do not use the built in Vino. Vncserver is the package used so not sure if that changed and caused the issue or what. Have you tried stopping and then starting it manually from the command line? If there are issues, it would most likely tell you then.