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
root@BSPZTSTDB0303:~# pkg install solaris-desktop
Packages to install: 379
Services to change: 15
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 379/379 73183/73183 994.0/994.0 2.7M/s
PHASE ITEMS
Installing new actions 89149/89149
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 4/4
root@BSPZTSTDB0303:~# vi /etc/gdm/custom.conf
root@BSPZTSTDB0303:~# inetadm -e xvnc-inetd
root@BSPZTSTDB0303:~# svcs -vx
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
Check the state of the gdm service by typing:
# svcs -vx
configure X-Server to accept remote connections.
#svccfg -s application/x11/x11-server
svc:/application/x11/x11-server> setprop options/tcp_listen = boolean: true
svc:/application/x11/x11-server> end
#svccfg -s xvnc-inetd
svc:/application/x11/xvnc-inetd> setprop inetd_start/exec = astring: "/usr/bin/Xvnc -geometry 1280x720 -inetd -query localhost -once securitytypes=none"
svc:/application/x11/xvnc-inetd> end
# svcadm disable gdm xvnc-inetd; svcadm enable gdm xvnc-inetd
Step 5
Point your favourite VNC client at your Solaris server and test if it accepts your VNC connection – you should be presented with a Username/Password login screen.
Point your favourite VNC client at your Solaris server and test if it accepts your VNC connection – you should be presented with a Username/Password login screen.
You could just install solaris -large-server or just a minimal packages (if you prefer) to allow runinstaller to run.
# pkg install xauth x11/diagnostic/x11-info-clients library/motif terminal/xterm
hello bro
ReplyDelete