Newbie - problem with xterm

Newbie - problem with xterm

Post by grzegorz_mantur.. » Mon, 26 Dec 2005 12:40:09



Hello all,

I am quite new in Solaris and experience basic - I think - problems.
Now I am playing with remote desktop, i.e. I want to display on Windows
computer graphical applications running on Solaris. I have relevant
remote desktop program and everything works fine except of xterm. I
still get a message that it is "unable to locat a suitable font". Other
applications like xclock work fine.
I suspect that I missed something basic in system configuration.
How can I fix this?
Any hints will be greatly appreciated!
Greg

 
 
 

Newbie - problem with xterm

Post by hans m4 » Mon, 26 Dec 2005 19:35:49


hi greg

which X-server are you running on your windows-platform ?
i use cygwin and did never had problems with xterm, dtterm or so.
maybe some warnings, but xterm-window does open and work.

alternativly you could start Xvnc on your solaris-box
and connect via vncviewer from windows-workstation.
/opt/sfw/bin/Xvnc is on your companion-cd.

depending of the x-applications you are running, it can be faster
over a slow line, than transporting x11-traffic.

best regards
hans

--



>Hello all,

>I am quite new in Solaris and experience basic - I think - problems.
>Now I am playing with remote desktop, i.e. I want to display on Windows
>computer graphical applications running on Solaris. I have relevant
>remote desktop program and everything works fine except of xterm. I

remote desktop ( or rdesktop ) has nothing to do with X11.
there you can connect between windows-systems. but the
client is also available for solaris.
Quote:>still get a message that it is "unable to locat a suitable font". Other
>applications like xclock work fine.
>I suspect that I missed something basic in system configuration.
>How can I fix this?
>Any hints will be greatly appreciated!
>Greg


 
 
 

Newbie - problem with xterm

Post by grzegorz_mantur.. » Tue, 27 Dec 2005 05:34:27


Hello Hans,

Thank you for reply. As you guessed, I use Xvnc on Solaris side and
vncviewer on Windows. I browsed FAQs and mailing list forth and back on
VNC site and did not found any message regarding my problem. Therefore
I suspect that it is not the issue of VNC but the operating system
itself. I think that font resources are not configured properly, xterm
is not able to find ANY font and simply does not start. I have learned
a bit that on UNIX platforms there are font servers used to render
fonts and font resources must be somehow prepared before first usage.
Maybe this is the point? How can I for example check whether fonts are
available in general?

Regards,
Greg

 
 
 

Newbie - problem with xterm

Post by Jean-Louis Liagr » Tue, 27 Dec 2005 06:31:57



> [...] I have learned
> a bit that on UNIX platforms there are font servers used to render
> fonts and font resources must be somehow prepared before first usage.
> Maybe this is the point? How can I for example check whether fonts are
> available in general?

You wrote in your first posting everything works fine expect xterm.
Does that includes other terminal emulators or is it just xterm
which has trouble ?

If you manage to run one of these, try:

"xset -q", will show you the fontpath, including font server if set.

"xlsfonts", will display all fonts available.

You can also try running "xfontsel" (graphic font selector).

 
 
 

Newbie - problem with xterm

Post by hans m4 » Tue, 27 Dec 2005 07:23:22


Hello Greg



>Hello Hans,

>Thank you for reply. As you guessed, I use Xvnc on Solaris side and
>vncviewer on Windows. I browsed FAQs and mailing list forth and back on
>VNC site and did not found any message regarding my problem. Therefore
>I suspect that it is not the issue of VNC but the operating system
>itself. I think that font resources are not configured properly, xterm
>is not able to find ANY font and simply does not start. I have learned
>a bit that on UNIX platforms there are font servers used to render
>fonts and font resources must be somehow prepared before first usage.

the font-server must not run. i did

#  svcadm -v disable svc:/application/x11/xfs:default
svc:/application/x11/xfs:default disabled.

#  svcs -vx svc:/application/x11/xfs:default
svc:/application/x11/xfs:default (X Window System font server)
 State: disabled since Sun Dec 25 23:07:32 2005
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: man -M /usr/openwin/share/man -s 1 xfs
   See: man -M /usr/openwin/share/man -s 1 fsadmin
Impact: This service is not running.

and xterm does start properly within an vnc-session.

how do you start Xvnc ?
did you install all packages from the companion-cd ?
what happens, if you start xterm on the local screen ?
is it possible to start xterm against a remote x-server without
using Xnvc ?

here my installed fonts:
# pkginfo | grep -i font                            
system      SFWfnlib                         fnlib - X11 font rendering library
system      SUNW1251f                        Russian 1251 fonts
ALE         SUNW5xmft                        Traditional Chinese (BIG5) X Windows Platform minimum required Fonts Package
system      SUNWarrf                         X11 Arabic required fonts
ALE         SUNWcxmft                        Simplified Chinese (EUC) X Windows Platform minimum Required Fonts
system      SUNWeurf                         Global fonts
system      SUNWfdl                          Font Downloader
system      SUNWfontconfig                   Fontconfig library
system      SUNWfontconfig-docs              Fontconfig library documentation
system      SUNWfontconfig-root              Fontconfig library configuration files
system      SUNWfreetype2                    FreeType2 Font library
GNOME2      SUNWgnome-fonts                  GNOME Unicode and Korean TrueType fonts
system      SUNWgsfot                        GNU Ghostscript Fonts (Other)
system      SUNWgsfst                        GNU Ghostscript Fonts (Standard)
system      SUNWi13rf                        X11 ISO8859-13 required fonts
system      SUNWi15rf                        X11 ISO8859-15 required fonts
system      SUNWi1of                         ISO-8859-1 (Latin-1) Optional Fonts
system      SUNWi2rf                         X11 ISO8859-2 required fonts
system      SUNWi4rf                         X11 ISO8859-4 required fonts
system      SUNWi5rf                         X11 ISO8859-5 required fonts
system      SUNWi7rf                         X11 ISO8859-7 required fonts
system      SUNWi8rf                         X11 ISO8859-8 required fonts
system      SUNWi9rf                         X11 ISO8859-9 required fonts
system      SUNWjxmft                        Japanese Required Bitmap Font
system      SUNWkoi8f                        X11 KOI8-R fonts
ALE         SUNWkxmft                        Korean (UTF-8) X Windows Platform minimum Required Fonts
system      SUNWtxfnt                        Thai X Windows Platform required Fonts Package
system      SUNWxwcft                        X Window System common (not required) fonts
system      SUNWxwfa                         X Window System Font Administrator
system      SUNWxwfnt                        X Window System platform required fonts
system      SUNWxwfs                         X Window System Font server
system      SUNWxwoft                        X Window System optional fonts
system      SUNWxwpft                        X Window System Printer Fonts

i am sure, not all are needed, i.e. Thai X Windows here in austria :-)

best regards
hans

--

 
 
 

1. help: newbie xterm problem

I am having a problem running "xterm" from the command line.  (ultimately I
want to run xterm from a remote computer with ssh, but first things first, I
can't even get it to run locally).

As I understand things "xterm" at command line should start an Xterminal and
"xclock" should start xterm with clock.

What I have:
Two machines: RH7.1 and RH8.0 both using bash environment
I can start KDE or Gnome fine with "startx" from command line
I can start a classic xterm with "xinit" from command line
I cannot get "xterm" to start.

What I've done so far:
"xterm" ( or xclock or xanything ) gets me an error message
"xterm Xt error: Can't open display: "

OK,  I try to set the DISPLAY variable to :0 like "export DISPLAY=:0"
Now I get error message   "xterm Xt error: Can't open display:0"

I've also tried setting DISPLAY to
:0.0
localhost:0.0
localhost:0
:1.0
192.168.1.100:0    (current IP assigned by DHCP)

also tried "xterm -display :0"

I've read the man pages and several online resources and can't get past
setting the DISPLAY variable.  Am I missing something other than some brain
cells?

Thanks in advance to anyone that helps me.
F

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/28/2003

2. X11 Video problems with S3Virge

3. A telephone number database system.

4. Newbie, error starting xterm in Xwindow with setuid problem

5. Question about docs

6. Newbie quesdtion about kde + xterms

7. Display address

8. newbie question:How to set xterm options dynamically

9. xterm newbie

10. Newbie: Where has xterm and xfm gone ?

11. (newbie) xterm text app

12. Help a newbie.. can't start xterm