feklee / vncdesk Goto Github PK
View Code? Open in Web Editor NEWRun applications in VNC desktops. Use for scaling on HiDPI displays.
License: Do What The F*ck You Want To Public License
Run applications in VNC desktops. Use for scaling on HiDPI displays.
License: Do What The F*ck You Want To Public License
This is the result of "vncdesk 2":
Xvnc TigerVNC 1.7.0 - built Sep 8 2016 19:36:24
Copyright (C) 1999-2016 TigerVNC Team and man others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11804000, The X.Org Foundation
Fri Oct 28 20:04:29 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5902
vncext: created VNC server for screen 0
Fri Oct 28 20:04:30 2016
Connections: accepted: [::1]::41904
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VeNCrypt(19)
SVeNCrypt: Client requests security type TLSVnc (258)
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":2"
after 135 requests (135 known processed) with 0 events remaining.
xterm: Xt error: Can't open display: :2
Disconnected from server
Any ideas what might be going on here? And how I can overcome it? The thing is that vncdesk used to work fine, and then for some reason unknown to me just stopped working. And I haven't managed to get it started again.
Thanks!
I'm using Archlinux, recently (a day ago) upgraded to the current release.
Hello, is it possible to change scale method (algorithm) from currently used bilinear (or whatever) to nearest-neighbour to get rid of blur? I think it's something related to gtk-vnc functions calls, but I'm not familiar with python/programming. Thanks.
Hi everyone,
I'm getting ImportError: cannot import name quote
when trying to run vncdesk on ubuntu, I believe I have all the correct libraries installed..
chrx@chrx:~$ vncdesk 1
Traceback (most recent call last): File "/usr/local/bin/vncdesk", line 4, in <module> __import__('pkg_resources').run_script('vncdesk==1.6.2', 'vncdesk') File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 719, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1511, in run_script exec(script_code, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/vncdesk-1.6.2-py2.7.egg/EGG-INFO/scripts/vncdesk", line 3, in <module> __requires__ = 'vncdesk==1.6.2' File "build/bdist.linux-x86_64/egg/vncdesk/__init__.py", line 1, in <module> File "build/bdist.linux-x86_64/egg/vncdesk/main.py", line 10, in <module> File "build/bdist.linux-x86_64/egg/vncdesk/vnc_server.py", line 8, in <module>
ImportError: cannot import name quote
This is a pretty cool idea.
Wondering if it's possible to drag items from outside the VNC window to parts inside of it? This didn't seem to work for me.
Am running Arch yaourt version which bundles TigerVNC.
Cheers
Here on Fedora, TigerVNC is being picked up and used - not sure if that's relevant.
Hey,
I tried launching an instance of vncdesk but every time I get this error :
" Cannot read settings : option values must be strings "
Here is my minimal settings.ini :
[desktop]
width = 1024
height = 768
I tried putting the options between " " but it did not resolve this issue.
What should I do?
Is it possible to pass the desired geometry as arguments rather than hardcoding them in the settings.ini? I love the idea of being able to scale a specific application window using this but I'd like to just have a configuration for different scaling factors and be able to give the geometry at runtime. I'd try to tackle this myself, but my python skills are pretty much non-existent...
Running on Centos 7.3 (company standard) and have it to this point:
`vncdesk 2 xfig
Traceback (most recent call last):
File "/usr/bin/vncdesk", line 3, in
import vncdesk
File "/usr/lib/python3.4/site-packages/vncdesk/init.py", line 1, in
from .main import main
File "/usr/lib/python3.4/site-packages/vncdesk/main.py", line 5, in
gi.require_version('GtkVnc', '2.0')
File "/usr/lib64/python3.4/site-packages/gi/init.py", line 103, in require_version
(namespace, version))
ValueError: Namespace GtkVnc not available for version 2.0
'
Obviously still missing something, but what?
/usr/lib/python3.4/site-packages/vncdesk-1.4.0-py3.4.egg/vncdesk/main.py:3: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
Traceback (most recent call last):
File "/usr/bin/vncdesk", line 4, in <module>
__import__('pkg_resources').run_script('vncdesk==1.4.0', 'vncdesk')
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 735, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1659, in run_script
exec(script_code, namespace, namespace)
File "/usr/lib/python3.4/site-packages/vncdesk-1.4.0-py3.4.egg/EGG-INFO/scripts/vncdesk", line 3, in <module>
__requires__ = 'vncdesk==1.4.0'
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/usr/lib/python3.4/site-packages/vncdesk-1.4.0-py3.4.egg/vncdesk/__init__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/usr/lib/python3.4/site-packages/vncdesk-1.4.0-py3.4.egg/vncdesk/main.py", line 5, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/usr/lib64/python3.4/site-packages/gi/importer.py", line 114, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib64/python3.4/site-packages/gi/module.py", line 271, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib64/python3.4/site-packages/gi/module.py", line 120, in __init__
repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded
$ vncdesk 2
Traceback (most recent call last):
File "/usr/bin/vncdesk", line 4, in <module>
__import__('pkg_resources').run_script('vncdesk==1.4.1', 'vncdesk')
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 719, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1517, in run_script
exec(script_code, namespace, namespace)
File "/usr/lib/python2.7/site-packages/vncdesk-1.4.1-py2.7.egg/EGG-INFO/scripts/vncdesk", line 3, in <module>
__requires__ = 'vncdesk==1.4.1'
File "build/bdist.linux-x86_64/egg/vncdesk/__init__.py", line 1, in <module>
File "build/bdist.linux-x86_64/egg/vncdesk/main.py", line 5, in <module>
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 122, in require_version
(namespace, version))
ValueError: Namespace GtkVnc not available for version 2.0
I am trying to figure out how to use vncdesk but running into some problems. Here is my settings.ini file:
$ cat .vncdesk/2/settings.ini
[desktop]
width = 3840
height = 2160
[window]
scale_factor = 2
smoothing = false
I'm not entirely sure what the significance of the 2
is, and I tried 1
also but that didn't help. This is the message I get:
$ vncdesk 2 eog
usage: vncpasswd [file]
Xvnc command line: Xvnc :2 -geometry 3840x2160 -rfbauth .passwd -rfbport 5902 -depth 16 -pn -localhost &
Xvnc Free Edition 4.1.1 - built Jul 31 2015 19:10:31
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc
Thu Mar 16 10:30:14 2017
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5902
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/X11/Speedo/, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
AUDIT: Thu Mar 16 10:30:14 2017: 16276 Xvnc: client 1 rejected from local host
vncconfig not available
Cannot find executable startup script
Not sure why it says vncconfig
is not available because it exists:
$ vncconfig
No VNC extension on display :0.0
I'm on Ubuntu 14.04 x64 and I have realvnc and tightvnc servers installed.
Any idea what is going on?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.