|
Size: 1433
Comment:
|
Size: 1918
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 11: | Line 11: |
| if you are in abe14 server, you have to add an extra line below the above code. The extra line is "export CCDIR=/u/your_cc_company/" (e.g. "export CCDIR=/u/ccxtreme/" for the X2X company). | if you are in the abe14 server, you have to add an extra line below the above code. The extra line is "export CCDIR=/u/your_cc_company/" (e.g. "export CCDIR=/u/ccxtreme/" for the X2X company). |
| Line 13: | Line 13: |
| 5. Use VIM to open /opt/TurboVNC/bin/vncserver file, set $enableHTTP = 0 and set $securityTypes = "VNC" and save the file. | 6. Change to "root" again. Use VIM to open /opt/TurboVNC/bin/vncserver file, set $enableHTTP = 0 and set $securityTypes = "VNC" and save the file. |
| Line 15: | Line 15: |
| 6. Use VIM to open /etc/X11/xinit/Xclients and add ". /u/cc/usr/commonx11.sh" below the first two lines of the codes (below GSESSION and STARTKDE). | 7. Use VIM to open /etc/X11/xinit/Xclients and add ". /u/cc/usr/commonx11.sh" below the first two lines of the codes (below GSESSION and STARTKDE). |
| Line 17: | Line 17: |
| 7. | 8. Change to "your_user_name" user again, run /opt/TurboVNC/bin/vncserver manually and make sure the turbovnc is running correctly. 9. Use "ps aux | grep Xvnc | grep Turbo | grep your_user_name" to find out the VNC session number and use "/opt/TurboVNC/bin/vncserver -kill your_vnc_session_number" to kill the test turbovnc session. 10. Then you should be able to use the "initctl start turbovnc VNC=your_vnc_session_num" to start a turbovnc session now. |
1. Transfer the TurboVNC rpm installer to your target server. The turbovnc rpm package is in sam:/u/cc/turbovnc-2.1.x86_64.rpm.
2. Change to "root" user. In your target server directory where turbovnc-2.1.x86_64.rpm is stored, run "rpm -ivh turbovnc-2.1.x86_64.rpm" to install the turbovnc.
3. Use "addusr" to add a user who will use the turbovnc to connect to the server later and "su - your_user_name" to go to the user directory.
- If you already have a user use "su - your_user_name" to change to your user directory and "rm -rf .vnc/" to delete the user's current vnc settings.
4. Under the current user, run /opt/TurboVNC/bin/vncpasswd to setup the VNC password for this user.
5. Use VIM to open ~your_user_name/.vnc/xstartup.turbovnc file. Add " export NODEID=vnc:echo $DISPLAY|cut -d\: -f2 " below the first two lines of codes and save the file (you can test if the "echo $DISPLAY|cut -d\: -f2" returns your current session number).
- if you are in the abe14 server, you have to add an extra line below the above code. The extra line is "export CCDIR=/u/your_cc_company/" (e.g. "export CCDIR=/u/ccxtreme/" for the X2X company).
6. Change to "root" again. Use VIM to open /opt/TurboVNC/bin/vncserver file, set $enableHTTP = 0 and set $securityTypes = "VNC" and save the file.
7. Use VIM to open /etc/X11/xinit/Xclients and add ". /u/cc/usr/commonx11.sh" below the first two lines of the codes (below GSESSION and STARTKDE).
8. Change to "your_user_name" user again, run /opt/TurboVNC/bin/vncserver manually and make sure the turbovnc is running correctly.
9. Use "ps aux | grep Xvnc | grep Turbo | grep your_user_name" to find out the VNC session number and use "/opt/TurboVNC/bin/vncserver -kill your_vnc_session_number" to kill the test turbovnc session.
10. Then you should be able to use the "initctl start turbovnc VNC=your_vnc_session_num" to start a turbovnc session now.
