I'm trying to build a tcp proxy to my local session dbus daemon. I did
socat TCP-LISTEN:55556,reuseaddr,fork,range=127.0.0.1/32 ABSTRACT-CONNECT:/run/user/1000/bus
DBUS_SESSION_BUS_ADDRESS=tcp:host=127.0.0.1,port=55556 notify-send hello gives this error
2018/12/31 03:11:56 socat E connect(5, AF=1 "\0/run/user/1000/bus", 21): Connection refused 2018/12/31 03:11:56 socat E connect(5, AF=1 "\0/run/user/1000/bus", 21): Connection refused
How can I fix that? I don't care about security issues at all since this is a offline box.