Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running putty on a windows machine and logging in to a fedora 25 desktop machine on my LAN. I've been trawling google trying to find a way to run commands in putty to open programs on the fedora desktop but nothing works. I always get " cannot open display: :0" or something similar.
I found this thread https://www.howtoforge.com/tutorial/...-applications/ but when I run commands in putty I still get: Gtk-WARNING **: cannot open display: :0
I've tried export DISPLAY=:0 in putty first but that doesn't work either. I've had success remotely connecting to the fedora desktop using x11vnc but that requires starting x11vnc on the desktop machine first and then switching to putty on windows. I need to get putty to open GUI programs from putty/windows without having to touch the fedora machine. I also saw this link https://www.suse.com/communities/blo...lays-remotely/ but that doesn't work for me either. Thanks for any help.
You need to install an x server on Windows to run remote applications like cygwin/x or xming via PuTTy. Since xllvnc is a server you should be able to start it at boot up.
does that fedora desktop have GUI installed at all? Does any kind of window manager running on it?
You cannot display linux graphical apps on native windows desktop, you may need either vnc (installed server on linux) or X server (installed on windows).
@pen64 yes the fedora machine has a gui. As I said earlier I can access the fedora desktop from a remote windows machine using vnc, that's not a problem. The problem is I can't run commands from a remote putty session to open programs on the fedora desktop. I've since discovered I can do this on a fedora 20 machine but a fedora 25 machine will not work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.