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.
ssh and X forwarding is slow if you intend to do things such as using a web browser.
That is irrelevant to the question. Everything related to SSH and browsing is irrelevant.
I am not familiar with X forwarding but I think it was said previously that in terms of performance what it does is similar to what a browser does.
Any solution requiring the use of a virtual machine is irrelevant. What I am asking about is something that an application would use in a VM. I am not interested in installing a VM on top of a VM. I am not interested in anything requiring the use of a different OS. I am asking for something at the programming level.
The design of X Windows might be useful. I think that SSH can be either a protocol or a command. X Windows does not require use of the SSH command, just the use of the SSH protocol, correct? I tried to try X Windows in a SSH command and got it to work once then it would not work again. I cannot find the article I used the first time. I am not asking for help with that in this thread, how to use X Windows is off-topic for this thread.
That is irrelevant to the question. Everything related to SSH and browsing is irrelevant. I am not familiar with X forwarding but I think it was said previously that in terms of performance what it does is similar to what a browser does.
So you're not familiar with it...yet somehow know it doesn't do what you want???
Quote:
Any solution requiring the use of a virtual machine is irrelevant. What I am asking about is something that an application would use in a VM. I am not interested in installing a VM on top of a VM. I am not interested in anything requiring the use of a different OS. I am asking for something at the programming level.
The design of X Windows might be useful. I think that SSH can be either a protocol or a command. X Windows does not require use of the SSH command, just the use of the SSH protocol, correct? I tried to try X Windows in a SSH command and got it to work once then it would not work again. I cannot find the article I used the first time. I am not asking for help with that in this thread, how to use X Windows is off-topic for this thread.
Again, your original question was:
Quote:
Originally Posted by SamHobbs
Is there such a thing as a remote GUI? What I mean is something such as a program running in a VM that does not have a display device that communicates with a program in a remote system (perhaps another Linux system or perhaps a Windows system) that shows a GUI. When we use a VM we typically use a text-only interface such as SSH to execute programs and the programs execute in the VM and the standard I/O is redirected to our remote system.
So you want:
"Running as a program in a VM that does not have a display device"
"Communicates with a program in a remote system"
"the programs executed in the VM and the standard I/O is redirected to our remote system"
Congratulations, you have just described any terminal emulator running to hook to any system. And if you use X forwarding (as you've been told many times), you have EXACTLY WHAT YOU WANT. For example, you use SSH to connect to a system (VM or 'real'), with X forwarding enabled. Now...if you type in the name of a GUI program (dolphin, nautilus, a browser, whatever...), that program RUNS on the remote system but is *DISPLAYED ON THE SYSTEM LOCALLY THAT YOU STARTED THE CONNECTION FROM*.
If you're so unhappy with the answers you're getting here, perhaps you should ask elsewhere.
I do not know what it is that you are saying. I don't know if you are referring to the SSH program, X Windows or browsers.
The "it", is exactly what you said and I quoted in my reply: X forwarding.
Quote:
You left out the important part, the GUI part.
Again, not at all. As you've been told MANY times thus far, ANY GUI program can run just fine over SSH if X forwarding is enabled. You *DO NOT NEED* a full desktop to run a GUI app, period.
Quote:
I did not say that X forwarding is not a possibility.
Yet you complain about the answers/advice you've been given by volunteers, and seem to want to dictate we give you 'acceptable' answers, yet you obviously (based on your previous post) don't know what X forwarding is/does, and seem to have a shaky grasp on even basic SSH.
AGAIN:
A full GUI desktop just is not required to run a GUI application, period. Been said very plainly multiple times.
You say that RDP/VNC doesn't fit your needs...but don't bother to tell us WHY, despite being asked.
Opening the X console remotely is very insecure, and has been discouraged for years due to the vulnerabilities it opens up, and because 99.x% of people use X forwarding.
You don't want to tell us what your actual goal is, or what problem(s) you're having with the aforementioned suggestions. Again, just typing in "ssh -x user@IP" works....you're now logged in to a remote system, with X forwarding enabled. Want to run Firefox?? Then type in "/usr/bin/firefox" and watch it pop up on your local machine. Same for any other GUI program. Not sure what's hard to understand about that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.