Differences between revisions 7 and 8
Revision 7 as of 2017-02-27 23:39:36
Size: 1410
Editor: thog
Comment:
Revision 8 as of 2017-02-27 23:40:54
Size: 1433
Editor: thog
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
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. 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.

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 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.

setupTurboVNC (last edited 2017-03-01 01:10:03 by fuzzy)