[opensuse] vncviewer and fonts
I am trying to use vncviewer from a Leap 42.3 system to connect to a Windows display. I have done this in the past. Now I am trying from a Leap 42.3 install. I get this from the vcnviewer: Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct Warning: Unable to load any usable ISO8859 font Warning: Unable to load any usable ISO8859 font Error: Aborting: no font found It does this after accepting the password. In fact, I have many fonts installed (it's a KDE desktop). I have seen this reported over 15 years ago. But I don't see much now. And the solutions were typically to install some fonts. These vnc RPMs are installed. The vncviewer is from tightvnc x11vnc-0.9.13-18.2.x86_64 libXvnc1-1.6.0-21.1.x86_64 xorg-x11-Xvnc-1.6.0-21.1.x86_64 tightvnc-1.3.10-123.10.x86_64 These font packages are installed: xorg-x11-fonts-core-7.6-34.16.noarch xorg-x11-fonts-7.6-34.16.noarch gnu-unifont-bitmap-fonts-20080123-88.3.noarch noto-sans-fonts-20151215-4.13.noarch google-noto-fonts-doc-20151215-4.13.noarch liberation-fonts-1.07.2-6.3.noarch hack-fonts-2.020-3.3.noarch ghostscript-fonts-std-9.06-29.5.noarch Other X applications seen to run (e.g., xterm). I'm not sure why vncviewer is unhappy. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
I am trying to use vncviewer from a Leap 42.3 system to connect to a Windows display. I have done this in the past. Now I am trying from a Leap 42.3 install. I get this from the vcnviewer:
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
Not sure where this is set. Any (old) .Xdefaults or .Xresources around? If I use xfontsel it offers me helvetica-bold-r only in pxlsz 14 or 17.
These vnc RPMs are installed. The vncviewer is from tightvnc
For a quick thing you might try tigervnc instead. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, Mar 16, 2018 at 1:27 PM, Peter Suetterlin <pit@astro.su.se> wrote:
Roger Oberholtzer wrote:
I am trying to use vncviewer from a Leap 42.3 system to connect to a Windows display. I have done this in the past. Now I am trying from a Leap 42.3 install. I get this from the vcnviewer:
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
Not sure where this is set. Any (old) .Xdefaults or .Xresources around?
If I use xfontsel it offers me helvetica-bold-r only in pxlsz 14 or 17.
These vnc RPMs are installed. The vncviewer is from tightvnc
For a quick thing you might try tigervnc instead.
That is what I am running. rpm -q --whatprovides $(which vncviewer) tightvnc-1.3.10-123.10.x86_64 I am also curious where the font to use is set. I only see ~/.Xauthority. I would be happy to tell it to use a different font. If I could see where. I don't see it as a command line option. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
On Fri, Mar 16, 2018 at 1:27 PM, Peter Suetterlin <pit@astro.su.se> wrote:
Roger Oberholtzer wrote:
I am trying to use vncviewer from a Leap 42.3 system to connect to a Windows display. I have done this in the past. Now I am trying from a Leap 42.3 install. I get this from the vcnviewer:
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
Not sure where this is set. Any (old) .Xdefaults or .Xresources around?
If I use xfontsel it offers me helvetica-bold-r only in pxlsz 14 or 17.
These vnc RPMs are installed. The vncviewer is from tightvnc
For a quick thing you might try tigervnc instead.
That is what I am running.
rpm -q --whatprovides $(which vncviewer)
tightvnc-1.3.10-123.10.x86_64
I still think 'tight' and 'tiger' do differ..... woodstock:~% rpm -q --whatprovides $(which vncviewer) tigervnc-1.8.0-9.1.x86_64 (this is TW, though) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, Mar 16, 2018 at 1:04 PM, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I am trying to use vncviewer from a Leap 42.3 system to connect to a Windows display. I have done this in the past. Now I am trying from a Leap 42.3 install. I get this from the vcnviewer:
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct Warning: Unable to load any usable ISO8859 font Warning: Unable to load any usable ISO8859 font Error: Aborting: no font found
I have checked the complaining system with: xlsfonts -fn "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" and I get: xlsfonts: pattern "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" unmatched So I then tried: xlsfonts And all that matches is: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 6x13 cursor fixed I am fairly certain I have more than these installed. Could the configuration be incorrect? KDE is showing lots more fonts. So I think they must be installed correctly. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
BTW: Roger Oberholtzer wrote:
These vnc RPMs are installed. The vncviewer is from tightvnc
tightvnc-1.3.10-123.10.x86_64
Where is this from? X11:Utilities? I do not see it in the standard repositories. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, Mar 16, 2018 at 1:55 PM, Peter Suetterlin <pit@astro.su.se> wrote:
BTW:
Roger Oberholtzer wrote:
These vnc RPMs are installed. The vncviewer is from tightvnc
tightvnc-1.3.10-123.10.x86_64
Where is this from? X11:Utilities? I do not see it in the standard repositories.
I think it is in the Leap 42.3 standard repos. https://software.opensuse.org/package/tigervnc Anyway, the mystery is solved. The system mysteriously did not have mkfontdir and mkfontscale installed. So the fonts.dir and fonts.scale files were incomplete. After installing and running them (and logging out/in) the font is found and the program starts. I guess KDE does not use the fonts.dir and fonts.scale files. So all the fonts were present in KDE - but not in X. That was what confused me. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
On Fri, Mar 16, 2018 at 1:55 PM, Peter Suetterlin <pit@astro.su.se> wrote:
BTW:
Roger Oberholtzer wrote:
These vnc RPMs are installed. The vncviewer is from tightvnc
tightvnc-1.3.10-123.10.x86_64
Where is this from? X11:Utilities? I do not see it in the standard repositories.
I think it is in the Leap 42.3 standard repos. https://software.opensuse.org/package/tigervnc
Again, that is TIGERvnc, you have TIGHTvnc. And that one is NOT in the standard repo. (and the font in question is hardcoded in the binary, as strings|grep will tell you ;^> )
Anyway, the mystery is solved. The system mysteriously did not have mkfontdir and mkfontscale installed. So the fonts.dir and fonts.scale files were incomplete. After installing and running them (and logging out/in) the font is found and the program starts.
Nice. Although the fonts.{dir,scale} should be part of the font package already. Maybe some error during install? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, Mar 16, 2018 at 2:22 PM, Peter Suetterlin <pit@astro.su.se> wrote:
Again, that is TIGERvnc, you have TIGHTvnc. And that one is NOT in the standard repo. (and the font in question is hardcoded in the binary, as strings|grep will tell you ;^> )
I am switching between two machines in different locations. One has tigervnc and one has tightvnc. It was tightvnc that I had the problem with. For all I know tigervnc may have had the same issue, since it was X11 related. Anyway, correcting the fonts.dir and fonts.scale files is what corrected the problem. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Peter Suetterlin
-
Roger Oberholtzer