Comments (3)
You say "environment variable sin the script, it's all empty". Have you looked at the --passenv option?
I know nothing about dbus, but many things get confused if their expected environment variables are absent.
from websocketd.
--passenv
does not work for CGI scripts (for websocket processes it works as expected). This appears to be unintentional, as the code to make it work is written except only missing this trivial fix: matvore@cd87527
from websocketd.
Thanks to @PerMildner , after --passenv DBUS_SESSION_BUS_ADDRESS,XDG_RUNTIME_DIR, it's working fine.
from websocketd.
Related Issues (20)
- Gputil Failed to initialize NVML: Unknown Error HOT 1
- websocketd with django views HOT 1
- mosquitto_sub as command throwing error "Received message of type that we did not expect..." HOT 1
- How can I use c/c++ as a websocket client rather than server? HOT 2
- Seg fault 11 on M1 Max
- system(); in g++(C++) seems invalid
- Pipe multiple CLI apps to generate a website
- any way to handle the DISCONNECT message ?
- New option for binary websockets
- The wiki has been edited to have a links to ransomware. HOT 2
- Fix wiki
- MIPS compilation?!?
- Ten minute tutorial - confusing HOT 7
- Have you meet websocketd broken automatically ? HOT 1
- how to get a response like 'Clean: true, ..' after script executed HOT 6
- Vulnerability of dependency "github.com/gorilla/websocket"
- nodejs handle process.stdin incorrect HOT 1
- Issues with newlines
- How to change framesize?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocketd.