LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Newbie VirtualGL Help (https://www.linuxquestions.org/questions/linux-desktop-74/newbie-virtualgl-help-4175591703/)

mpapet 10-18-2016 09:36 PM

Newbie VirtualGL Help
 
I have a mythfrontend box connected to a nice, big, LCD panel. My laptop has a screen that is mostly too small for me to complete meaningful work. I want to launch an app on my laptop and have it appear on the mythfrontend display.

I am trying to use VirtualGL to launch an application from my laptop, then have it run on the mythfrontend box.

I installed VirtualGL on the mythfrontend box and configured the VirtualGL server. My laptop has VirtualGL installed.

From my laptop:
Code:

vglconnect {user}@{server}
This is just an ssh connection and it works.

From my laptop:
Code:

vglconnect -x myaccount@mythfrontend.local glxgears
I get
Code:

vglclient is already running on this X display and accepting unencrypted connections on port 4242.
And glxgears is running on my laptop's screen.

What I want is to launch the application (ex. glxgears) from my laptop and have it appear on the mythfrontend screen. I think I'm not understanding how VirtualGL works in a very fundamental way.

273 10-20-2016 01:06 PM

Yes, from what I can tell, you are misunderstanding what VirtualGL does. What I read about VirtualGL tells me is that it is meant to do exactly what you are seeing -- it's using the OpelGL hardware on your myth box to run an OpenGL application from your laptop on the screen of your laptop. It's an OpenGL server.

What I would do in your case is use something like X2VNC (available in the repositories) on your laptop and a VNC server on your myth box that way you can control your myth box from your laptop. Then, you can decide to either simply ssh into your laptop from your myth box and open X applications that way (you'll have to allow X11 forwarding in ssh.conf and, possibly sshd. conf) or use VirtualGL the other way if your laptop has a better graphics card and it makes things work better.


All times are GMT -5. The time now is 11:15 AM.