SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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 don't know about SuSE, but in Slackware glxgears is not in the $PATH for root.
Code:
root@james:/home/mingdao/build# glxgears
bash: glxgears: command not found
root@james:/home/mingdao/build# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
root@james:/home/mingdao/build# exit
exit
mingdao@james:~/build$ glxgears
X connection to :0.0 broken (explicit kill or server shutdown).
mingdao@james:~/build$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.
mingdao@james:~/build$ which glxgears
/usr/X11R6/bin/glxgears
mingdao@james:~/build$
I can start glxgears in the root terminal, but it won't display. That's the problem.
And not just glxgears - any program that requires OpenGL won't start in root terminal.
Last edited by Turin Turambar; 03-31-2005 at 07:20 PM.
Well, it's the Terminal Super User mode. I can run OpenGL programs in every terminal, except in that one. However, I remember that I *could* start it from there to.
Well,
You login to the GUI, you open a konsole thru the menu, eg "konsole", glxgears will work, you open a terminal eg "xterm", it will work.
What doesn't work is,
You login to the GUI, you see a nice desktop. You press CTRL+ALT+F1/F2/F3/F4/F5/F6 and swith to a virtual console and login and run glxgears, it will not work!!!
If you open a shell, a konsole, a terminal, a super terminal or whatever, as long as you open it from the GUI, glxgears will run.
But you cannot run it in a seperate virtual console.
Ok, here is the deal. OpenGL got , more or less, nothing to do with X.
Try running and configuring sax2 again. If this doesn't work, then reinstall drivers (maybe you updated your kernel lately, hence setuo or compile of video drivers are required again), and then run sax2, according to your drivers readme.
I enter the GUI and normally run the system (like Windows XP). If I want to start OpenGL programs from the root console (Super User Mode), they will not work.
For example, glxgears will show "error, could not open...", supertux will show "Warning: I could not set up fullscreen video for 640x480 mode. The Simple DirectMedia error that occured was: Fatal signal: Segmentation Fault (SDL Parachute Deployed), and the list goes on.
But if I start the same stuff from normal konsole (not root), everything works. That's strange. I didn't change anything in kernel recently and tried SaX several times, but it didn't work.
Last edited by Turin Turambar; 04-02-2005 at 03:54 PM.
Well, now I got what u mean. I am also unable to access OpenGL through ATI drivers, but only through Mesa. Ok try this:
Quote:
now run fglrxconfig (remember you are configureing this in root... mine did not apply to the regular user, so i had to run fglxconfig again. what i did was log in as the user.. pull up a shell, ran su, then ran init 3. logged in again as the usr at the CLI, su, and ran fglrxconfig.) i really hope that made sense... lol.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.