Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-05-2002, 03:18 PM
|
#1
|
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334
Rep:
|
GL through VNC not working; suggestions?
I'm trying to run some graphics apps through VNC. I don't really care about their performance, I just need them to run.
If I try to run the app, I get:
Xlib: extension "GLX" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
If I, then, set my display environment variable to <my ip>:1.0 (1.0 is the display I'm using for VNC), I get:
Cannot open the display. Is your DISPLAY environment variable set?
Server initialization failed. Sorry.
I'm running vncserver on RedHat 7.2 (192.168.0.4) - I installed with the vnc rpm. I'm running vncviewer on Windows 2000 (192.168.0.3)
any help would be great.
thanks.
|
|
|
08-05-2002, 06:09 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
You won't be able to get GL apps to work over VNC. VNC works by, effectively, taking a screenshot and sending it over the network to the viewer app (which is why it was so quick for them to write *nix/Win32/Mac/Java versions of their viewer software).
If you really want to run VNC, then I would to this:
run vncserver and record what it says on the line that looks like this:
New 'X' desktop is beast.grants.network:2
Then put in the address into your viewer app. You don't need to run it as root.
If you want to run things nice and smoothly, then you should look into running a remote X session. Because X is a server/client based setup (where usually the two run on the same machine), it isn't too difficult (apparently) to serve an X session over the network, and connect to it with a client app... and there are Win32 Xclient apps.
Hope this helps.
|
|
|
08-05-2002, 10:13 PM
|
#3
|
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334
Original Poster
Rep:
|
Quote:
Originally posted by Thymox
You won't be able to get GL apps to work over VNC. VNC works by, effectively, taking a screenshot and sending it over the network to the viewer app (which is why it was so quick for them to write *nix/Win32/Mac/Java versions of their viewer software).
|
which would make me think that you could open anything and it would go through the snapshot process... but apparently, my thinking is incorrect.
Quote:
If you really want to run VNC, then I would to this:
run vncserver and record what it says on the line that looks like this:
New 'X' desktop is beast.grants.network:2
Then put in the address into your viewer app. You don't need to run it as root.
|
I tried this, but came up with the same results. thanks for the tip, though.
Quote:
If you want to run things nice and smoothly, then you should look into running a remote X session. Because X is a server/client based setup (where usually the two run on the same machine), it isn't too difficult (apparently) to serve an X session over the network, and connect to it with a client app... and there are Win32 Xclient apps.
|
Yeah, it looks like this is the direction I'll need to go. Do you know of any xclients - preferably free?  I've used X-Win32 before, which worked well, but required some sort of setup on the server that I couldn't find any documentation on (admittedly, I didn't look very hard), and is somewhat expensive. I tried cygwin, but ssh didn't come with it and I wasn't sure if I may have been barking up the wrong tree.
Any win32 xclients out there that are nice and easy to use (wishful thinking, I know)?  What about win32 xclients that aren't easy to use?
|
|
|
08-06-2002, 02:57 PM
|
#4
|
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334
Original Poster
Rep:
|
bump... anyone have a suggestion for an xclient that will run on Windows? I tried axessh with no luck. maybe I need to set something on the linux box so x is forwarded? (I thought that happened automatically).
|
|
|
08-06-2002, 05:52 PM
|
#5
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
Unfortunately, XWin32 is the best one that I've heard of. As for Windows ssh clients, there are some around. I've never used one, but if you search this site you should find some links or info. As for why you'd use ssh? The only thing I can think of is so that you can initiate the remote X server... remotely, and then have your XWin32 client connect to it... although would you not want to do this at startup?
|
|
|
All times are GMT -5. The time now is 08:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|