Giter Club home page Giter Club logo

vncdesk's People

Contributors

feklee avatar gbyolo avatar greenrd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vncdesk's Issues

Upgraded to 1.5.0 - still can't open display

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.

Scaling method?

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.

ImportError: cannot import name quote

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

Drag and drop?

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

Error : Cannot read settings

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?

Geometry as aguments?

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...

Cannot seem to nail down dependencies

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?

Gtk version not specified

/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

ValueError: Namespace GtkVnc not available for version 2.0

$ 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

Trouble running vncdesk for the first time

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.