Python graphics
I am trying to move my python projects from windows to arch linux. When I try to generate some graphics (via a Putty SSH console), I receive the message:
Code:
QXcbConnection: Could not connect to display |
Are you using ncurses to isplay gui or using X Windows?
|
Putty is purely text (hence puTTY). What you see is text. When you want to switch to a GUI application, your application does not know how to display graphics.
As it seems you are developing on the Linux box and want to display the application on Windows? Your best option might be to install VNC on the Linux box and work remotely on your Linux desktop. What graphical library do you use? Is it available in Linux as well? With libraries I have been using, the same code runs both on Windows and Linux without a single change. So what is the use of running your application in Linux and watching it on a Windows box? jlinkels |
Extremely well taken points. I am trying hard to move everything to Arch and make myself as independent of Windows as I can. From what I understand, I should install
Code:
vncserver -geometry 1440x900 -alwaysshared -dpi 96 -localhost :1 This seems more attractive that tunneling X11 through Putty and Xming which is quite messy in my (limited) experience. I will try that! |
I am not that familiar with VNC, so if you say this is the correct program call I believe you. You'll see whether it works as expected or not. I hardly feel the need to access my Linux from Windows. If I have Linux box around I prefer that one over Windows.
That raises the question why you would want to remotely connect to your Linux box. Is it located off-site? Is installing Arch inside a VM on your Windows machine an option? jlinkels |
All times are GMT -5. The time now is 11:55 PM. |