[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963059: has_options and missing link



The handling for options has moved to /etc/X11/Xsession. The following part is missing in /etc/x2go/Xsession:

OPTIONS="$(
  if [ -r "$OPTIONFILE" ]; then
    cat "$OPTIONFILE"
  fi
  if [ -d /etc/X11/Xsession.options.d ]; then
run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d '\n' cat
  fi
)"

has_option() {
  # Ensure that a later no-foo overrides an earlier foo
if [ "$(echo "$OPTIONS" | grep -Eo "^(no-)?$1\>" | tail -n 1)" = "$1" ]; then
    return 0
  else
    return 1
  fi
}

Otherwise .Xresource in users home won't be parsed.



Also the font link is still missing:

/usr/share/nx/fonts -> /usr/share/fonts/X11

That causes also missing fonts in Xterm or Emacs.


Reply to: