kbumsik / virtscreen Goto Github PK
View Code? Open in Web Editor NEWMake your iPad/tablet/computer into a secondary monitor on Linux.
License: GNU General Public License v3.0
Make your iPad/tablet/computer into a secondary monitor on Linux.
License: GNU General Public License v3.0
In Ubuntu with Nvidia proprietary driver, I got the following error
QOpenGLShaderProgram: shader program is not linked
python3-opengl
package should be included to resolve this issue.
Qt 5.12 will be released around December.
I'm going to use this as soon as it is released because Qt 5.12 adds ES7 support in QML! I will rewrite my QML code to ES7.
Other than ES7, I will examine if there is any other great features I can use for VirtScreen, especially Quick Controls 2.
I have already installed the software. But I can not start it with the warning message "Currently Wayland is not supported".
Laptop Specs:
Tablet Specs:
VNC Viewer app by RealVNC (https://www.realvnc.com/en/connect/download/viewer/ios/)
What I tried so far:
sudo apt-get install virtscreen
sudo dpkg ...
I have already seen the icons. But whatever I click the icon or just type the command virtscreen --auto
.
I am informed "Currently Wayland is not supported"
Sorry, I'm not so familiar with the Ubuntu. So I don't know what Wayland
is. And what's wrong about virtscreen. I don't know what to do. Does this software support Ubuntu 18.04? It would be of great help if you could tell me what to do :)
I installed from the .deb and when I run it, it says it's running and will keep running in the system tray but I don't see a GUI anywhere on my desktop.
There is a nice reference:
Currently the program outputs quite dirty message. It should output messages that everybody would understand.
When i click tray icon that program closes yourself automatically, when i try on python version it says └> $ virtscreen qt5ct: using qt5ct plugin qt5ct: D-Bus system tray: no QSystemTrayIcon::setVisible: No Icon set amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x. amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x. Segmentation fault (core dumped)
After installing it with:
$ yaourt virtscreen
When executing the command:
$ virtscreen
The error reported on the screen is as follows
Traceback (most recent call last):
File "/usr/bin/virtscreen", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3105, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3089, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3118, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PyQt5>=5.10.1' distribution was not found and is required by virtscreen
Checking the pyqt5 versions in ArchLinux, I noticed that the installed version is higher than the one requested.
extra / pyqt5-common 5.11.2-2 [installed]
Common PyQt files shared between python-pyqt5 and python2-pyqt5
extra / python-pyqt5 5.11.2-2 [installed]
A set of Python 3.x bindings for the Qt5 toolkit
I attempted to clone and run on gentoo but your instal method with setup.py does not detect the system installed PyQt5. I do not wish to have another installation of PyQt5 on my machine (from pip).
Can you please either have the setup.py search for the system PyQt or create a gentoo ebuild that respects the system?
Instead of using a .png it will be idea if it could be replaced by virtscreen-symbolic.svg.
This will make the app look more native on all Linux distros.
Like I mentioned in the title. I have installed your program and it is amazing, I wonder if there is a way to just refresh the mouse position so that it could reflect on the VNC client, which could really help development.
App window appears in the virtual screen on Surface Pro. It should appear on the primary screen.
/tmp/.mount_VirtScc66ZQr/usr/share/virtscreen/env/bin/python3: symbol lookup error: /tmp/.mount_VirtScc66ZQr/usr/share/virtscreen/env/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: undefined symbol: _ZN20QPlatformIntegration11screenAddedEP15QPlatformScreenb, version Qt_5_PRIVATE_API
I firstly want to say thanks for making this. Here's my issue:
I was trying to sort out issue #19 for myself, but in the process of reinstalling I ended up with the following message when I launched the app:
`qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
`
How to fix this? one weird thing I did was edit the config.json file in the ./config/virtscreen folder.
The last line was about the version of x11vnc, and since I had installed 0.9.16, I changed it to that,
instead of 0.9.15.
I don't know what to do anymore! I really wanted to make this thing work ! Ugh.
AppImage is a universal Linux packaging.
https://github.com/AppImage/AppImageKit/wiki/Creating-AppImages
Hi,
I'm using Debian9 with the nvidia driver, and I can't get the VIRTUAL1 device.
I pasted the contents of lspci at https://pastebin.com/cd2YHVmm
and the contents of /var/log/Xorg.0.log at https://pastebin.com/upBwjhiy
(log shows a load of intel driver because I had it manually included in /etc/X11/xorg.conf.d/20-nividia.conf), but with same negative results
Any idea of what should I do in order to have a VIRTUAl display with this setup?
Thanks!
Anton
I can clone, but not expand the monitor.
How to solve this? I would like to have on my tablet an extended monitor from my fedora 30.
Can you help me?
When starting virtscreen, GUI or terminal, I get an error in the app that reads "There is no primary screen detected. Go to display settings and set a primary screen.". However, once I click OK, the message goes away, and there is nothing open to change a setting in. Can you give me direction on this? Thank you.
I'm running the latest update of GalliumOS.
According to a discuss in Arch linux forum, Arch Linux python-pyqt5
package does not provide metadata of PyQt5 package. So VirtScreen need to skip checking PyQt5 package version.
In the blurb it says 'make your iPad ... into a secondary monitor'. I've installed virtscreen in linux but nowhere does it say what I should install on the iPad.
x11vnc server produces the error "### Error occured double check if the port is already used" regardless of the TCP port is being used or not. Changing the port to something other than the assigned 5900 is not helping either.
ElementaryOS 5.1 Hera
Is it possible to transfer the image through USB, similar to YamDisplay? Currently is very laggy when using WIFI only.
Output of terminal when launch:
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen factors.
QT_SCALE_FACTOR to set the application global scale factor.
/tmp/.mount_VirtSc0pM48m/usr/share/virtscreen/env/bin/python3: relocation error: /tmp/.mount_VirtSc0pM48m/usr/share/virtscreen/env/lib/python3.6/site-packages/PyQt5/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol _ZN20QPlatformIntegration11screenAddedEP15QPlatformScreenb version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference
App never Appears.
For some reason TopbarIcons Redux stopped working for me and now i can't acces the GUI mode.
I am using Fedora 29 and I'm currently getting a "Currently Wayland is not supported" error. Should I uninstall it and replace with something different? Or when will it be supported?
The goal is to remove big Twisted
and pyqt5-reactor
module in favor of standard asyncio
module.
Reference: https://docs.python.org/3/library/asyncio-dev.html#asyncio-dev
Crash when I click "Open Virtscreen"
Output:
QSystemTrayIcon::setVisible: No Icon set libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: swrast QGLXContext: Failed to create dummy context qml: Loader Status Changed. 1 Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) Aborted (core dumped)
seems an error of opengl
CPU and GPU :AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Hello, my setup consists of a Ryzen CPU (1700 if that matters at all) and a Nvidia graphic card (Titan X Pascal), running Ubuntu 18.04.
like #16 I am not able to locate a virtual output, but unlike #16 I do not have an intel / AMD integrated GPU in my CPU, so the only thing I can rely on is the Nvidia driver.
I have tested a few things before posting here, including:
I will try to use the dummy monitor solution when I get some more time and hopefully can report how it works for this application. But for now, I would like to see if there is anyone who already has got anything done before?
Every time I close the virtual screen, part of the virtual screen appears on the primary monitor and the system stops responding. I use distro Linux Mint 19.
The VNC Server component runs fine, but the virtual display is not created nor shows up in the GNOME display settings. No error messages are given. VIRTUAL display option is not available, so HDMI-1 is selected.
I would like to use VirtScreen to turn my iPad Mini 4 into a secondary monitor but the VIRTUAL1 option is not available to choose from.
Laptop Specs:
Tablet Specs:
What I tried so far:
I can connect and mirror my laptop screen to my iPad.
How to enable the VIRTUAL1 option to make it into a secondary monitor?
Any help is really appreciated. (Can anyone confirm that it works on Ubuntu 18.04.1?)
Hi, I am trying to run VirtScreen on an openSUSE pc running on an 8-core AMD FX-8350 with integrated graphics.
Here is my graphics card as detected by inxi -G:
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] driver: radeon v: kernel
Display: x11 server: X.Org 1.20.7 driver: radeon resolution: 1920x1080~60Hz
OpenGL: renderer: AMD CAICOS (DRM 2.50.0 / 5.5.6-1-default LLVM 9.0.1) v: 3.3 Mesa 20.0.0
I have read both issue #16 and issue #23 and tried all suggestions, but did not get the VIRTUAL1 device.
Trying to use one of the other devices (HDMI-0) I got the same error as in #14.
I understand that, presently, there's no supported way to run VirtScreen without an Intel or nVidia gpu, but I am opening this bug nonetheless because there's no other open issue in the tracker regarding the radeon driver, so this is a means to track the problem and push for a solution.
The radeon options are described here. There's unfortunately no support for the VirtualHead option or something similar.
If it is of any use I can post the output of my 'xrandr --verbose' and/or 'lspci'.
Installed the package from AUR (virtscreen 0.3.1-1), but when I try to run it it gives me a "Cannot detect system tray on this system"
error. I'm running OS 4.17.19-1-MANJARO
with x11 not wayland.
Starting the program with the log=INFO flag results in an empty log.txt file.
Custom x11vnc
arguments for advanced user.
In addition to my tablet I would love to add another VirtScreen to the session for my smartphone - either via GUI or Command Line.
An example on how to archive this would be really appreciated.
CLI-only option for who don't want a GUI
Hi Mr. Bumsik, how we talk by mail, here i report my issue
How show the image, i don't have "VIRTUAL1" device in my laptop.
but, when i used this device the program show me this message
complete:
['xrandr', '--output', 'HDMI-1', '--mode', '1368x1024_virt']
xrandr: Configure crtc 1 failed
Model laptop: Lenovo ideapad 510s
Operative system:
Graphics:
The output of the following codes executed in the terminal:
Thank you in advance for your help.
PD: On the page where the laptop was purchased, the model labeled for my dedicated graphics is: AMD R16M-M2-50 DDR3 2G.
-multiptr
optionx11vnc -opts
x11vnc
argumentscreate_ap
or hotspotd
)asyncio
netifaces
Hello this is not really an Issue I got it working, but` I wanted to share my Installation procedure because I got some "bugs" at the first try.
I love the VirtScreen program. It Still was a bit tricky to install on Ubuntu 18.10.
Just want to make clear what to do.
My Laptop specs:
Intel I5 with Intel HD Graphic
and Nvidia M150 Graphic card
on Ubuntu 18.10 with Gnome
Arandr installed
First problem no VirtualScreen1:
Tried with HDMI1-1 but it only duplicated my already used Monitor.
So created the /usr/share/X11/xorg.conf.d/30-virtscreen.conf
file. Related: #16
(Terminal and sudo)
# Then configure intel internal GPU
Section "Device"
Identifier "intelgpu0"
Driver "intel"
EndSection
And installed the latest x11vnc. Related: #19
Reinstall x11vnc and get it from Github
git clone https://github.com/LibVNC/x11vnc.git
cd x11vnc
sudo apt-get install automake autoconf
sudo apt-get install libvncserver-dev
./autogen.sh
./configure
make
sudo make install
sudo apt-get install x11vnc
and now install the virtscreen package.
cd /whereEver/You/Downloaded/It/
sudo dpkg -i virtscreen.deb
and afterwards run it with in Terminal
virtscreen
Thats it.
I can even drag and drop my Windows to the Virtscreen.
Great tool.
Thank you for making this tool.
Using Linux distro PopOS 18.10 but getting error cannot detect system tray when running virtscreen in CLI.
Any help would be greatly appreciated!
My Start Vcn serve it's always disabled :(
System: debian 9
And, how can i connect vcn viewr from my ipad 2018 to the vcn server on my Pc?
Thanks!
I just following your 'Installation - Debian(Ubuntu)' and 'How to use' steps, but there is a problem that I cannot solve.
When I press "Enable virual screen" button in app, then alert following message.
No virtual screen selected.
Go to Display->Virtual Display->Advaced
To select a device.
But in my ubuntu 18.04.1, there is no display tab such as virtual ~~.
How could I solve this problem?
I have a monitor (HDMI-1) connected to my laptop, in addition to the built in display (eDP-1). When I run VirtScreen in this configuration, the virtual screen isn't correctly mapped - the VNC client shows half of the virtual screen and the rest of the output is black. Would it be possible to amend the virtual screen calculations to support systems with more than one physical screen?
Other than this VirtScreen works great, many thanks for your efforts!
Seems as though install works fine with Yaourt, but fails with Yay (which is also a reasonably popular AUR helper).
Here is the output from Yay:
==> Making package: virtscreen 0.3.1-1 (Mon 10 Feb 2020 09:43:34 GMT) ==> Retrieving sources... -> Cloning src git repo... Cloning into bare repository '/home/x/.cache/yay/virtscreen/src'... remote: Enumerating objects: 8, done. remote: Counting objects: 100% (8/8), done. remote: Compressing objects: 100% (8/8), done. remote: Total 915 (delta 2), reused 1 (delta 0), pack-reused 907 Receiving objects: 100% (915/915), 8.25 MiB | 5.02 MiB/s, done. Resolving deltas: 100% (575/575), done. ==> Validating source files with md5sums... src ... Skipped ==> Making package: virtscreen 0.3.1-1 (Mon 10 Feb 2020 09:43:38 GMT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating src git repo... Fetching origin ==> Validating source files with md5sums... src ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of src git repo... fatal: repository '/home/x/.cache/yay/virtscreen/src' does not exist ==> ERROR: Failure while creating working copy of src git repo Aborting... Error making: virtscreen
This is using Yay v9.4.4 - libalpm v12.0.1
When I'm in the GNOME activities overview (kind of like Mission Control or Exposè in macOS, if you don't know GNOME) and I grab a window, GNOME freezes. I can get it to unfreeze by pushing escape, but I can't move my window around.
This is an issue because it forces me to use keyboard shortcuts to move windows between workspaces (which, personally, I do a LOT) and either manually drag windows between monitors on the desktop or use keyboard shortcuts.
Extra info:
I am using a Lenovo Thinkpad T420 with an i5-2520M @ 2.5GHz, 2 core hyperthreaded, and Intel HD graphics 3000.
I'm running Manjaro GNOME, with everything (except Dropbox) up to date at the time of writing.
My VNC client is an iPhone 6S 32GB, iOS 13.3.1 on Verizon with VNC Viewer V3.8.42034 . I'm going over my home wifi, which is enterprise grade network gear.
I literally downloaded VirtScreen today, so it's AppImage V0.3.1 .
Are there any plans to do an ARM build? (at least for the Debian package)
It would be awesome to be able to use this on a Raspberry Pi and similar devices.
I cannot seem to make a virtual screen i am on arch running kernel 5.0.8
Creating a Virtual Screen... Error: ['xrandr', '--newmode', '1440x900_virt', '106.50', '1440', '1528', '1672', '1904', '900', '903', '909', '934', '-hsync', '+vsync'] X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 16 (RRCreateMode) Serial number of failed request: 45 Current serial number in output stream: 45
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.