banner



How To Set Display In Solaris

Accessing X11 Display

The X server controls which clients can access the server. Clients with access to the server tin display windows or images on your screen, receive keyboard input, monitor mouse movement, and interact with the other clients on the organisation. The Trusted Extensions feature of Oracle Solaris adds security features to prevent labeled clients from accessing the X11 display beyond their security range. For more data, come across the Trusted Extensions Characterization Administration.

By default, the Oracle Solaris Desktop is configured to grant access to the Ten server and clients run by the user by storing a randomly generated cookie value in a file. The client applications require this value to open a new connection to the 10 server. This value is stored in the file referenced by the $XAUTHORITY environment variable, which is set automatically by the GNOME Display Manager when you outset your session. If you get-go applications from other display environments, you might need to copy the $XAUTHORITY variable to that environs before clients can exist started to authenticate.

For detailed data about the X11 display admission, see the xhost(1), xauth(i), and Xsecurity(five) man pages.

Providing Other User Accounts With Access to Your Display

To allow another user ID on the local arrangement to access your display, use the si:localuser selection of the xhost(i) control.

The post-obit instance shows how to configure your user business relationship with the correct rights contour and run the SMF Services Visual Panels user interface.

Instance 12-2 Allowing the root Account to Brandish GUIs

user@host:~$          xhost +si:localuser:root          user@host:~$          su          Password:   /**Visual Console GUI**/ #          /usr/bin/vp svcs        

Notation - If you use the su command to reset the environment variables, yous will need to gear up the DISPLAY environment variable in the su session to match the Brandish variable set in the original user'due south environment.

user@host:~$            xhost +si:localuser:root            user@host:~$            echo $Brandish            :eleven  user@host:~$            su            Password:  #            export Display=:11            #            /usr/bin/vp svcs          

The :11 value will vary depending on each Sun Ray user session. Workstations, typically, have a :0 value on the main console brandish, only can have additional displays as well.

For more data, see the Xhost(one) human page.


Displaying a Client From a Remote Auto

By default, Oracle Solaris xi is configured to be secure and does not have direct X11 connections from other machines past using the TCP protocol. To display a customer from another motorcar, use the X11 Tunnelling options of the ssh command.

For instructions describing how to change the configuration of the svc:/application/x11/x11-server SMF service to set up direct and not-tunneled X11 connections over TCP, see the Xserver(one) human being page.


Annotation - When you make manual connections, you will need to set up the Display and XAUTHORITY environment variables appropriately. When you use the SSH X11 tunnelling options, these environment variables are automatically set for you.


The post-obit case shows how to display on your desktop, host1, the Package Managing director GUI from host2.

Example 12-three Displaying a Client From a Remote Machine

user@host1:~$          ssh -10 admin@host2          Countersign: Last login: Friday April  6 19:xx:18 2022 Oracle Corporation      SunOS 5.11      eleven.1    March 2022  admin@host2:~$          /usr/bin/packagemanager        

For more data, see the ssh(1), Xsecurity(5), and xauth(ane) man pages.

Setting Up Remote Desktop Admission Using VNC

Virtual Network Computing (VNC) is a remote software application that enables you to view and interact with ane computer desktop, the Xvnc server, by using the VNC viewer on another computer desktop. The two computers do not have to exist running the aforementioned type of operating system. Xvnc provides a guest domain graphical login.

This section describes how you can ready up your VNC server to provide a invitee graphical login. This department besides includes procedures on how you lot can start VNC manually and at system boot.

Use the vncpasswd command to fix the password used to access VNC desktops. The countersign is stored on the server. For more information, see the vncpasswd(1) homo page.

How to Ready VNC to Provide a Guest Graphical Login

  1. Get superuser or assume the root role.
  2. Enable XDMCP connections by editing the /etc/gdm/custom.conf file.
    [xdmcp]     Enable=true
  3. Restart the GDM service.
    #              svcadm restart gdm            

    Notation - Restarting the GDM service terminates all corresponding GDM sessions.


  4. Enable the Xvnc inetd service.
    #              inetadm -e xvnc-inetd            
  5. Connect from another auto and verify that yous see the login screen and can log in to a desktop session.
    # vncviewer              hostname:port number            
    hostname

    Proper noun of the host where y'all ran the service.

    port number

    Denotes the port number on the host to connect.

    For instance:

    # vncviewer myhost:2

How to First VNC Manually

A user tin start VNC manually. A VNC password is required.


Caution

Circumspection - A VNC password should be different from the user's UNIX login password. A VNC password is not securely encoded on disk or across the network.


  1. Become superuser or presume the root part.
  2. Starting time the VNC server.
    #              /usr/bin/vncserver            
  3. Enter the VNC server countersign.
    Password:     Verify:      New 'myhost:two ()' desktop is myhost:ii      Creating default startup script /home/user1/.vnc/xstartup     Starting applications specified in /home/user1/.vnc/xstartup     Log file is /domicile/user1/.vnc/myhost:2.log
  4. From another machine, run the vncviewer command with the address reported by the vncserver command.
    #              vncviewer                hostname:portnumber                          

    For case:

    #              vncviewer                myhost:2                          
  5. Blazon the countersign you provided to the vncserver script.

    Verify that y'all see the login screen and tin can log in to a desktop session.

How To Set Display In Solaris,

Source: https://docs.oracle.com/cd/E26502_01/html/E28056/gmceg.html

Posted by: schenckthemand.blogspot.com

0 Response to "How To Set Display In Solaris"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel