spanezz / nodm

Automatic display manager
GNU General Public License v2.0
141 stars 21 forks source link

NODM_X_OPTIONS not used correctly #16

Open JJK96 opened 5 years ago

JJK96 commented 5 years ago

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 4 years ago

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

$ sudo NODM_X_OPTIONS=:1 nodm