Open blindrain opened 1 year ago
turned on inidebug here is the output minus the certificate and password
[virt-viewer]
secure-attention = Ctrl+Alt+Ins
toggle-fullscreen = Shift+F11
host = pvespiceproxy:62e34f52:154:pve2::e851163b21e7156966d3943f8bfabb003db455e5
delete-this-file = 1
tls-port = 61000
type = spice
host-subject = OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=pve2.itmethod.net
release-cursor = Ctrl+Alt+R
title = VM 154 - Auto-DJ
proxy = http://pve2.itmethod.net:3128
This seems like an issue with virtviewer. Are you able to load the .vv file that proxmox provides directly?
yes
Can you post a copy of the downloaded .vv file (sanitized) for comparison?
[virt-viewer]
ca=-----BEGIN CERTIFICATE----
ZtM4+M3u+owpR8pgGNco=\n-----END CERTIFICATE-----\n
tls-port=61000
host=pvespiceproxy:630fb28e:154:pve2::f93eb8cbdc7625ec94e03d768ec105282e8adf44
type=spice
proxy=http://pve.itmethod.net:3128
secure-attention=Ctrl+Alt+Ins
toggle-fullscreen=Shift+F11
delete-this-file=1
title=VM 154 - Auto-DJ
release-cursor=Ctrl+Alt+R
host-subject=OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=pve2.itmethod.net
password=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've even setup the following in the config. The same config works fine in windows 10.
[SpiceProxyRedirect]
# The Spice Proxy provided by the Proxmox API may need to have it's host/port rewritten
# These rewrite rules are written `IP:port = IP:port`
# 1. Use the inidebug and read the current proxy=pve1.example.com:3128
# 2. Add your proxmox ip to the right side e.g. 123.123.123.123:6000
pve2.itmethod.net:3128 = pve.itmethod.net:3128
pve1.itmethod.net:3128 = pve.itmethod.net:3128
pve6.itmethod.net:3128 = pve.itmethod.net:3128
pve34.itmethod.net:3128 = 10.51.49.8:3128
Is there a setting in ubuntu That I need to configure a URI to open virt-viewer?
I'm going to attempt to load up an 18.02 instance tomorrow to attempt to reproduce.
On Sun, Sep 11, 2022, 2:56 PM blindrain @.***> wrote:
Is there a setting in ubuntu That I need to configure a URI to open virt-viewer?
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1243031910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4U7MC2FKS5BEEGED4E43DV5Y2NRANCNFSM547JMOUQ . You are receiving this because you commented.Message ID: @.***>
-- https://www.westparkcom.net https://www.westparkcom.net/
https://www.facebook.com/Westparkcom https://plus.google.com/115805397773385459794 https://www.linkedin.com/company-beta/854512/ https://twitter.com/westparkcom
Confidentiality Notice: The information contained in or attached to this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete the message as received.
Can you post a copy of the downloaded .vv file (sanitized) for comparison?
On Thu, Jul 28, 2022 at 10:12 PM blindrain @.***> wrote:
turned on inidebug here is the output minus the certificate and password
[virt-viewer] secure-attention = Ctrl+Alt+Ins toggle-fullscreen = Shift+F11 host = pvespiceproxy:62e34f52:154:pve2::e851163b21e7156966d3943f8bfabb003db455e5 delete-this-file = 1 tls-port = 61000 type = spice host-subject = OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN= pve2.itmethod.net
release-cursor = Ctrl+Alt+R title = VM 154 - Auto-DJ proxy = http://pve2.itmethod.net:3128
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1198835825, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIP64XMRNZL4OEIRWP7DZ3VWND2NANCNFSM547JMOUQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Can you post the redacted .vv file here so we can compare?
On Mon, Aug 22, 2022 at 12:08 PM blindrain @.***> wrote:
yes
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1222650890, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4U7MGCNVG2OH5N3OIZTJ3V2OXXXANCNFSM547JMOUQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
--
Josh Patten Chief Information Officer
Westpark Communications, L.P. 8917 Louetta Rd, Suite 400 Spring, TX 77379 Ph: 713.785.3238
-- https://www.westparkcom.net https://www.westparkcom.net/
https://www.facebook.com/Westparkcom https://plus.google.com/115805397773385459794 https://www.linkedin.com/company-beta/854512/ https://twitter.com/westparkcom
Confidentiality Notice: The information contained in or attached to this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete the message as received.
[virt-viewer] ca=-----BEGIN CERTIFICATE-----\nMTsFbdM/q6Ol569m2QOPMk3fS\n+x+B2J4P4GSW+23ebx+OoS5WkdzYyHmCmYKwbMh+OwS8xoOQELUjDZtY+sjkvsQc\n8PcOYtdpGETVpVlGHlEYUzcHVJp5jKYqJzTcwJ3XTMQv2PxAm5IVKE+lXl8QLdku\ntKY6Vs68ze7QdigMkP3vPwvkq\nOl8vmvoLfRGiEidy3LD+8F/zm2bnMw5vyORFO+PW92H0cj3tintdwWtoDNPLGWKk\n2tRBSe5JZb96atWAq5lGdnJnsBTUCHKu3oTKpZ2sKpSYVjsQ4VPBfxY3JTY4jsyh\njUrqyb55G/lJ82FLwchWIgcUUXFxLavH2xTxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxUb5tOqZIOL+8+DH0KTYbztgK0C44o\nLQ==\n-----END CERTIFICATE-----\n toggle-fullscreen=Shift+F11 type=spice host-subject=OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN= pve2.itmethod.net proxy=http://pve2.itmethod.net:3128 secure-attention=Ctrl+Alt+Ins title=VM 154 - Auto-DJ password=b3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxaaf delete-this-file=1 host=pvespiceproxy:6xxxxxxxx8:154:pve2::45cxxxxxxxxxxxxxxxxxxxx1b9 tls-port=61000 release-cursor=Ctrl+Alt+R __ Robert Whitacre (317)449-9320 http://voice.google.com/calls?a=nc,%2B13174499320 The IT Method Amazon Wish List http://www.amazon.com/gp/registry/wishlist/3BKCUEJWNAAC2/ref=cm_wl_rlist_go_o Need to Send Me an Encrypted File @.***>
On Tue, Oct 11, 2022 at 3:29 AM joshpatten @.***> wrote:
Can you post a copy of the downloaded .vv file (sanitized) for comparison?
On Thu, Jul 28, 2022 at 10:12 PM blindrain @.***> wrote:
turned on inidebug here is the output minus the certificate and password
[virt-viewer] secure-attention = Ctrl+Alt+Ins toggle-fullscreen = Shift+F11 host = pvespiceproxy:62e34f52:154:pve2::e851163b21e7156966d3943f8bfabb003db455e5 delete-this-file = 1 tls-port = 61000 type = spice host-subject = OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN= pve2.itmethod.net
release-cursor = Ctrl+Alt+R title = VM 154 - Auto-DJ proxy = http://pve2.itmethod.net:3128
— Reply to this email directly, view it on GitHub < https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1198835825 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABIP64XMRNZL4OEIRWP7DZ3VWND2NANCNFSM547JMOUQ
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1274214805, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUH3CPWNEPTU6GPWRX4MT3WCUJONANCNFSM547JMOUQ . You are receiving this because you authored the thread.Message ID: @.***>
I'm Still having this issue even with upgrading to the current version of PVE-VDIClient
This almost seems like a line feed issue, let me spin up an Ubuntu instance and see if I can figure out what the issue is.
On Thu, Mar 23, 2023 at 12:11 PM blindrain @.***> wrote:
I'm Still having this issue even with upgrading to the current version of PVE-VDIClient
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1481570812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4U7MFE3CZAOYG6BQTR6ODW5R74ZANCNFSM547JMOUQ . You are receiving this because you commented.Message ID: @.***>
--
Josh Patten Chief Information Officer
Westpark Communications, L.P. 8917 Louetta Rd, Suite 400 Spring, TX 77379 Ph: 713.785.3238
-- https://www.westparkcom.net https://www.westparkcom.net/
https://www.facebook.com/Westparkcom https://plus.google.com/115805397773385459794 https://www.linkedin.com/company-beta/854512/ https://twitter.com/westparkcom
Confidentiality Notice: The information contained in or attached to this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete the message as received.
you can remote into my system if you'd like __ Robert Whitacre (317)449-9320 The IT Method Amazon Wish List http://www.amazon.com/gp/registry/wishlist/3BKCUEJWNAAC2/ref=cm_wl_rlist_go_o Need to Send Me an Encrypted File @.***>
On Thu, Mar 23, 2023 at 2:40 PM jpattWPC @.***> wrote:
This almost seems like a line feed issue, let me spin up an Ubuntu instance and see if I can figure out what the issue is.
On Thu, Mar 23, 2023 at 12:11 PM blindrain @.***> wrote:
I'm Still having this issue even with upgrading to the current version of PVE-VDIClient
— Reply to this email directly, view it on GitHub < https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1481570812 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AD4U7MFE3CZAOYG6BQTR6ODW5R74ZANCNFSM547JMOUQ
. You are receiving this because you commented.Message ID: @.***>
--
Josh Patten Chief Information Officer
Westpark Communications, L.P. 8917 Louetta Rd, Suite 400 Spring, TX 77379 Ph: 713.785.3238
-- https://www.westparkcom.net https://www.westparkcom.net/
https://www.facebook.com/Westparkcom https://plus.google.com/115805397773385459794 https://www.linkedin.com/company-beta/854512/ https://twitter.com/westparkcom
Confidentiality Notice: The information contained in or attached to this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately and delete the message as received.
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1481714304, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUH3CLUJ5VJURYCN3OMXADW5SKJXANCNFSM547JMOUQ . You are receiving this because you authored the thread.Message ID: @.***>
Was this ever resolved? I seem to have hit the same problem.
When remote-viewer loads from PVE-VDIClient the title of the VM is missing at the top. If I use the vv file from proxmox then it shows me the VM name.
I was never able to replicate this, can you confirm if it is still an issue?
I will boot up that computer update vdi client and try it again sometime next week.
On Fri, Oct 13, 2023, 5:47 PM joshpatten @.***> wrote:
I was never able to replicate this, can you confirm if it is still an issue?
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1762266090, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUH3COY2XV7ZZIJNONGWU3X7GZIVAVCNFSM547JMOU2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGIZDMNRQHEYA . You are receiving this because you authored the thread.Message ID: @.***>
I get this when trying to run vdiclient.py on a completely fresh install No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy
root@blindrain-Standard-PC-Q35-ICH9-2009:~# /usr/local/bin/vdiclient.py
Traceback (most recent call last):
File "/usr/local/bin/vdiclient.py", line 911, in <module>
sys.exit(main())
File "/usr/local/bin/vdiclient.py", line 879, in main
if not loadconfig(config_location=args.config_location, config_type=args.config_type, config_username=args.config_username, config_password=args.config_password, ssl_verify=args.ignore_ssl):
File "/usr/local/bin/vdiclient.py", line 69, in loadconfig
win_popup_button(f'Unable to read supplied configuration from any location!', 'OK')
File "/usr/local/bin/vdiclient.py", line 239, in win_popup_button
window = sg.Window('Message', layout, return_keyboard_events=True, no_titlebar=True, keep_on_top=True, finalize=True)
File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 9618, in __init__
self.Finalize()
File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 10304, in finalize
self.Read(timeout=1)
File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 10079, in read
results = self._read(timeout=timeout, timeout_key=timeout_key)
File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 10150, in _read
self._Show()
File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 9890, in _Show
StartupTK(self)
File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 16821, in StartupTK
_get_hidden_master_root()
File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 16708, in _get_hidden_master_root
Window.hidden_master_root = tk.Tk()
File "/usr/lib/python3.10/tkinter/__init__.py", line 2299, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy
and the new release works and loads into virtviewer.
The issue above is from faulty installation instructions.
the installation intructions parts require root and parts fail from root being used. this needs to be broken up accordingly.
I still need to test this on Ubuntu 18.04.6 LTS as this is the latest release that Dell Seems to support on their hardware.
New Install Instructions need to be with a note that only the commands that start with sudo are to be ran as root.
sudo apt install python3-pip python3-tk virt-viewer git
git clone https://github.com/joshpatten/PVE-VDIClient.git
cd ./PVE-VDIClient/
chmod +x requirements.sh
./requirements.sh
sudo cp vdiclient.py /usr/local/bin
sudo chmod +x /usr/local/bin/vdiclient.py
This statement is true for the Debian Binary too.
sudo apt install python3-pip python3-tk virt-viewer git
git clone https://github.com/joshpatten/PVE-VDIClient.git
cd ./PVE-VDIClient/
chmod +x requirements.sh
./requirements.sh
pip3 install pyinstaller
pyinstaller --onefile --noconsole --noconfirm --hidden-import proxmoxer.backends --hidden-import proxmoxer.backends.https --hidden-import proxmoxer.backends.https.AuthenticationError --hidden-import proxmoxer.core --hidden-import proxmoxer.core.ResourceException --hidden-import subprocess.TimeoutExpired --hidden-import subprocess.CalledProcessError --hidden-import requests.exceptions --hidden-import requests.exceptions.ReadTimeout --hidden-import requests.exceptions.ConnectTimeout --hidden-import requests.exceptions.ConnectionError vdiclient.py
sudo cp dist/vdiclient /usr/local/bin
sudo chmod +x /usr/local/bin/vdiclient
I wonder if this would solve your issue: https://raspberrypi.stackexchange.com/a/106883
On Fri, Nov 3, 2023 at 7:11 PM blindrain @.***> wrote:
I get this when trying to run vdiclient.py on a complete fresh install
@.***:~# /usr/local/bin/vdiclient.py Traceback (most recent call last): File "/usr/local/bin/vdiclient.py", line 911, in
sys.exit(main()) File "/usr/local/bin/vdiclient.py", line 879, in main if not loadconfig(config_location=args.config_location, config_type=args.config_type, config_username=args.config_username, config_password=args.config_password, ssl_verify=args.ignore_ssl): File "/usr/local/bin/vdiclient.py", line 69, in loadconfig win_popup_button(f'Unable to read supplied configuration from any location!', 'OK') File "/usr/local/bin/vdiclient.py", line 239, in win_popup_button window = sg.Window('Message', layout, return_keyboard_events=True, no_titlebar=True, keep_on_top=True, finalize=True) File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 9618, in init self.Finalize() File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 10304, in finalize self.Read(timeout=1) File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 10079, in read results = self._read(timeout=timeout, timeout_key=timeout_key) File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 10150, in _read self._Show() File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 9890, in _Show StartupTK(self) File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 16821, in StartupTK _get_hidden_master_root() File "/usr/local/lib/python3.10/dist-packages/PySimpleGUI/PySimpleGUI.py", line 16708, in _get_hidden_master_root Window.hidden_master_root = tk.Tk() File "/usr/lib/python3.10/tkinter/init.py", line 2299, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable — Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1793259986, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIP64US7DBN74N5OPHHY63YCWB3XAVCNFSM547JMOU2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZZGMZDKOJZHA3A . You are receiving this because you commented.Message ID: @.***>
What resolved the errors I provided was not running the following as root.
cd ./PVE-VDIClient/
chmod +x requirements.sh
./requirements.sh
when I ran that as root, I couldn't load vdiclient.py but if I ran it as a standard user everything worked fine.
after Running ./requirements.sh as root it gave me an error saying to not run pip install commands as root as it messes with permisions.
my ubuntu 18 system completely crashed after updates I switched it to debian 12 which I couldn't get pip install to work on at all but the binary I made on the ubuntu 22 system worked on debian 12 resolving that problem.
Alright, so what was the final "here's what worked" set of commands?
On Tue, Nov 7, 2023 at 12:10 PM blindrain @.***> wrote:
my ubuntu 18 system completely crashed after updates I switched it to debian 12 which I couldn't get pip install to work on at all but the binary I made on the ubuntu 22 system worked on debian 12 resolving that problem.
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1799378287, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIP64TLGYVC5RTWFARBQTTYDJ2RZAVCNFSM547JMOU2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZZHEZTOOBSHA3Q . You are receiving this because you commented.Message ID: @.***>
I ran the commands for ubuntu as written on my fork here https://github.com/PercFab/PercFab_PVE-VDIClient as a non root user that has access to sudo. So that the the commands that need root work while the commands that fail as root also work.
For instance my user name is blindrain I copied and pasted those commands into xterm as blindrain. And everything just worked
On Tue, Nov 7, 2023, 2:44 PM joshpatten @.***> wrote:
Alright, so what was the final "here's what worked" set of commands?
On Tue, Nov 7, 2023 at 12:10 PM blindrain @.***> wrote:
my ubuntu 18 system completely crashed after updates I switched it to debian 12 which I couldn't get pip install to work on at all but the binary I made on the ubuntu 22 system worked on debian 12 resolving that problem.
— Reply to this email directly, view it on GitHub < https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1799378287>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABIP64TLGYVC5RTWFARBQTTYDJ2RZAVCNFSM547JMOU2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZZHEZTOOBSHA3Q>
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/22#issuecomment-1799783086, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUH3CPO5LTBFXZ6RCOTQPDYDKFQJAVCNFSM547JMOU2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZZHE3TQMZQHA3A . You are receiving this because you authored the thread.Message ID: @.***>
Running Description: Ubuntu 18.04.6 LTS Release: 18.04 I get the Following error after Install. and trying to connect to a VM. I'm able to connect to Virtviewer from the proxmox web gui but not PVE VDI
PVE VDI launches and lets me login Show's VMS but provides this error after clicking on a VM
can not determine the connection type from URI