LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-24-2023, 09:35 PM   #31
SamHobbs
Member
 
Registered: Nov 2021
Location: California, USA
Posts: 83

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by rufwoof View Post
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.

Last edited by SamHobbs; 10-24-2023 at 09:42 PM.
 
Old 10-25-2023, 07:50 AM   #32
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by SamHobbs View Post
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.
 
3 members found this post helpful.
Old 10-25-2023, 11:30 AM   #33
SamHobbs
Member
 
Registered: Nov 2021
Location: California, USA
Posts: 83

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
So you're not familiar with it...yet somehow know it doesn't do what you want???
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.

Quote:
Originally Posted by TB0ne View Post
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.
You left out the important part, the GUI part.

Quote:
Originally Posted by TB0ne View Post
And if you use X forwarding (as you've been told many times)
I did not say that X forwarding is not a possibility.
 
Old 10-25-2023, 11:50 AM   #34
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by SamHobbs View Post
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.
 
  


Reply

Tags
guis



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Local GUI interface possible to a remote NON-GUI server? drgheetar Ubuntu 3 07-01-2014 09:23 PM
Do you think I should use a Qt GUI, a GTK GUI, or no GUI at all? anon02 Programming 5 08-25-2011 06:59 AM
Isn't Windows 95 or 98 a better GUI solution for old machines than an old Linux GUI lynchmob09 General 10 04-20-2004 01:24 AM
To GUI or not to GUI? Transition Linux - General 5 02-03-2004 11:41 PM
Gui What GUI rrose42 Linux - General 14 03-27-2002 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration