Linux - Newbie This 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.
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.
|
|
02-03-2005, 10:56 AM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Rep:
|
opening a gui program through ssh
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.
any help would be appreciated,
and stuff,
me.
|
|
|
02-03-2005, 02:37 PM
|
#2
|
Member
Registered: Jan 2003
Location: Finland
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...
|
|
|
02-03-2005, 04:24 PM
|
#3
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
You need to do one of two things:
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.
|
|
|
02-03-2005, 07:31 PM
|
#4
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Original Poster
Rep:
|
tried doing it using the -x tag. now it says "X Window Display Initialization failure."
any other suggestions?
and stuff,
me.
|
|
|
02-03-2005, 08:02 PM
|
#5
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Quote:
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.
See man ssh for more details.
|
|
|
02-03-2005, 11:45 PM
|
#6
|
LQ Newbie
Registered: Feb 2005
Posts: 6
Original Poster
Rep:
|
I had indeed used the -x instead of -X. But when I correct this and use -X, I once again get the orginal error.
If you have any other suggestions, please let me know.
thanks,
and stuff,
me.
|
|
|
02-04-2005, 07:29 AM
|
#7
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
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.
|
|
|
02-07-2005, 11:20 PM
|
#8
|
LQ Newbie
Registered: Feb 2005
Posts: 1
Rep:
|
Hey,
** I'm VERY new to ANYTHING but windows ** - FYI
I got that setup to work by using X-Deep/32 which has a "Simulate 8-bit PseudoColour Visual" option in it's setup.
http://www.pexus.com - Main Site
http://www.pexus.com/Documents/Xserver.htm - Screen Shot of Configuration
In this setup however, it was reccommended (perhaps it's required) that an additional program called PuTTY (SSH Client) be used.
http://www.chiark.greenend.org.uk/~sgtatham/putty/
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.
Cheers,
Jantz
|
|
|
All times are GMT -5. The time now is 11:37 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
|
|