Oracle XE 18c connects with sqlplus, but not DB GUI apps
The listener is not running.

As the Oracle user (which may be called oracle or oraclexe) run:

lsnrctl start


... to start the Oracle listener.