On Sat, Feb 13, 2016 at 04:28:48PM -0800, Philip Guenther wrote: > On Sat, Feb 13, 2016 at 3:54 PM, Jiri B <[email protected]> wrote: > > Setting DISPLAY=:1 as setenv in /etc/login.conf > > > > selenium:\ > > :setenv=DISPLAY=:1:\ > > :tc=daemon: > > > > is a problem as colon is a separator and thus value is lost. > > Escaping or quoting did not work too. > ... > > Any idea how to trick login.conf to pass DISPLAY value correctly? > > man login.conf > ... > CAPABILITIES > Refer to getcap(3) for a description of the file layout. All entries in > the login.conf file are either boolean or use a `=' to separate the > ... > > > man 3 getcap > ... > String capability values may contain any character. Non-printable ASCII > codes, new lines, and colons may be conveniently represented by the use > of escape sequences: > > ^X ('X' & 037) control-X > \b, \B (ASCII 010) backspace > \t, \T (ASCII 011) tab > \n, \N (ASCII 012) line feed (newline) > \f, \F (ASCII 014) form feed > \r, \R (ASCII 015) carriage return > \e, \E (ASCII 027) escape > \c, \C (:) colon > ...
Thank you! PEBKAC solved. j.

