Comments (22)
This is now my favourite issue/enhancement. Being able to pass a configuration-file for the viewer launch binary is a fundamental behaviour - the alternative is wasted time loading the config file each time through a UI.
The issue summary should be updated to make it clear that the request is for command-line argument support for the config file.
Please vote for this issue.
from tigervnc.
Any progress with this? I have an application that can generate .tigervnc files and which then I 'd like to open with TigerVNC in order to connect to hosts. It's not possible right now. All other VNC clients I have tried can do this, but not TigerVNC. Thanks.
from tigervnc.
No one is working on this as far as I know.
from tigervnc.
Handling the files that your program generates isn't a feature or enhancement. That's the expected behavior. To not do that is a bug.
Instead, I have to completely ignore your partially-implemented file format (because it's worthless) and write a shortcut file that passes the proper arguments to the program.
If you'd actually finished implementing your file format, I could have a cross platform solution. Instead I'l have to write Windows shortcuts and .sh files that do the same thing.
from tigervnc.
Not sure if it helps your use case, but the latest (1.7.80) version of the TigerVNC Java viewer has a '-config' option that can be used to specify a .tigervnc file at startup.
from tigervnc.
Another voice for what @javabrett said. Clicking through the GUI to load the file is functional but clunky. Being able to double-click the config file to connect would be great, but a "bookmarks" style drop menu instead of a file chooser would work too I think.
from tigervnc.
Same behavior here when using IP-addresses and port like "ServerName=192.168.0.10:1".
As far as I looked through the code it seems to be located within tigervnc/vncviewer/parameters.cxx, here lines 574 and following.
I cannot see any code splitting the string after "ServerName=" at the ":" if present into hostname/IP-address and port.
from tigervnc.
It supports this just fine. What it doesn't support is being given configuration files as a command line argument. It will then use the filename as the host to connect to.
So this is really a feature request for opening configuration files on the command line.
from tigervnc.
Thanks for clarification. So: When windows-double-clicking on (the associated) .tigervnc file the filename gets handed over to TigerVNC, but the content of the config file itself is not being processed. Your change of the subject is correct then.
from tigervnc.
Correct. Besides options the viewer only supports a server name as a command line argument.
from tigervnc.
@CendioOssman If that's the case that's a shame :(
@bphinz Thanks for the suggestion. Unfortunately there are two issues:
- The ServerName option doesn't get parsed to the client at all
- The Fullscreen mode doesn't work when using all the monitors
from tigervnc.
Would you mind submitting a ticket for that. The ServerName issue I'm aware of (it's a quirk that exists because of applet mode), but I didn't know about Fullscreen. Thanks
from tigervnc.
I'd love for this to get done.
from tigervnc.
Is this still needing to be done? I saw the bounty on bountysource.
from tigervnc.
from tigervnc.
Could you please point to the related commit for this as I can't find it? Thanks
from tigervnc.
Ah. The syntax was slightly off on the PR so github didn't automatically close this. I can do it manually.
@Kypert, let me know if there are any issues claiming the bounty.
from tigervnc.
Could you please point to the related commit for this as I can't find it? Thanks
It's PR #632 and commit 50439d7.
from tigervnc.
It's PR #632 and commit 50439d7.
Thanks. My understanding is that this patch has been applied to the latest beta. However, it doesn't seem to be working for me. I tried by double clicking a .tigervnc file as well as by reverting to the CLI
C:\>vncviewer64-1.8.90.exe vncserver.tigervnc
In both cases I get the same error:
unable to resolve host by name: No such host is known.
from tigervnc.
Double clicking or dragging works fine for me. However the command line needs to include a \
for the viewer to be able to tell the difference between it and a hostname.
Are you sure your config file just doesn't have an invalid ServerName
in it?
from tigervnc.
OK, I checked again and CLI works the way you instructed by adding the \
. Double-clicking also worked, I had to fix my windoze settings by editing the registry and cleaning up the "Open with" apps configured previously.
All good now. Thanks for fixing this issue 👍 Hopefully, the next stable version which will include this patch won't take long to get released :)
from tigervnc.
This is included in the just released 1.9.0.
from tigervnc.
Related Issues (20)
- Connection does not start in full screen mode by default HOT 6
- Tigervnc does not launch x or desktop session HOT 1
- screen freezes and black artefacts on Windows VNC server HOT 7
- Run tigerVNC client and server via port forwarding HOT 1
- Brave starts in display 2 but opens prompts in display 0 HOT 1
- Bitwig Studio 5.1.8 gives cryptic X11 errors HOT 2
- '*' character in password HOT 3
- Clipboard stops working after some time HOT 2
- PAM is not needed. HOT 1
- Resize delay when toggling maximize or full screen HOT 2
- TigerVNC Doesn't Currently Run Under MacOS Sequoia HOT 7
- CentOS8 TigerVNC 1.13.1 can not set service with AD user HOT 1
- When QueryConnect is enabled on x0vncserver, there may be exceptions when multiple connections are concurrent HOT 1
- WebSocket support
- Xvnc crashes with SIGBUS on cross-GPU DRI usage HOT 5
- OpenGL isn't accelerated by default with Nvidia drivers HOT 5
- Websockify + noVNC disconnects after desktop has been running and idle for around 1 minute HOT 1
- ctrl+shift+"." and ctrl+shift+"," ctrl-+shift+"+" are not correctly sent to server. Kitty not fully usable. HOT 4
- Segfault in x0vncserver after client disconnects HOT 5
- `BUILD_STATIC=ON` but win-installer doesn't contain necessary DLLs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tigervnc.