0% found this document useful (0 votes)
380 views13 pages

Setup X11 Access To The Solaris GUI Gnome Desktop - UnixEd

Solaris graphycal access

Uploaded by

Pablo Panchig
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
380 views13 pages

Setup X11 Access To The Solaris GUI Gnome Desktop - UnixEd

Solaris graphycal access

Uploaded by

Pablo Panchig
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Setup X11 Access to the Solaris GUI Gnome Desktop


4 Comments / Solaris GUI Desktop / By Bill Calkins / September 8, 2014

Many of my blog posts come from questions that I receive in the classroom as I travel around the world teaching Solaris, Linux, AIX and HP-UX. I
tell my students that I learn something in every class that I teach- even when I teach the Fundamentals UNIX course. It’s because there are so
many different ways to accomplish the same task in Solaris. Furthermore, those new to Solaris system administration tend to ask questions that I
may have never thought of. Whenever students ask a question, I don’t usually just answer it off the cuff. I create slides and write up a procedure
on how to perform the task. I guess it’s because I love to write, but also, I want to make myself perfectly clear. I try to share some of those
procedures in my blog postings. How many times have you read documentation and that one important step is left out? I’ll try not to do that to
you in my blog entries and if I do, make sure you call me out on it.

This question comes up quite often from new system admins:

How do I access the GUI desktop environment on a Solaris 11 SPARC server from my Windows, MAC, Solaris or Linux desktop computer?

Because SPARC based servers are installed using the Oracle Solaris 11 Text Installer (installing the solaris-large-server group of software packages),
the desktop environment is not installed.  Therefore, the only option for connecting remotely to the server is with an SSH client and getting a
command line prompt.  I typically use putty for this.  Another great tool, and there’s a free version, is MobaXterm.  Setting up desktop access
using MobaXterm is the topic I’ll cover here.

Students using SPARC servers, especially those new administrators, frequently ask how to setup their Windows, MAC, Solaris or Linux desktop
This GUI
to display the Gnome website uses cookies
desktop to ensure
environment whenyou get the best
connecting toexperience on our
their SPARC website.
server. In otherwords, they want thisACCEPT
this screen:

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 1/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Not this screen:

This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 2/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Here’s how to setup your Windows, MAC or Linux desktop to display the Solaris Gnome GUI environment.

Overview of the Setup

To accomplish this, you’ll need to follow these three steps:

1. Install the Gnome desktop environment on your SPARC server.

Note – If you use the text installation method, the Oracle Solaris Desktop package (solaris-desktop) is not installed on your system by
default.

2. Enable XDMCP connections on the SPARC server.

XDMCP is a remote desktop protocol used by several UNIX systems, including Solaris. With XDMCP, your desktop computer running
X11 can connect to the SPARC server (also running X11) and interact with the SPARC server as if you were physically at the SPARC
server.

3. Install an X Server program on your desktop. I’ll use the free version of MobaXterm. Download and install MobaXterm (free) on your
Windows, MAC, Solarisuses
This website or Linux desktop
cookies fromyou
to ensure http://mobaxterm.mobatek.net/
get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 3/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Step 1 – Install the Gnome desktop environment on your SPARC server

Log into the SPARC server as root. The server needs to have access to a software repository so that you can install the solaris-desktop package
as follows:

# pkg install solaris-desktop

Note: If your system does not have access to a repository, that’s a topic for another time, but it is covered in my book. Add a comment below this
post if you would like me to post this procedure. Another source of information is Oracle explains how in their documentation.

The installation of the solaris-desktop will take several minutes. Here’s a sample installation:

# pkg install solaris-desktop


Packages to install: 337
Create boot environment: No
Create backup boot environment: Yes
Services to change: 14

DOWNLOAD PKGS FILES XFER (MB) SPEED


Completed 337/337 50991/50991 528.9/528.9 0B/s

This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 4/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

PHASE ITEMS
Installing new actions 82278/82278
Updating package state database Done
Updating image state Done
Creating fast lookup database working
Creating fast lookup database Done
You have new mail in /var/mail/root

Step 2 – Enable XDMCP connections on the SPARC server

When the installation is complete, enable XDMCP connections by editing the /etc/gdm/custom.conf file. Add this line to the end of the file:

[xdmcp]
Enable=true

Enable xvnc-inetd as follows:

# inetadm -e xvnc-inetd

Restart the graphical login service (gdm) as follows:

# svcadm restart svc:/application/graphical-login/gdm:default

This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 5/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Check the state of the gdm service by typing:

# svcs -vx

The service might be in a maintenance state like this:

svc:/system/consolekit:default (ConsoleKit)
State: maintenance since September 5, 2014 09:11:20 PM UTC
Reason: Restarting too quickly.
See: http://support.oracle.com/msg/SMF-8000-L5
See: man -M /usr/share/man -s 1m console-kit-daemon
See: /var/svc/log/system-consolekit:default.log
Impact: 1 dependent service is not running:
svc:/application/graphical-login/gdm:default

Reboot the server

Verify that all of the services are running normal by typing:

# svcs -vx

The following output shows that the svc:/application/texinfo-update:default service is offline* This indicates that the service is
still starting. Eventually, the svcs –vx command should return only a shell prompt when everything is running:
This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 6/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

svc:/application/texinfo-update:default (texinfo documentation directory update)


State: offline* transitioning to online since September 5, 2014 09:26:33 PM UTC
Reason: Start method is running.
See: http://support.oracle.com/msg/SMF-8000-C4
See: man -M /usr/share/man -s 1 install-info
See: /var/svc/log/application-texinfo-update:default.log
Impact: This service is not running.

When the service is running, the svcs -vx command will return only a prompt as follows:

# svcs -vx
#

Step 3 – Install an X Server program on your desktop

I’ll use the free version of MobaXterm to connect my PC to the Gnome desktop on the SPARC server. Download and install MobaXterm (free) on
your Windows, MAC, Solaris or Linux desktop from http://mobaxterm.mobatek.net/

Another popular free program is Xming.

After installing MobaXterm, click on the MobaXterm icon to open the program.

Click on the Sessions Icon:

This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 7/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Click on the Xdmcp icon:

Select the “Specify server to connect to:” radio button and enter the IP address of the SPARC server:

Note: You can also select the radio button to “Connect to any server” and the login prompt should appear.
Once connected, the following login should appear:

This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 8/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

This same procedure could be setup for providing GUI access to your non-global zones.

If you have any questions, please add them in the comments section below and I’ll try my best to address them.

Share this:

 Twitter  Facebook  LinkedIn  Reddit

← Previous Post Next Post →

4 thoughts on “Setup X11 Access to the Solaris GUI Gnome Desktop”

AL MARTI
DECEMBER 31, 2014 AT 4:47 PM

This website uses cookies to ensure you get the best experience on our website. ACCEPT
Thanks for documenting this procedure for solaris 11. Worked great for me.
https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 9/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Initially I did get a “permission denied” when trying to login as root via Xdmcp,

this was resolved by commenting out the CONSOLE line in /etc/default/login


which controls the device that root can log into on.

For cygwin users, I used the following command to bring up the Xdmcp login screen on my laptop:

Xwin -query 172.xxx.xxx.xxx

Reply

Pingback: Add Desktop Environment Gdm – Dolove.info

NEIL
FEBRUARY 9, 2017 AT 5:54 PM

You should not enable root access in that way, in fact it is both insecure and unnecessary. If you install from an ISO, the named account will have
both the root role and access to sudo. So login as that user and then assume the role and/or use sudo

Reply

PETER
This website uses cookies to ensure you get the best experience on our website. ACCEPT
MAY 3, 2019 AT 4:51 AM

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 10/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Thank you, it helped me to get the service from maintenance mode to online ( I had Restarting too quickly. error ) and to handle MobaXTerm.
Unfortunately I still cannot login, I get black screen in Moba and non-movable mouse in VMWare terminal. Service is online, svcs -vx clean. Do you
have any tip for me where to look for the fix ?
Thank you,
Peter

Reply

Leave a Comment
Your email address will not be published. Required fields are marked *

Type here..

Name*

Email* This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 11/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Website

Post Comment »

Bill Calkins

Bill Calkins is the owner of UnixEd where he works as a Consultant, Independent Instructor and Author. Bill has 25 years experience on Solaris, Linux,
HP-UX and AIX  and has consulted at over 300 companies world-wide. Bill has also authored 10 best-selling UNIX textbooks.

Be sure to check out our online and self-paced Solaris and Linux courses at www.UnixED.com

Recent Posts
This website uses cookies to ensure you get the best experience on our website. ACCEPT
Solaris Sparse SRU’s

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 12/13
13/9/2019 Setup X11 Access to the Solaris GUI Gnome Desktop | UnixEd

Working with rsyslog in Solaris 11

Setup a Syslog central Server on Solaris

Update ILOM Firmware on a SPARC T4-1

Console Mode in Solaris 11 Gnome Desktop

Categories

Select Category

Calkins’ Best Selling Book

Copyright © 2019 UnixEd

Solaris 10 Solaris 11 IBM AIX Red Hat® Linux Courses HP-UX Video Courses Schedule
This website uses cookies to ensure you get the best experience on our website. ACCEPT

https://unixed.com/index.php/2014/09/08/setup-x11-access-to-the-solaris-gui-gnome-desktop/ 13/13

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy