Bug 6176 - tl-notify doesn't work when user is still logging in (e.g. selecting profile)
Summary: tl-notify doesn't work when user is still logging in (e.g. selecting profile)
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: 1.3.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-27 14:46 CET by Pierre Ossman
Modified: 2018-10-02 13:25 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2017-02-27 14:46:21 CET
Currently tl-notify works via the saved environment mechanism. But that doesn't trigger until the end of the session startup. So whilst the user is still hanging around in the profile selected, or waiting on something else in xstartup.d, you get this from tl-notify:

> $ /opt/thinlinc/sbin/tl-notify Foo
> error: notify 'ossman' on display 3 failed ([Errno 2] No such file or directory: '/var/opt/thinlinc/sessions/ossman/3/xstartup.env')
Comment 1 Pierre Ossman cendio 2018-10-02 13:25:55 CEST
On modern systems the bus is always available at /run/user/<uid>/bus, so perhaps we can have some fallback?

(see bug 5950 for the whole shared dbus thing)

Note You need to log in before you can comment on or make changes to this bug.