Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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 have recently begun using knoppix and am trying to ssh into a server where I am supposed to be able to run a program that opens an xterm (or something like that) graphical user interface (it's chip design software).
I am able to log in without any trouble, but when I try to actually run the program, I get an error saying "Failed to find either 24-bit TrueColor or 8-bit PseudoColor Visual." I have tried using the <knoppix depth=24> when starting, but it did not seem to fix the problem.
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124
Rep:
I read something like this (umm... thinking..) about five years ago. Somebody was useing RH 4.xx? and had a solution for that. since it *is* five years, i can't remember/tell anything correct, but I can give a hint: It had something to do with system variables set like:
"export XFREE_DEPTH=8"
in BOTH the sort-of-like-server you're logging, AND the client.
...
but as said, that's about all I can remember. But keep searching, it CAN be done...
1) Use VNC. This allows you to see an X environment that is running on the remote box. Of course the remote box has to have vncserver running. Do a little searching here and you will find tons of threads on how to get VNC up and running over SSH.
2) If you have X available on your local machine, which you do since you're running Knoppix (or use somehting like Cygwin or Exceed on Windows), you can start the ssh with the -X flag. Doing that enables X forwarding in which case the program will use the local X installation to display.
tried doing it using the -x tag. now it says "X Window Display Initialization failure."
Well, did you do ssh -X or ssh -x, because it makes a world of difference. If you did ssh -x (as your post suggests) that actually disables X forwarding and would account for your error. However ssh -X enables X forwarding and should work.
That's odd. Do simple X programs like xterm or xclock work? I'm trying to figure out if this is a failure of X forwarding or if the chip design software is being difficult.
However, despite the fact this setup will get you beyond that error, I had issues with the keyboard. It would work initially and then after a short while would not log keystrokes when in a text box (cursor stopped flashing).
Anyway, this might help you get past one problem. Good luck!
P.S. Help from anyone with the keyboard issue would be great, seeing as how I am now messing around trying to get Cygwin to get by the "24/8 PseudoColour" problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.