You are not logged in.

#1 2012-06-09 18:55:05

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

llpp pdf viewer not working

Hey!

I can't get llpp to work on my computer. When I try launching it I get this error:

silencer@overlord ~ $ llpp documents/Ebooks/Sound\ Systems\ Design\ and\ Optimization.pdf  
Fatal error: exception Failure("X connection failed maj=11 min=0 reason="No protocol specified\n"")

I can't find why it doesn't want to start. Last time it worked was like 4-5 months ago. I thought it was xmonad's fault, since that was around the time I've upgraded to v. 0.10, so I've installed openbox to check it, but it wasn't working either. Like a month ago I've installed KDE for the sole purpose of testing if llpp will work with it and it did, so it doesn't seem to be llpp's fault, but rather some lib missing on my box. I spent some time examining what may it be, but haven't found anything. Even with KDE installed it was working only in KDE session, but not in Xmonad.
Today I saw some people on the forums got it working with various WMs without any problems. I had hope something got fixed, but it still doesn't work on for me. I've installed KDE again, and this time it doesn't seem to work with KDE as well.
Any ideas what may be causing this?

Offline

#2 2012-06-09 19:14:05

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: llpp pdf viewer not working

In the screenshot thread I read that llpp doesn't work in a standlone WM or something along those lines. Someone else suggested llpp-git from AUR and I installed that one: it works. Try it wink


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#3 2012-06-09 19:47:21

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

Re: llpp pdf viewer not working

I was the one that wrote it, but I was wrong as it seems. I have llpp-git from AUR installed, and it doesn't work here sad. Skipping clean phase in build as suggested in PKGBUILD doesn't help.
I really don't know where to look for solution. I don't know whether it's llpp's fault or X's or maybe some missing lib.

Offline

#4 2012-06-09 20:07:47

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: llpp pdf viewer not working

silenc3r wrote:

I was the one that wrote it, but I was wrong as it seems.

Oh, oops lol Can't help you then, I guess..


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#5 2012-09-13 10:15:45

coroa
Member
Registered: 2009-04-26
Posts: 3

Re: llpp pdf viewer not working

hello everyone, especially silenc3r,

i'm having the very problems you described: every attempt at starting llpp from llpp or llpp-git fails with:

Fatal error: exception Failure("X connection failed maj=11 min=0 reason="No protocol specified\n"")

it seems to be a problem with X access control system. since after disabling it with xhost +, llpp starts.
but this is of course no solution.

any ideas?

Offline

#6 2012-09-13 12:14:18

coroa
Member
Registered: 2009-04-26
Posts: 3

Re: llpp pdf viewer not working

i was able to find the cause and a solution:

in my ~/.Xauthority file i had for whatever reason an auth-cookie with an invalid displayname, i.e. the output of

% xauth list
##ffc3#:  MIT-MAGIC-COOKIE-1  20122a69e9d74b9d020aea
kafka/unix:0  MIT-MAGIC-COOKIE-1  0122a69e9d74b9d020afb38

on display :0, you should always have a hostname/unix:0 displayname entry but the ##ffc3#: entry is definitely wrong. it's not even possible to remove it with

xauth remove "##ffc3#:"

as should be the case. most programs seem to just ignore such an entry but obviously llpp choked on it, and aborted the search for a valid auth cookie.

well, if you just abandon your xsession by removing the file ~/.Xauthority and logging out and in again. the file will be recreated and llpp works like a charm.

Offline

#7 2012-09-14 18:52:39

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

Re: llpp pdf viewer not working

I don't have Arch installed right now (shame on me), but anyway thanks for your solution.

Offline

Board footer

Powered by FluxBB