Added
Link Here
|
1 |
[ |
2 |
{ type: install |
3 |
message: <<EOM |
4 |
Wayland requires XDG_RUNTIME_DIR to be defined. A login manager |
5 |
like ConsoleKit2 will do this automatically but otherwise user |
6 |
sets it to a path that will contain "wayland-%d" unix(4) sockets. |
7 |
Due to performance and posix_fallocate(2) vs. ZFS issues a path |
8 |
under tmpfs(5) mountpoint is recommended. For example, |
9 |
|
10 |
$ echo "none /tmp tmpfs rw" >>/etc/fstab |
11 |
$ cat <<\EOF >~/.login_conf |
12 |
me:\ |
13 |
:setenv=XDG_RUNTIME_DIR=/tmp/.xdg-$:\ |
14 |
: |
15 |
EOF |
16 |
$ echo 'mkdir -pm 0700 /tmp/.xdg-${USER:-$(id -un)}' >>/etc/profile |
17 |
$ echo 'mkdir -pm 0700 /tmp/.xdg-$USER' >>/etc/csh.login |
18 |
$ shutdown -r now |
19 |
EOM |
20 |
} |
21 |
] |