Is it OK to attach only the junction box ground wire, or is it necessary to also attach ground wire from lamp fixture?
Is it necessary to attach both grounding wires, or is it OK to attach only the junction box grounding wire to the grounding screw?


All the grounds must be connected together somehow. You can use a pigtail if necessary.