Solaris 11 GUI is not working

Hello

I've installed Solaris 11 on Sparc T4-1,

I tried to launch IPS GUI:

# packagemanager
  /usr/lib/python2.6/vendor-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
    warnings.warn(str(e), _gtk.Warning)
  Unable to initialize gtk
  could not open display

Same issue when I connect monitor or use ILOM redirection Solaris GUI doesn't appear too, I checked gdm and it looks fine:

# svcs gdm
  STATE          STIME    FMRI
  online         17:13:44 svc:/application/graphical-login/gdm:default
  

I'm wondering if additional drivers are needed to let display work or is there missing packages :wall:

Hi,

Looks like your DISPLAY variable is not set, what happens when you type;

echo $DISPLAY

What are you running locally to display the GUI

Regards

Dave

Hello,

Yes you're right:

# echo $DISPLAY

#

Would you please advise me for the proper value.

Many thanks in advance.

Hi,

The DISPLAY variable should be set to your IP Address and the server port that you want to use. So if your PC or Xterm was 123.123.123.123 then the DISPLAY variable would normally be 123.123.123.123:0.0

You need to know your IP Address and what the local xdisplay is expecting.

What are you running on the PC to display the GUI

Regards

Dave

I connected a monitor directly to server with no luck, I tried from my PC to use ILOM redirection and it has the same issue too.

Best Regards

---------- Post updated at 10:28 AM ---------- Previous update was at 10:24 AM ----------

Hello,

What I mean, when I connect a monitor there will be only the command line interface, the GUI is not working.

Best Regards

Hi,

I think that it may be worth your time having a look;

man xhost
man xterm

However for your local connection you should be able to start it wth;

svcadm enable gdm2-login

Regards

Dave

Thanks,

Actually I don't have such service on my Solaris:

# svcadm enable gdm2-login
svcadm: Pattern 'gdm2-login' doesn't match any instances
#
# svcs gdm2-login
svcs: Pattern 'gdm2-login' doesn't match any instances
STATE          STIME    FMRI
#

Regards
Sam

Hi Sam,

Try;

svcadm enable gdm-login

Regards

Dave

Sorry Dave :frowning:

I can't find it too:

:~# svcs gdm-login
svcs: Pattern 'gdm-login' doesn't match any instances
STATE          STIME    FMRI

---------- Post updated at 11:02 AM ---------- Previous update was at 10:47 AM ----------

Hello Dave

there is an error in /var/adm/messages:

 gdm-binary[1889]: [ID 702911 daemon.warning] WARNING: GdmDisplay: display lasted 0.797747 seconds

Best Regards
Sam

Hi Sam,

I dont have a T or M series running Solaris 11, however when I check on my X86 box I have.

svc:/application/graphical-login/gdm:default

Do you see that service at all?

Regards

Dave

Hello Dave

Yes it's OK:

# svcs gdm
STATE          STIME    FMRI
online         10:40:16 svc:/application/graphical-login/gdm:default
#

Best Regards
Sam

Hello Dave

To resolve it finally I executed belwo commands after following linked procedure:

svccfg -s svc:/application/x11/x11-server setprop options/server=/usr/X11/bin/Xorg
ln -s /dev/fbs/ast0 /dev/fb

before that I followed below link:

https://blogs.oracle.com/stw/entry/getting\_gdm\_to\_work_on

Hi Sam,

I've been travelling and have only got home a little earlier today, feel a little guilty about this as I had just assumed that you had an Xserver running on the T4.

Sorry about that.

Regards

Dave