LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-27-2009, 02:43 PM   #1
chinchi11a
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
[SOLVED] SSH font problem?


Hello there! I am brand new to linux so please forgive me if I make any horribly foolish assumptions, statements, etc. >.>;

Some details: I am using slackware 12 with KDE 3.5.10.

Anyways, I'm trying to use SSH to remotely run an application (from school computers) on my home computer. I read that the display should automagically be set up for me with SSH and X11, which is awesome. However, when I login to the remote computer and try to run the program (named sim354) this is what I get:

Code:
emperor01(1)% sim354 &
[1] 23637
emperor01(1)% Cannot open font *-courier-medium-r-normal--12-*-75-*

[1] Exit255 sim354
It looks to me like my XServer is missing a font that the application wants to use... but who knows.
I think the fonts should have been installed with slackware during installation as part of the X package, so I'm not sure why I wouldn't have said font, or where I could get it. I've been googling this for like an hour to no avail. :[

Anyways, if anyone has any idea how I may fix this, do let me know Thanks for reading~

Last edited by chinchi11a; 02-28-2009 at 12:28 AM.
 
Old 02-27-2009, 05:09 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by chinchi11a View Post
Hello there! I am brand new to linux so please forgive me if I make any horribly foolish assumptions, statements, etc. >.>;

Some details: I am using slackware 12 with KDE 3.5.10.

Anyways, I'm trying to use SSH to remotely run an application (from school computers) on my home computer. I read that the display should automagically be set up for me with SSH and X11, which is awesome. However, when I login to the remote computer and try to run the program (named sim354) this is what I get:

Code:
emperor01(1)% sim354 &
[1] 23637
emperor01(1)% Cannot open font *-courier-medium-r-normal--12-*-75-*

[1] Exit255 sim354
It looks to me like my XServer is missing a font that the application wants to use... but who knows.
I think the fonts should have been installed with slackware during installation as part of the X package, so I'm not sure why I wouldn't have said font, or where I could get it. I've been googling this for like an hour to no avail. :[

Anyways, if anyone has any idea how I may fix this, do let me know Thanks for reading~
Well, the X windows application you're calling is trying to use the font. That particular one isn't installed, so you're getting complaints, but does the application run? I've seen this several times before, and the application will usually continue, even if it doesn't look *quite* right.

You can try to find/install that font, which will make the error go away. Take a look at the system where the application is installed, and the font may be there.
 
Old 02-27-2009, 06:36 PM   #3
chinchi11a
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Well, the X windows application you're calling is trying to use the font. That particular one isn't installed, so you're getting complaints, but does the application run? I've seen this several times before, and the application will usually continue, even if it doesn't look *quite* right.

You can try to find/install that font, which will make the error go away. Take a look at the system where the application is installed, and the font may be there.
Ah, first of all thanks for the response! ^^

Yeah, unfortunately, the program exits right away. Looking for the font on the system sounds like a great idea... except it's a CS department computer so I'm not sure if I'll be free to browse to wherever the fonts are kept? (where are the fonts kept >.>)

I'd really like to just download it from somewhere online.. I just don't know where to go from the name of the font that it's spitting out at me. Is there some kind of font database? Do the asterisks mean any kind of ___-courier-medium etc will work? I'm super unfamiliar with this stuff on linux. :X Thanks again..
 
Old 02-27-2009, 08:56 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by chinchi11a View Post
Ah, first of all thanks for the response! ^^

Yeah, unfortunately, the program exits right away. Looking for the font on the system sounds like a great idea... except it's a CS department computer so I'm not sure if I'll be free to browse to wherever the fonts are kept? (where are the fonts kept >.>)

I'd really like to just download it from somewhere online.. I just don't know where to go from the name of the font that it's spitting out at me. Is there some kind of font database? Do the asterisks mean any kind of ___-courier-medium etc will work? I'm super unfamiliar with this stuff on linux. :X Thanks again..
Not a problem, and welcome aboard.

Well, the fonts are stored in different places, depending on what kind of font. TrueType stuff is in a different place from the PCxx type fonts, and install differently. From what I remember, the font can be any (like adobe/IBM/etc.) brand font, but it has to be courier-medium-r-normal, so your options will be kinda limited. I know Adobe makes one, and so does IBM, if that helps, but I don't know where to get it off hand.

Fonts these days are fairly easy to install. If you're using KDE, you should be able to fire up the configuration tool, and choose "Font Installer". Pretty easy from there.
 
Old 02-27-2009, 11:34 PM   #5
chinchi11a
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Not a problem, and welcome aboard.

Well, the fonts are stored in different places, depending on what kind of font. TrueType stuff is in a different place from the PCxx type fonts, and install differently. From what I remember, the font can be any (like adobe/IBM/etc.) brand font, but it has to be courier-medium-r-normal, so your options will be kinda limited. I know Adobe makes one, and so does IBM, if that helps, but I don't know where to get it off hand.

Fonts these days are fairly easy to install. If you're using KDE, you should be able to fire up the configuration tool, and choose "Font Installer". Pretty easy from there.
Hm, I'm having a devil of a time finding where to download this font from....

I've got the KDE font installer all ready, but I just can't for the life of me find where to go for this. I've seen plenty of mention of fonts such as "adobe-courier-medium-r-normal--12-120-75-75-m-70-koi8-1" or "adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1" etc... what are these, just the name of the font once it's installed? How do I go in reverse, from this name to the name of the file I'm looking to download? @_@

super confused >.>

EDIT: I found, by chance, some old archived guide to using a windows X server deal to run the MIPS simulator for this class, and they happened to mention a specific filename, courR12.pcf.gz... so I found that online, installed it manually (the installer didn't like it for some reason), and it was just what I needed!! Yay!

Anyways I still have no idea how I'd have come up with that filename normally and would still be interested to know, if anyone had a tip or something.

Either way thanks a tonnn for the help Now I can start my assignment. xD

Last edited by chinchi11a; 02-28-2009 at 12:30 AM.
 
  


Reply



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
Emacs - changing default font size and font type? neilcpp Linux - Software 16 05-20-2013 11:29 AM
Chroot SSH problem: ssh working, not SFTP & SCP. NaCo Linux - Security 3 02-01-2009 02:23 AM
SSH problem - ssh-add not respond FerkoPica Linux - Security 6 05-07-2006 03:47 PM
ssh problem after creating an ssh alias. porotothorpe Linux - General 2 01-25-2006 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:11 PM.

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
Open Source Consulting | Domain Registration