Public bug reported:

Binary package hint: xset

At work I have to use remote fonts from hpux 11i, x11r5.
When doing xset +fp "tcp/host:port" i get
/usr/bin/xset:  bad font path element (#76), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

I had the same problem in 5.10 and it still exists in 6.06.
It works against other Ubuntu. Debian with xorg also works against the hpux.
Below is strace -f xset +fp "tcp/host:port" Note that localhost is a ssh tunnel 
that has connectivity, ssh-tunneling the connection works with/to other ubuntu 
machines.

Thanks, Christofer.

14359 execve("/usr/bin/xset", ["xset", "+fp", "tcp/localhost:7111"], [/* 35 
vars */]) = 0
14359 uname({sys="Linux", node="inim", ...}) = 0
14359 brk(0)                            = 0x8050000
14359 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7f48000
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7f46000
14359 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
14359 open("/etc/ld.so.cache", O_RDONLY) = 3
14359 fstat64(3, {st_mode=S_IFREG|0644, st_size=52206, ...}) = 0
14359 old_mmap(NULL, 52206, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f39000
14359 close(3)                          = 0
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 open("/usr/lib/libXmuu.so.1", O_RDONLY) = 3
14359 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\v\0"..., 
512) = 512
14359 fstat64(3, {st_mode=S_IFREG|0644, st_size=10368, ...}) = 0
14359 old_mmap(NULL, 9152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7f36000
14359 old_mmap(0xb7f38000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb7f38000
14359 close(3)                          = 0
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 open("/usr/lib/libX11.so.6", O_RDONLY) = 3
14359 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000I\1\000"..., 
512) = 512
14359 fstat64(3, {st_mode=S_IFREG|0644, st_size=938112, ...}) = 0
14359 old_mmap(NULL, 938412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7e50000
14359 old_mmap(0xb7f31000, 16384, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe1000) = 0xb7f31000
14359 old_mmap(0xb7f35000, 428, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f35000
14359 close(3)                          = 0
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 open("/usr/lib/libXext.so.6", O_RDONLY) = 3
14359 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P&\0\000"..., 
512) = 512
14359 fstat64(3, {st_mode=S_IFREG|0644, st_size=51908, ...}) = 0
14359 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7e4f000
14359 old_mmap(NULL, 51068, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7e42000
14359 old_mmap(0xb7e4e000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0xb7e4e000
14359 close(3)                          = 0
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 open("/usr/lib/libXxf86misc.so.1", O_RDONLY) = 3
14359 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\t\0\000"..., 
512) = 512
14359 fstat64(3, {st_mode=S_IFREG|0644, st_size=8996, ...}) = 0
14359 old_mmap(NULL, 11936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7e3f000
14359 old_mmap(0xb7e41000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb7e41000
14359 close(3)                          = 0
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
14359 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220O\1"..., 512) 
= 512
14359 fstat64(3, {st_mode=S_IFREG|0755, st_size=1232784, ...}) = 0
14359 old_mmap(NULL, 1238972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0) = 0xb7d10000
14359 old_mmap(0xb7e35000, 28672, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x125000) = 0xb7e35000
14359 old_mmap(0xb7e3c000, 10172, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e3c000
14359 close(3)                          = 0
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 open("/usr/lib/libXau.so.6", O_RDONLY) = 3
14359 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\t\0"..., 
512) = 512
14359 fstat64(3, {st_mode=S_IFREG|0644, st_size=7052, ...}) = 0
14359 old_mmap(NULL, 9996, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7d0d000
14359 close(3)                          = 0
14359 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
14359 open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
14359 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\v\0"..., 
512) = 512
14359 fstat64(3, {st_mode=S_IFREG|0644, st_size=8204, ...}) = 0
14359 old_mmap(NULL, 11016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7d0a000
14359 old_mmap(0xb7d0c000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb7d0c000
14359 close(3)                          = 0
14359 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7d09000
14359 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7d08000
14359 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d086c0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
seg_not_present:0, useable:1}) = 0
14359 munmap(0xb7f39000, 52206)         = 0
14359 brk(0)                            = 0x8050000
14359 brk(0x8071000)                    = 0x8071000
14359 uname({sys="Linux", node="inim", ...}) = 0
14359 socket(PF_FILE, SOCK_STREAM, 0)   = 3
14359 uname({sys="Linux", node="inim", ...}) = 0
14359 uname({sys="Linux", node="inim", ...}) = 0
14359 connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 0
14359 uname({sys="Linux", node="inim", ...}) = 0
14359 fcntl64(3, F_SETFD, FD_CLOEXEC)   = 0
14359 access("/home/chol/.Xauthority", R_OK) = 0
14359 open("/home/chol/.Xauthority", O_RDONLY) = 4
14359 fstat64(4, {st_mode=S_IFREG|0600, st_size=164, ...}) = 0
14359 mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7ce8000
14359 read(4, "\0\0\0\4\177\0\1\1\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 131072) 
= 164
14359 read(4, "", 131072)               = 0
14359 close(4)                          = 0
14359 munmap(0xb7ce8000, 131072)        = 0
14359 writev(3, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18}, 
{"\0\0", 2}, {"vU\342\341bp&Ja\307\334d\10\354\0\315", 16}], 4) = 48
14359 fcntl64(3, F_GETFL)               = 0x2 (flags O_RDWR)
14359 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
14359 read(3, "\1\0\v\0\0\0\223\0", 8)  = 8
14359 read(3, "\200\35,\4\0\0\200\3\377\377\37\0\0\1\0\0\24\0\377\377"..., 588) 
= 588
14359 write(3, "7\0\5\0\0\0\200\3L\0\0\0\10\0\0\0\377\377\0\0b\0\5\0\f"..., 64) 
= 64
14359 read(3, "\0017\2\0\0\0\0\0\1\203\0\0\0\0\0\0\24\0\0\0\24\0\0\0\0"..., 32) 
= 32
14359 read(3, "\1\10\3\0+\n\0\0\37\0\0\0\0\0\0\0\251(\0\0\30\0\0\0\30"..., 32) 
= 32
14359 readv(3, [{"*Box.background:\t#efebe7\n*Box.fo"..., 10409}, {"\0\0\0", 
3}], 2) = 10412
14359 write(3, "\203\0\1\0", 4)         = 4
14359 read(3, "\0017\4\0\0\0\0\0\377\377?\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 32) 
= 32
14359 writev(3, [{"b\0\5\0\t\0\200\3", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) 
= 20
14359 read(3, "\0017\5\0\0\0\0\0\1\223n\255\0\0\0\0\24\0\0\0\24\0\0\0"..., 32) 
= 32
14359 write(3, "\223\0\2\0\1\0\0\0", 8) = 8
14359 read(3, "\1\1\6\0\0\0\0\0\1\0\0\0&\352\7\0108*\271\f\2007\t\r\5"..., 32) 
= 32
14359 write(3, "4\0\1\0", 4)            = 4
14359 read(3, "\1\0\7\0?\0\0\0\10\0\271\f\2007\t\r\5\0\0\0\1\0\0\0\0\0"..., 32) 
= 32
14359 readv(3, [{"\21/home/chol/.fonts\31/usr/share/X1"..., 252}, {"", 0}], 2) 
= 252
14359 write(3, "3\0F\0\t\0\0\0\22tcp/localhost:7111\21/hom"..., 292) = 292
14359 read(3, 0xbfc9e900, 32)           = -1 EAGAIN (Resource temporarily 
unavailable)
14359 poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
14359 read(3, "\0\2\10\0L\0\0\0\0\0003\0\30\1\0\0\30\1\0\0\0\0\0\0t)\t"..., 32) 
= 32
14359 write(2, "xset:  bad font path element (#7"..., 57) = 57
14359 write(2, "    Directory does not exist or "..., 54) = 54
14359 write(2, "    Directory does not exist or "..., 54) = 54
14359 write(2, "    Directory missing fonts.dir\n", 32) = 32
14359 write(2, "    Incorrect font server addres"..., 44) = 44
14359 read(3, "\1\2\n\0\0\0\0\0J!\333\2\4\0\0\0\4\0\0\0\0\0\0\0\254\223"..., 
32) = 32
14359 shutdown(3, 2 /* send and receive */) = 0
14359 close(3)                          = 0
14359 exit_group(-1)                    = ?

** Affects: xset (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
remote font path against hpux failes.
https://launchpad.net/bugs/54295

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to