To connect to a database instance located on a remote computer, database applications and tools use the X Server that runs on the remote computer.
All local connections use shared memory. If, however, you want to force the use of X Server, specify the option –n localhost when you log on to the database instance.
Logging on to the database instance HOTELDB on your own computer as user MONA with the password RED using the database tool Database Manager CLI:
dbmcli -d HOTELDB -n localhost -u MONA,RED
The X Server is concurrently available to all database instances: even if several database instances are installed on one computer, only one X Server ever runs. On Microsoft Windows, every time X Server successfully connects to a database instance, an additional thread is generated within the Xserver process. On UNIX, an additional child process of the vserver process is generated.
The two database instances HOTELDB and SHOPDB are installed on computer ROME. A user on computer PARMA uses the Database Manager GUI (DBMGUI) to access the database instance HOTELDB on computer ROME via the X Server. From computer GENUA, a different user accesses the database instance SHOPDB on computer ROME using the SQLCLI via the same X Server.