Friday, December 23, 2016

Solaris11/11: - vnc server set up

Running VNC on solaris 10 server. Look below for solaris 11[jay@ddnp-rd-v06]$ vncserver
You will require a password to access your desktops.
xauth:  creating new authority file /home/jay/.Xauthority
New 'ddnp-rd-v06:1 ()' desktop is ddnp-rd-v06:1
Creating default startup script /home/jay/.vnc/xstartup
Starting applications specified in /home/jay/.vnc/xstartup
Log file is /home/jay/.vnc/ddnp-rd-v06:1.log

- Download vnc viewerfrom readvnc or tigervnc or tightvnc
- open your vnc client, enter your ipaddress and password and connect
will prompt for pw, enter the password

make sure you have session started.
if there is no session, run vncserver. if its first time, it will ask for password.
$ vncserver
if you need to change, use vncpasswd command
kbhusal@ddrp-nd-v:~$ which vncpasswd


Repo install failed on solaris-auto_install package check
root@ddrp-nd-v:/export/home/kbhusal/repo_dec_2016# ./install-repo.ksh -d /opt/OS_Repo/  -v -c
Using p24921515_1100_SOLARIS64 files for sol-11_3_14_6_0-incr-repo download.
IPS repository exists at destination /opt/OS_Repo/
Current version:
Do you want to add to this repository? (y/n)[n]: y
Comparing checksums of downloaded files...done. Checksums match.
Repository can be found in /opt/OS_Repo/.
Initiating repository rebuild.
Initiating repository verification.
pkg://solaris/install-image/solaris-auto-install                 4890/6694 /

root@ddrp-nd-v:~# pkg install solaris-desktop
           Packages to install: 317
            Services to change:  12
       Create boot environment:  No
Create backup boot environment: Yes
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            317/317   46429/46429  532.0/532.0    0B/s

PHASE                                          ITEMS
Installing new actions                   77186/77186
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           1/1

root@ddrp-nd-v:~# inetadm
disabled  disabled       svc:/application/cups/in-lpd:default
disabled  disabled       svc:/network/telnet:default

disabled  disabled       svc:/application/x11/xvnc-inetd:default

root@ddrp-nd-v:~# inetadm | grep xvnc
disabled  disabled       svc:/application/x11/xvnc-inetd:default

start it
root@ddrp-nd-v:~# inetadm -e xvnc-inetd
root@ddrp-nd-v:~# inetadm | grep xvnc
enabled   disabled       svc:/application/x11/xvnc-inetd:default


root@ddrp-nd-v:~# svcadm restart svc:/application/x11/xvnc-inetd:default
root@ddrp-nd-v:~# inetadm | grep xvnc
enabled   online         svc:/application/x11/xvnc-inetd:default

check any trouble services
root@ddrp-nd-v:~# svcs -xv

No comments:

Post a Comment