jaster Posted November 15, 2013 Share Posted November 15, 2013 The computer you're currently using is excluded from the list as it does not make sense to start a screen sharing session to the same machine. When I say 'my computer' I do mean one of the many I operate on. Not just the local one which I'm aware is excluded. Link to comment
pstadler Posted November 15, 2013 Author Share Posted November 15, 2013 Run `dns-sd -B _rfb._tcp` in Terminal.app to see what's going on. Link to comment
jaster Posted November 19, 2013 Share Posted November 19, 2013 (edited) Terminal appears to see it Browsing for _rfb._tcp Timestamp 15:30:22.145 A/R Add Flags 2 if 4 Domain local. Service Type _rfb._tcp. Instance Name daniel-server Edited November 19, 2013 by jaster Link to comment
pstadler Posted November 19, 2013 Author Share Posted November 19, 2013 I think this is a timing issue. I will let you know when a fix is ready. Link to comment
pstadler Posted November 19, 2013 Author Share Posted November 19, 2013 Please update to the latest version and let me know if it works for you. Use the download link from the first page. Link to comment
teddro Posted November 20, 2013 Share Posted November 20, 2013 Hm. I just downloaded the newest version, and there is a lag that wasn't there before (should have stuck with the old version that was working for me... oh, well) now when i type vnc it takes about 1 second to load the hosts, whereas before it was pretty much instantaneous. any fix? or a way I can revert to the older version? thanks! Link to comment
pstadler Posted November 21, 2013 Author Share Posted November 21, 2013 (edited) Previous version: https://github.com/pstadler/alfred-screensharing/raw/cbd2a017eb9c366f287993a0bdeab725c96fc2a7/Screen%20Sharing.alfredworkflow Please keep in mind that under Mavericks network discovery is slightly delayed. Chances are high that this version doesn't detect all your screen sharing enabled machines. The latest version which works well with Mavericks is linked on the first page. Edited November 21, 2013 by Patrick Stadler Link to comment
teddro Posted November 22, 2013 Share Posted November 22, 2013 Thanks for that; the old version is much quicker for me. I only have one other machine I use on my network, and it finds it, so I'm fine. I'm also using Mavericks on both machines, if that is of interest to you. thanks for a great workflow! Link to comment
pstadler Posted November 22, 2013 Author Share Posted November 22, 2013 I appreciate your feedback. As I'm in a more complex environment I found the new version works best for me. Link to comment
jaster Posted November 23, 2013 Share Posted November 23, 2013 Please update to the latest version and let me know if it works for you. Use the download link from the first page. No dice. Link to comment
sebp Posted May 3, 2014 Share Posted May 3, 2014 Just downloaded and installed your script, it works great! Thanks a lot! Link to comment
mixterdee Posted October 29, 2014 Share Posted October 29, 2014 Works a treat. Thanks Link to comment
Adrian Posted January 30, 2015 Share Posted January 30, 2015 Anyone else having trouble with this after the latest OS X update? Link to comment
pstadler Posted January 31, 2015 Author Share Posted January 31, 2015 No problems here with 10.10.2. What's wrong? Link to comment
Adrian Posted January 31, 2015 Share Posted January 31, 2015 (edited) The local network discovery works, I can see all my available computers but when I launch Screen Sharing it can't connect (from my Mac with 10.10.2 to another Mac with 10.10.2) When I look into it I don't think there's anything wrong with the workflow because Screen Sharing can't connect to recently used connection either. I can connect by launching Screen Sharing from Finders share screen button. But I can't reuse that same connection again. (Btw, the file ending in Screen Sharing recent meny is ".vncloc", I think it used to be ".local" but I don't know if that has anything to do with this.) Edited January 31, 2015 by Adrian Link to comment
sddawson Posted February 1, 2015 Share Posted February 1, 2015 I have the same problem with the Recent items in Screen Sharing under Yosemite. They just don't work, and I guess that's what's upsetting the workflow. Link to comment
pstadler Posted February 1, 2015 Author Share Posted February 1, 2015 That's odd, this workflow isn't supposed to handle recent items. To summarize, you see a list of hosts after typing vnc in Alfred but then it fails once you want to connect to a host, is that right? For me it still works, which makes it hard to debug. Can you give me more details, e.g. what are the exact names of the computers you try to connect to? Link to comment
sddawson Posted February 2, 2015 Share Posted February 2, 2015 Correct. Lists all the machines with .local after their names, but clicking one gets "Connection Failed". Same thing happens if you use Screen Sharing's Recent Items, although their names end with .vncloc. Connecting via Finder works fine, as does using the ScreenSharingMenulet app... Link to comment
iamse7en Posted June 3, 2015 Share Posted June 3, 2015 Is there any way to add a favorites list? I don't care much for any local discovery - I just have a specific url I want to connect to using a shortcut name rather than typing out the url. Thanks. If there's a way to do this, please explain simply as I am very new to this. Link to comment
pstadler Posted June 8, 2015 Author Share Posted June 8, 2015 Unfortunately this is not possible with this workflow. I remember that there's one which uses bookmarks instead of discovery. Link to comment
iamse7en Posted June 8, 2015 Share Posted June 8, 2015 Ah, yes. I found that one. Thank you Patrick. http://www.alfredforum.com/topic/3174-vnc-workflow/ Link to comment
rjames86 Posted October 31, 2015 Share Posted October 31, 2015 (edited) It looks like Apple moved Favorite Servers to a new location. I got it to work with a script filter using a combination of python and JavaScript Workflow here: https://www.dropbox.com/s/nus8pihw3oxcjdg/VNC%20Favorites.alfredworkflow?dl=0 Just type "vnc" and it'll list out your favorites. No search as of right now. For those curious how to get favorites in 10.11 El Capitan items = $.NSKeyedUnarchiver.unarchiveObjectWithFile('<INSERT HOME DIRECTORY>/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.FavoriteServers.sfl') items = items.objectForKey('items') itemsCount = items.count var to_ret = [] while (itemsCount--){ to_ret.push(items.objectAtIndex(itemsCount).name) } to_ret Edited October 31, 2015 by Ryan M Link to comment
Howl Posted December 2, 2018 Share Posted December 2, 2018 is it input this in ternimal? dns-sd -B _rfb._tcp but no work.. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now