/Applications/RemoteViewer.app/Contents/MacOS/RemoteViewer spice://{host}:{port}
--
You received this message because you are subscribed to the Google Groups "bVNC, aRDP, aSPICE, Opaque Remote Desktop Clients" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bvnc-ardp-aspice-opaque-remot...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bvnc-ardp-aspice-opaque-remote-desktop-clients/60317ec6-11b4-4592-94dd-a9adbea5de74n%40googlegroups.com.
Ok so if I understand correctly this should work.
/Applications/bVNC.app/Contents/MacOS/bVNC vnc://192.168.168.44:5907
However it does not appear to work.
Application opens, but does not seem to go to the defined ip address (substituted different ip)
Ted Serreyn
Ok so if I understand correctly this should work.
/Applications/bVNC.app/Contents/MacOS/bVNC vnc://192.168.168.44:5907
However it does not appear to work.
Application opens, but does not seem to go to the defined ip address (substituted different ip)
Ted Serreyn
From:
i iordanov <iior...@gmail.com>
Date: Thursday, December 12, 2024 at 4:26 PM
To: Ted Serreyn <tser...@gmail.com>
Cc: bVNC, aRDP, aSPICE, Opaque Remote Desktop Clients <bvnc-ardp-aspice-opaque...@googlegroups.com>
Subject: Re: command line calling with arguments?
yeah that’s what I was afraid of.I’m going to see if I can use the built in URL mapping rather than the defined applications, but I’m not sure that is going to be feasible.Even simple passing the host and port would be enough to get this to work from a basic step. I’ll try to dig into the code a bit to see what it would take.Ted SerreynSerreyn Network Services, LLCOn Dec 12, 2024, at 8:41 PM, i iordanov <iior...@gmail.com> wrote:
osascript -e 'tell application "bVNC"' -e ' open location "vnc://10.10.220.222.44:5907/?ConnectionName=TEST"' -e 'end tell'
And yes, you have to specify ConnectionName.
Cheers!
iordan
Yeah not sure why, but vnc url opens the mac screen sharing application rather than bVNC. Trying to figure out how apple handles this registration for urls rather than file open-with.
Spice url does seem to open the application, so I’ll need to play with it to see if spice consoles can be used instead of vnc.
Thought I had a solution, but looks like bVNC still didn’t like it.
I can use applescript to “tell” the application to open the URL. And it doesn’t seem to handle it correctly.
Tried applescript:
osascript -e 'tell application "bVNC"' -e ' open location "vnc://10.220.222.44:5907"' -e 'end tell'
tried direct open (after registering bVNC as application for vnc:// url)
open vnc://10.220.222.44:5907
You can use SwiftDefaultApps to register the URL for most URL to include ssh, telnet, spice, vnc.
Ted Serreyn
Debug log from bVNC
xwindowScene(_:didUpdate:interfaceOrientation:traitCollection:) called.
windowScene(_:didUpdate:interfaceOrientation:traitCollection:) called.
windowScene(_:didUpdate:interfaceOrientation:traitCollection:) called.
windowScene(_:didUpdate:interfaceOrientation:traitCollection:) called.
windowScene(_:didUpdate:interfaceOrientation:traitCollection:) called.
scene(_:willConnectTo:options:): []
sceneWillEnterForeground(_:) called.
sceneDidBecomeActive(_:) called.
windowScene(_:didUpdate:interfaceOrientation:traitCollection:) called.
scene(_:openURLContexts:)
handleUrlContexts(_:): vnc://192.168.168.44:5907
handleUniversalUrl(urlContext:) source application = Unknown
handleUniversalUrl(urlContext:) url = vnc://192.168.168.44:5907
handleUniversalUrl(urlContext:) Invalid URL
connectWithConsoleFile(url:pathString:) Could not startAccessingSecurityScopedResource, trying without
connectWithConsoleFile(url:pathString:) aSPICE may need to be granted Full Disk Access in settings
moveUrlToDestinationIfPossible(_:_:): Trying to copy vnc://192.168.168.44:5907 to /Users/ted/Library/Containers/com.iiordanov.bVNC/Data/Documents/console.vv
deletePathIfNeeded(_:): Removing /Users/ted/Library/Containers/com.iiordanov.bVNC/Data/Documents/console.vv if there
deletePathIfNeeded(_:): Removed /Users/ted/Library/Containers/com.iiordanov.bVNC/Data/Documents/console.vv
moveUrlToDestinationIfPossible(_:_:): Cannot copy item at vnc://192.168.168.44:5907 to /Users/ted/Library/Containers/com.iiordanov.bVNC/Data/Documents/console.vv: Error Domain=NSCocoaErrorDomain Code=260 "The file “Data” couldn’t be opened because there is no such file." UserInfo={NSFilePath=, NSURL=. -- file:///Users/ted/Library/Containers/com.iiordanov.bVNC/Data/, NSUnderlyingError=0x6000019461c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
moveVvFileToPrivateStorageAndConnect(_:_:) Could not move console.vv trying to use it as is.
getFileContents(path:): url file://
connectIfConsoleFileFound(_:): File at does not start with [virt-viewer], ignoring.
moveVvFileToPrivateStorageAndConnect(_:_:) Could not connectIfConsoleFileFound in place
windowScene(_:didUpdate:interfaceOrientation:traitCollection:) called.
On Dec 12, 2024, at 8:41 PM, i iordanov <iior...@gmail.com> wrote: