LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-03-2005, 11:56 AM   #1
snumpy
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Rep: Reputation: 0
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.
 
Old 02-03-2005, 03:37 PM   #2
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
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...
 
Old 02-03-2005, 05:24 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
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.
 
Old 02-03-2005, 08:31 PM   #4
snumpy
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
tried doing it using the -x tag. now it says "X Window Display Initialization failure."

any other suggestions?
and stuff,
me.
 
Old 02-03-2005, 09:02 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
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.
 
Old 02-04-2005, 12:45 AM   #6
snumpy
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 02-04-2005, 08:29 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
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.
 
Old 02-08-2005, 12:20 AM   #8
Jantz
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble opening a program with a GUI using Konsole Eerath MEPIS 2 09-16-2005 08:52 AM
opening a program from shell hari78 Linux - Newbie 4 03-08-2005 10:33 AM
Program Not opening Neo22589 Linux - Software 22 03-10-2003 11:32 PM
Opening an X program from ssh command line petway56 Linux - General 2 02-14-2003 05:33 PM
opening a d/l program purelific Linux - Newbie 4 04-01-2002 12:10 AM


All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration