You will need to run the lsnrctl utility on server A to start the listener. You would then connect from computer B using the following syntax:
sqlplus username/password@hostA:1521 /XE
The port information is optional if the default of 1521 is used.
Listener configuration documentation here. Remote connection documentation here.