How to Use VNC on Solaris

Written by mark pool
  • Share
  • Tweet
  • Share
  • Email

Virtual network computing (VNC) provides cross platform access to a computer over the network. Use the VNC viewer program to connect to a computer running VNC and interact with a graphical interface. Solaris 10 installs Xvnc Server and VNC viewer by default, however it doesn't configure them. Since Solaris is a multi-user operating system, multiple users can log in remotely at the same time using VNC. This is a good cost-saving measure, since the computers connecting to the Solaris server have minimal hardware requirements. If you use Gnome desktop, skip the CDE steps and configure GDM.

Skill level:
Easy

Other People Are Reading

Instructions

  1. 1

    Click the "Launch" menu, then "Applications," then open the "Utilities" folder, and run "Terminal."

  2. 2

    Type the following command to set the CDE login properties and press "Enter:"

    su && svccfg -s cde-login

  3. 3

    Type the following in the new prompt that appears to allow network login and push "Enter:"

    setprop dtlogin/args=""

  4. 4

    Type "quit" to exit. Don't include the quotes. Press "Enter."

  5. 5

    Type the following command to add VNC to the network services:

    svcadm enable xvnc-inetd

  1. 1

    Open a terminal window and type the following command, and press "Enter:"

    su && printf '[xdmcp]\nEnable=true\n' >>/etc/X11/gdm/custom.conf && svcadm restart gdm && svcadm enable -s gdm

    This enables XDMCP in the custom.conf file, allowing you to log in over the network with GDM, which is used with the Gnome desktop. The second and third commands implement the changes.

  2. 2

    Type the following command to open the X11-server settings, and press "Enter:"

    svccfg -s x11-server

  3. 3

    Type the following command in the prompt that appears, and press "Enter:"

    setprop options/tcp_listen=true

    This command makes the X11-server listen to the network over TCP.

  4. 4

    Type "quit" to exit. Don't include the quotes. Press "Enter."

  5. 5

    Type the following command to add VNC to the network services, and press "Enter:"

    svcadm enable xvnc-inetd

  1. 1

    Open a terminal window and type the following command, and press "Enter:"

    su && svccfg -s application/x11/x11-server add display 1 && svccfg -s application/x11/x11-server:display 1 addpg options application && svccfg -s application/x11/x11-server:display 1 addpropvalue options/server astrong: "/usr/X11/bin/Xvnc"

    This command creates a new virtual display in the X11-server and configures it for use with VNC.

  2. 2

    Type the following command to finish the configuration, and press "Enter:"

    svccfg -s application/x11/x11-server:display 1 addpropvalue options/server_args astring: '"SecurityTypes=None"'

  3. 3

    Type the following command to enable VNC to start when the computer starts, and press "Enter:"

    mkdir - /etc./dt/config && cp /usr/dt/config/Xservers /etc./dt/config/Xservers && echo " :1 Local local_uid@none root /usr/X11/bin/Xserver :1" >> /etc./dt/config/Xservers

  4. 4

    Type the following command,, and press "Enter:"

    pkill -HUP dtlogin

    This command makes the changes take effect immediately.

Tips and warnings

  • Unless otherwise noted type the commands exactly as shown, including single quotes, double quotes and upper case letters.
  • Commands should be entered as a single line, don't press "Enter" until you're done entering the command. The prompt will automatically wrap to the next line if necessary.

Don't Miss

References

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.