1)First , check the display is working fine. for ex: execute xclock.. Can you see the clock?
2)Check these notes one by one ->
frmbld.sh Errors With FRM-91111 & FRM-10039 (Doc ID 2075232.1)
FRM-91111 / FRM-10039 Errors when Invoke Forms Builder (frmbld.sh) On New Install On RedHat Linux 6 (Doc ID 2001966.1)
3)Ensure all required OS rpms (required by EBS 12.2) are installed on your Linux..