You are not logged in.

#1 2014-06-30 15:46:15

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

[SOLVED] Font glyphs work locally, but not over SSH?

Hello,

I am trying to get some font glyphs used for status icons (https://aur.archlinux.org/packages/stlarch_font/) to show up in a tmux session over SSH.

The setup on the local and remote machines are identical and the fonts work fine in tmux on both machines, running locally.

When attempting to view a tmux session over SSH, however, the glyphs no longer display and instead there is a blank space where they should be.

Setup:

URxvt 9.20
Tmux 1.9a

.Xresources (full)

URxvt*termName:          rxvt-256color
URxvt*font:              xft:dejavu sans mono for powerline:regular:pixelsize=16,\
                        -misc-stlarch-medium-r-normal--10-100-75-75-c-80-iso10646-1
...

.tmux.conf (full)

set -g default-terminal "screen-256color"
...

The setup is based off of tutorial: http://crunchbang.org/forums/viewtopic.php?id=20504

Any ideas?
Keith

Last edited by hughitt1 (2014-07-15 01:00:24)

Offline

#2 2014-07-15 00:14:33

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

Re: [SOLVED] Font glyphs work locally, but not over SSH?

--edit--
It appears that the fonts do show up properly on the remote machines when I simply SSH in; it's only when I enable X11 forwards ("-x" flag) that they no longer work...

**Update 2014/07/14** Problem not related to X11 forwarding. See below for explanation.

Last edited by hughitt1 (2014-07-15 01:00:02)

Offline

#3 2014-07-15 00:59:00

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

Re: [SOLVED] Font glyphs work locally, but not over SSH?

Fixed! Turns out the problem was not related to X11 forwarding as I suspected, but rather due to the use of pseudo-tty ("-t") to launch a script automatically. When connecting without "-t", the fonts work as expected, regardless of whether X11 forwarding is enabled or not.

Offline

Board footer

Powered by FluxBB