Skip to main content

Installing & Configuring RealVNC Server on Solaris 10

# Download RealVNC server package (Download & Use -> confirm form -> Find the latest Solaris package) (update: As of March 2007 there is no Solaris/x86 package available for download - it has been removed. I don't know why. Alternative is Solaris Companion DVD's SFWvnc package instead - pkgadd -d /mnt/tmp/Solaris_Software_Companion/Solaris_i386/P ackages SFWvnc)

We will discuss first about RealVNC. Below are the steps to install & configure
# Install package

pkgadd -d vnc-4_1_1-x86_solaris.pkg

# Add the 'vnc' service to /etc/services:

echo 'vnc 5900/tcp' >>/etc/services

# Convert and import the inetd configuration line to Solaris 10's new Service Management Framework:

echo 'vnc stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query localhost -once securitytypes=none' >> vnc.inetd.conf
inetconv -i vnc.inetd.conf

(note, if using the Companion CD package, command is /opt/sfw/bin/Xvnc)

To later change the resolution of the spawned server, or any other options, change the exec property as follows:

inetadm -m network/vnc/tcp exec="/usr/local/bin/Xvnc -inetd -query localhost -once securitytypes=none -screen 0 1280x1024x16"

Then you can use inetadm to manage it:

inetadm -l svc:/network/vnc/tcp:default (show details - giving full service name)
inetadm -d network/vnc/tcp (disable - you can abbreviate the service name like this)
inetadm -e network/vnc/tcp (enable)

May be necessary to restart inetd:

svcadm restart inetd

# Connect to VNC port 5900 to see the desktop login!

To Allow Root access via X11 follow below step Obviously its not the most secure otion, but for testing purposes...


edit the file /etc/default/login and comment out the following line as follows: 
# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
# CONSOLE=/dev/console

Comments

Popular posts from this blog

INSTALL CISCO VPN CLIENT ON WINDOWS 10 (32 & 64 BIT). FIX REASON 442

This article shows how correctly install Cisco VPN Client (32 & 64 bit) on Windows 10 (32 & 64 bit) using simple steps, overcome the ‘ This app can’t run on this PC ’ installation error , plus fix the Reason 442: Failed to enable Virtual Adapter error message . The article applies to New Windows 10 installations or Upgrades from earlier Windows versions and all versions before or after Windows 10 build 1511 .  To simplify the article, we’ve broken it into the following two sections: How to Install Cisco VPN client on Windows 10 (clean installation or upgrade from previous Windows), including Windows 10 build prior or after build 1511 . How to Fix Reason 442: Failed to enable Virtual Adapter on Windows 10 Figure 1. The Cisco VPN Client Reason 442: Failed to enable Virtual Adapter error on Windows 10 HOW TO INSTALL CISCO VPN CLIENT ON WINDOWS 10 (NEW INSTALLATIONS OR O/S UPGRADES) The instructions below are for new or clean Windows 10 inst...

How to create a Hirens Boot CD 15.2 USB Disk

Hiren’s BootCD (HBCD) is a bootable CD that contains a set of tools that can help users to fix their computer if their system fails to boot. More specifically, HBCD contains hardware diagnostic programs, partition tools, data recovery utilities, antivirus tools and many other tools to fix your computer problems.  I write this article because I use Hiren’s BootCD frequently to troubleshoot computer problems, specially when a computer doesn’t boot anymore due to a virus attack or due to a corrupted file system. In this article you will find instructions on how to put Hiren’s BootCD on a USB flash drive (stick) in order to troubleshoot computer problems in the future.

Internet Connection Sharing has been disabled by the Network Administrator. (Solved)

Problem: Logged in to computer with domain account has administrator privileges, and wanted to share my computer’s wifi to my mobile phone. When open the network sharing dialog, the dialog says: Internet Connection Sharing has been disabled by the Network Administrator.