|
Size: 1134
Comment:
|
Size: 1410
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 10: | Line 10: |
| 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. () | 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 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). |
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. 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 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).
5. Use VIM to open /opt/TurboVNC/bin/vncserver file, set $enableHTTP = 0 and set $securityTypes = "VNC" and save the file.
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.
