[ OK ]
From-Server-Side
Confirm the package is installed
[root@pun-lnx-rds11 sysconfig]# rpm -qa | grep vnc-server
vnc-server-4.1.2-14.el5_3.1
[root@pun-lnx-rds11 sysconfig]# pwd
/etc/sysconfig
Note: Take backup of vncservers file.
Step 1:
vi vnservers
Modify the below settings
VNCSERVERS="1:root 2:vwadekar"
VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERARGS[2]="-geometry 1280x1024"
Step 2:
[root@pun-lnx-rds11 sysconfig]# chkconfig --list vncviewer
error reading information on service vncviewer: No such file or directory
[root@pun-lnx-rds11 sysconfig]# chkconfig --list vncserver
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Step 3:
[root@pun-lnx-rds11 sysconfig]# chkconfig vncserver on
[root@pun-lnx-rds11 sysconfig]# chkconfig --list vncserver
vncserver 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Step 4:
vncpasswd
Password:
Verify:
[root@pun-lnx-rds11 sysconfig]# service vncserver start
Starting VNC server: 1:root
New 'pun-lnx-rds11.bmc.com:1 (root)' desktop is pun-lnx-rds11.bmc.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/pun-lnx-rds11.bmc.com:1.log
2:vwadekar
New 'pun-lnx-rds11.bmc.com:2 (root)' desktop is pun-lnx-rds11.bmc.com:2
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/pun-lnx-rds11.bmc.com:2.log
From Client Side #
While connecting to Vncviewer, try giving:2 for the second user and :1 for the first user
From-Server-Side
Confirm the package is installed
[root@pun-lnx-rds11 sysconfig]# rpm -qa | grep vnc-server
vnc-server-4.1.2-14.el5_3.1
[root@pun-lnx-rds11 sysconfig]# pwd
/etc/sysconfig
Note: Take backup of vncservers file.
Step 1:
vi vnservers
Modify the below settings
VNCSERVERS="1:root 2:vwadekar"
VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERARGS[2]="-geometry 1280x1024"
Step 2:
[root@pun-lnx-rds11 sysconfig]# chkconfig --list vncviewer
error reading information on service vncviewer: No such file or directory
[root@pun-lnx-rds11 sysconfig]# chkconfig --list vncserver
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Step 3:
[root@pun-lnx-rds11 sysconfig]# chkconfig vncserver on
[root@pun-lnx-rds11 sysconfig]# chkconfig --list vncserver
vncserver 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Step 4:
vncpasswd
Password:
Verify:
[root@pun-lnx-rds11 sysconfig]# service vncserver start
Starting VNC server: 1:root
New 'pun-lnx-rds11.bmc.com:1 (root)' desktop is pun-lnx-rds11.bmc.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/pun-lnx-rds11.bmc.com:1.log
2:vwadekar
New 'pun-lnx-rds11.bmc.com:2 (root)' desktop is pun-lnx-rds11.bmc.com:2
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/pun-lnx-rds11.bmc.com:2.log
From Client Side #
While connecting to Vncviewer, try giving
No comments:
Post a Comment