spanezz/nodm

NODM_X_OPTIONS not used correctly

JJK96 opened this issue · 1 comments

JJK96 commented

According to the documentation If the second option (or the first if the first was not recognised as a path to the X server) looks like ":", it is used as the display name, else ":0" is used.

However, when I run
NODM_X_OPTIONS=":1" sudo nodm

I still get the message that another x server is already running in display :0.

I would expect it to try and run an x server on display :1

mvf commented

sudo only preserves a select few environment variables by default. Try this:

$ sudo NODM_X_OPTIONS=:1 nodm