You are not logged in.

#1 2016-04-25 09:17:40

audiomuze
Member
Registered: 2014-03-31
Posts: 103

[Solved] Display / font issues with X11 forwarding

I've enabled X11 forwarding on an Arch server using the guidance set out in https://wiki.archlinux.org/index.php/Secure_Shell#Setup.

On launching the application (after accessing the server using ssh -X username@serverip) it starts as I'd expect and presents a display on the local machine, however, the font's are all square blocks (of varying sizes depending on font size of text on a screen area).

This is the only message in the terminal window following launch and exit of the application (which uses Qt4):

Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)" 
Locale: en_US
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xd6
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xd6

Installing icu made no difference

Locale: en_US
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xd6
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
Xlib:  extension "SYNC" missing on display "localhost:10.0".
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xd6

Any hints/tips re where/ what to look at next?

Mod note: Converted img to url. See the etiquette regarding acceptable image sizes. -- WorMzy

Last edited by audiomuze (2016-04-25 10:29:58)


Linux user #338966

Offline

#2 2016-04-25 10:29:32

audiomuze
Member
Registered: 2014-03-31
Posts: 103

Re: [Solved] Display / font issues with X11 forwarding

I've solved it...needed to install fonts on the server side.

FWIW and in the interests of helping others, this is what I installed on the server:

pacman -S opendesktop-fonts ttf-dejavu ttf-freefont ttf-junicode ttf-linux-libertine ttf-droid ttf-gentium ttf-inconsolata ttf-ubuntu-font-family freetype2 gsfonts xorg-fonts-type1 font-mathematica profont terminus-font

Last edited by audiomuze (2016-04-26 06:13:47)


Linux user #338966

Offline

#3 2016-12-19 20:29:45

marius-arc
Member
Registered: 2016-04-17
Posts: 42

Re: [Solved] Display / font issues with X11 forwarding

That pacman string solved it for me too! Thanks! I installed a headless server and also got just square fonts. Took quite a bit of searching before I ended up here with the solution.

Last edited by marius-arc (2016-12-19 20:29:57)

Offline

#4 2021-12-25 14:29:31

beac0n
Member
From: Germany
Registered: 2016-08-21
Posts: 10

Re: [Solved] Display / font issues with X11 forwarding

That pacman string solved it for me too. I had to remove some packages which are no longer available, so I used that string:

sudo pacman -S opendesktop-fonts ttf-dejavu ttf-freefont ttf-junicode ttf-linux-libertine ttf-droid ttf-inconsolata ttf-ubuntu-font-family freetype2 gsfonts xorg-fonts-type1 terminus-font

Offline

Board footer

Powered by FluxBB