Friday 3 October 2014

How to configure VNC server in solaris 10 ?

1)check vncserver is available or not.
#which vncserver
/usr/bin/vncserver
2)login into requied user & check XGUI path availability if not export below.
 $PATH=$PATH:/usr/X/bin:/usr/X11/bin
 $export PATH
3)start VNCserver configuration just by executing vncserver
 $vncserver
Warning: TESTSERVER:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server TESTSERVER:1
New 'TESTSERVER:2 ()' desktop is TESTSERVER:2
Creating default startup script /export/home/user1/.vnc/xstartup
Starting applications specified in /export/home/user1/.vnc/xstartup
Log file is /export/home/user1/.vnc/TESTSERVER:2.log
4)VNCuser password creation
$ vncpasswd
Password:
Verify:
5)share both session & password
eg:-
xx.xx.xx.xx:1
passwd:abc1234

6)to kill vncserver
$ vncserver -kill :2
Killing Xvnc process ID 433
7)to set geometry & path
$vncserver -geometry 1024x768 -depth 24

8)to check xhost in Graphical session
$/usr/X/bin/xhost +

No comments:

Post a Comment