On Mon, 26 Apr 2021, Steffen Nurpmeso wrote:
RVP wrote in
:
|
|Use POSIX shm_open+sem_open? That should let you do proper reference
|counting w/o a server. You'll have to pull in -lrt on Linux & NetBSD
|for this though...
Well, that module had (file-locked file-based) reference counting.
It wil
On Mon, 26 Apr 2021, Steffen Nurpmeso wrote:
RVP wrote in
:
...
|There should be a removal of the dirs. on the user's final session
|logout, I think.
This is impossible to do with pam that i never liked (nor
understood, in FreeBSD ~twenty years ago),
Use POSIX shm_open+sem_open? That should
RVP wrote in
:
|On Mon, 26 Apr 2021, Steffen Nurpmeso wrote:
|
|> RVP wrote in
|> :
|> ...
|>|There should be a removal of the dirs. on the user's final session
|>|logout, I think.
|>
|> This is impossible to do with pam that i never liked (nor
|> understood, in FreeBSD ~twenty years ag
RVP wrote in
:
|On Sat, 24 Apr 2021, Steffen Nurpmeso wrote:
|
|> If you run Linux you could also use the pam_xdg module i have
|> written. For example my /etc/pam.d/common-session is
|>
|> session optional pam_xdg.so notroot
|>
|> session requiredpam_unix.so quiet
|>
|> and the s
Thanks for all the encouragement.
I've decided I don't need lyx running in NetBSD. I was getting
farther into a rabbit-hole I didn't want to be in to begin with.
If you know what I mean. And I'm sure you do.
Thank you again to all.
--
RSB
On Sat, 24 Apr 2021, Steffen Nurpmeso wrote:
If you run Linux you could also use the pam_xdg module i have
written. For example my /etc/pam.d/common-session is
session optional pam_xdg.so notroot
session requiredpam_unix.so quiet
and the stuff is as attached. It handles the other dire
On Sun, 25 Apr 2021, RVP wrote:
And,... it worked flawlessly. My recommendation: install the binary
package. :)
Can you add lines like these to /etc/fstab if they're not already
there? They're needed for some large, complex programs--and lyx
seems to fit that category, now.
kernfs /kern
US will launch a
per-user instance of the daemon, once, when needed. You don't need
to start one. I do it that way, in ~/.xinitrc, because I want it
to _exit_ when I quit X. Else, it persists until I log out.
I now have showing in 'env':
XDG_RUNTIME_DIR=/tmp/runtime-bob
Fi
Qt-apps can be rather picky regarding XDG, I have the following in .xinitrc
to avoid such issues,
mkdir /tmp/${USER}-runtime && chmod -R 0700 /tmp/${USER}-runtime
export XDG_RUNTIME_DIR=/tmp/${USER}-runtime
Den sön 25 apr. 2021 06:19Bob Bernstein skrev:
> On Sat, 24 Apr 2021
during boot. Do you suppose I
need the 'dbus-launch' statement in addition to that?
I now have showing in 'env':
XDG_RUNTIME_DIR=/tmp/runtime-bob
and, fwiw:
QTDIR=/usr/pkg/qt5
AT THIS STAGE of the game, at least on launch from the
command-line lyx is not just crashing
On Sat, 24 Apr 2021, RVP wrote:
3. ~/.xinitrc
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ];
theneval $(dbus-launch --sh-syntax --exit-with-session)
fi
Correction: On NetBSD that would be:
if [ -x /usr/pkg/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ];
cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
/*@ pam_xdg - manage XDG Base Directories (runtime dir life time, environment).
*@ Create /run/user/`id -u` when the first session is opened.
*@ It also creates according XDG_RUNTIME_DIR etc. env
On Sat, 24 Apr 2021, Bob Bernstein wrote:
I have built from pkgsrc 'lyx' with the qt5 libs. Typing 'lyx' at a command
prompt yields:
$ lyx
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-bob'
That's a harmless notification. If you w
On Sat, 24 Apr 2021, Rhialto wrote:
Did you ever have LyX installed / running before?
No, not on my NetBSD machine at any rate.
It is just a wild guess, but does it help if you install that?
xdg-utils got installed along with Lyx and the qt5 packages.
Did you install from the latest sta
On Sat 24 Apr 2021 at 13:39:03 -0400, Bob Bernstein wrote:
> I have built from pkgsrc 'lyx' with the qt5 libs. Typing 'lyx' at a command
> prompt yields:
>
> $ lyx
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-bob'
>
>
I have built from pkgsrc 'lyx' with the qt5 libs. Typing 'lyx'
at a command prompt yields:
$ lyx
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
'/tmp/runtime-bob'
I pecked through the qt5 pkgsrc dirs (for the qt5 packages that
were built) hopin
16 matches
Mail list logo