• Home »
  • »
  • Adaptec Storage Manager Error: Xlib: connection to :1.0 refused by server

Adaptec Storage Manager Error: Xlib: connection to :1.0 refused by server

When attempting to start the Adaptec Storage Manager you might receive an error complaining about the Xlib connection being refused by the server. If you are attempting to launch the Adaptec Storage Manager as root this is likely related to X11 security and the fact that you cannot connect to X as root. Below is the error output followed by the solution to resolve.

Error Launching The Adaptec Storage Manager: StorMan.sh


  1. [root@dev StorMan]# sh StorMan.sh
  2. Xlib: connection to ":1.0" refused by server
  3. Xlib: Client is not authorized to connect to Server
  4. Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.
  5.        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
  6.        at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
  7.        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
  8.        at java.security.AccessController.doPrivileged(Native Method)
  9.        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
  10.        at java.lang.Class.forName0(Native Method)
  11.        at java.lang.Class.forName(Class.java:164)
  12.        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
  13.        at java.awt.Window.init(Window.java:270)
  14.        at java.awt.Window.<init>(Window.java:318)
  15.        at java.awt.Frame.<init>(Frame.java:419)
  16.        at java.awt.Frame.<init>(Frame.java:384)
  17.        at javax.swing.JFrame.<init>(JFrame.java:150)
  18.        at com.ibm.sysmgt.raidmgr.mgtGUI.Launch.<clinit>(Launch.java:216)
  19. No message, no subject; hope that's ok
  20. [root@dev StorMan]#

Login to your server as a user other than root and the Adaptec Storage Manager should launch without issue. Make sure the user has sudo access as required by StorMan.sh. In this example we are attempting to launch StorMan.sh from a 64-bit CentOS Linux server. As you can see below the GUI operates without issue when launching as the user someuser.

Launch Adaptec Storage Manager On CentOS Linux:


  1. [someuser@dev ~]$ sh /usr/StorMan/StorMan.sh
  2. sh: /usr/StorMan/StorMan.sh: Permission denied
  3. [someuser@dev ~]$ sudo sh /usr/StorMan/StorMan.sh
  4. [sudo] password for someuser:

The above output from the Terminal window will be followed by the Adaptec Storage Manager GUI launching as shown in the below example image.

Adaptec Storage Manager GUI On CentOS Linux:

Adaptec Storage Manager On CentOS Linux

You can now analyze the RAID group built on the Adaptec RAID card in your CentOS Linux server.

Adaptec 51245 SAS RAID ControllerSerial Attached SCSI, Serial ATA/300PCI Express x8Plug-in Card 2268200-R (Personal Computers)

List Price: $758.42 USD
New From: $399.00 USD In Stock
Used from: $250.00 USD In Stock

Adaptec 2258200-R 5405 RAID 4-Channel SATA/SAS 256MB PCI-Express LP Card (Personal Computers)

List Price: $385.99
New From: $810.88 USD In Stock
Used from: Out of Stock