1. check VNC package
# pkginfo |grep vnc
2. enable service VNC
# svcs -a |grep vnc
# svcadm enable svc:/application/x11/xvnc-inetd:default
bash-3.2# svcs -a |grep vnc
maintenance 11:52:35 svc:/application/x11/xvnc-inetd:default
bash-3.2#
3. config VNC
add line
vnc-server 5900/tcp # Xvnc
di file /etc/services
cek file gdm config
ls -al /etc/X11/gdm/custom.conf
jika tidak ada create
input isian berikut
[xdmcp]
Enable=true
[security]
DisallowTCP=false
AllowRoot=true
AllowRemoteRoot=true
!
4. disable dan enable (restart) service svc:/application/x11/xvnc-inetd:default
# svcadm disable svc:/application/x11/xvnc-inetd:default
# svcadm enable svc:/application/x11/xvnc-inetd:default
# svcs -a |grep vnc
online 11:52:35 svc:/application/x11/xvnc-inetd:default
5. input gnome di startup VNC
# vi /lokasivnc .vnc/xstartup
#!/bin/sh
/bin/gnome-session &
6 done
Tidak ada komentar:
Posting Komentar