| 4 | rock@gpfs-server:~$ sudo apt-get install xinetd [[BR]] |
| 5 | rock@gpfs-server:~$ sudo vim /etc/services [[BR]] |
| 6 | |
| 7 | {{{ |
| 8 | vnc-640x480x8 5950/tcp |
| 9 | vnc-800x600x8 5951/tcp |
| 10 | vnc-1024x768x8 5952/tcp |
| 11 | vnc-1280x1024x8 5953/tcp |
| 12 | vnc-1600x1200x8 5954/tcp |
| 13 | vnc-640x480x16 5960/tcp |
| 14 | vnc-800x600x16 5961/tcp |
| 15 | vnc-1024x768x16 5962/tcp |
| 16 | vnc-1280x1024x16 5963/tcp |
| 17 | vnc-1600x1200x16 5964/tcp |
| 18 | vnc-640x480x24 5970/tcp |
| 19 | vnc-800x600x24 5971/tcp |
| 20 | vnc-1024x768x24 5972/tcp |
| 21 | vnc-1280x1024x24 5973/tcp |
| 22 | vnc-1600x1200x24 5974/tcp |
| 23 | vnc-640x480x32 5980/tcp |
| 24 | vnc-800x600x32 5981/tcp |
| 25 | vnc-1024x768x32 5982/tcp |
| 26 | vnc-1280x1024x32 5983/tcp |
| 27 | vnc-1600x1200x32 5984/tcp |
| 28 | }}} |
| 29 | |
| 30 | rock@gpfs-server:~$ sudo vim /etc/xinetd.d [[BR]] |
| 31 | |
| 32 | {{{ |
| 33 | service vnc-640x480x8 |
| 34 | { |
| 35 | protocol = tcp |
| 36 | socket_type = stream |
| 37 | wait = no |
| 38 | user = nobody |
| 39 | server = /usr/bin/Xvnc |
| 40 | server_args = -inetd -query localhost -once -geometry 640x480 -depth 8 |
| 41 | } |
| 42 | |
| 43 | service vnc-800x600x8 |
| 44 | { |
| 45 | protocol = tcp |
| 46 | socket_type = stream |
| 47 | wait = no |
| 48 | user = nobody |
| 49 | server = /usr/bin/Xvnc |
| 50 | server_args = -inetd -query localhost -once -geometry 800x600 -depth 8 |
| 51 | } |
| 52 | |
| 53 | service vnc-1024x768x8 |
| 54 | { |
| 55 | protocol = tcp |
| 56 | socket_type = stream |
| 57 | wait = no |
| 58 | user = nobody |
| 59 | server = /usr/bin/Xvnc |
| 60 | server_args = -inetd -query localhost -once -geometry 1024x768 -depth 8 |
| 61 | } |
| 62 | |
| 63 | service vnc-1280x1024x8 |
| 64 | { |
| 65 | protocol = tcp |
| 66 | socket_type = stream |
| 67 | wait = no |
| 68 | user = nobody |
| 69 | server = /usr/bin/Xvnc |
| 70 | server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 8 |
| 71 | } |
| 72 | |
| 73 | service vnc-1600x1200x8 |
| 74 | { |
| 75 | protocol = tcp |
| 76 | socket_type = stream |
| 77 | wait = no |
| 78 | user = nobody |
| 79 | server = /usr/bin/Xvnc |
| 80 | server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 8 |
| 81 | } |
| 82 | |
| 83 | service vnc-640x480x16 |
| 84 | { |
| 85 | protocol = tcp |
| 86 | socket_type = stream |
| 87 | wait = no |
| 88 | user = nobody |
| 89 | server = /usr/bin/Xvnc |
| 90 | server_args = -inetd -query localhost -once -geometry 640x480 -depth 16 |
| 91 | } |
| 92 | |
| 93 | service vnc-800x600x16 |
| 94 | { |
| 95 | protocol = tcp |
| 96 | socket_type = stream |
| 97 | wait = no |
| 98 | user = nobody |
| 99 | server = /usr/bin/Xvnc |
| 100 | server_args = -inetd -query localhost -once -geometry 800x600 -depth 16 |
| 101 | } |
| 102 | |
| 103 | service vnc-1024x768x16 |
| 104 | { |
| 105 | protocol = tcp |
| 106 | socket_type = stream |
| 107 | wait = no |
| 108 | user = nobody |
| 109 | server = /usr/bin/Xvnc |
| 110 | server_args = -inetd -query localhost -once -geometry 1024x768 -depth 16 |
| 111 | } |
| 112 | |
| 113 | service vnc-1280x1024x16 |
| 114 | { |
| 115 | protocol = tcp |
| 116 | socket_type = stream |
| 117 | wait = no |
| 118 | user = nobody |
| 119 | server = /usr/bin/Xvnc |
| 120 | server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 16 |
| 121 | } |
| 122 | |
| 123 | service vnc-1600x1200x16 |
| 124 | { |
| 125 | protocol = tcp |
| 126 | socket_type = stream |
| 127 | wait = no |
| 128 | user = nobody |
| 129 | server = /usr/bin/Xvnc |
| 130 | server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 16 |
| 131 | } |
| 132 | |
| 133 | service vnc-640x480x24 |
| 134 | { |
| 135 | protocol = tcp |
| 136 | socket_type = stream |
| 137 | wait = no |
| 138 | user = nobody |
| 139 | server = /usr/bin/Xvnc |
| 140 | server_args = -inetd -query localhost -once -geometry 640x480 -depth 24 |
| 141 | } |
| 142 | |
| 143 | service vnc-800x600x24 |
| 144 | { |
| 145 | protocol = tcp |
| 146 | socket_type = stream |
| 147 | wait = no |
| 148 | user = nobody |
| 149 | server = /usr/bin/Xvnc |
| 150 | server_args = -inetd -query localhost -once -geometry 800x600 -depth 24 |
| 151 | } |
| 152 | |
| 153 | service vnc-1024x768x24 |
| 154 | { |
| 155 | protocol = tcp |
| 156 | socket_type = stream |
| 157 | wait = no |
| 158 | user = nobody |
| 159 | server = /usr/bin/Xvnc |
| 160 | server_args = -inetd -query localhost -once -geometry 1024x768 -depth 24 |
| 161 | } |
| 162 | |
| 163 | service vnc-1280x1024x24 |
| 164 | { |
| 165 | protocol = tcp |
| 166 | socket_type = stream |
| 167 | wait = no |
| 168 | user = nobody |
| 169 | server = /usr/bin/Xvnc |
| 170 | server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 24 |
| 171 | # port = 5973 |
| 172 | } |
| 173 | |
| 174 | service vnc-1600x1200x24 |
| 175 | { |
| 176 | protocol = tcp |
| 177 | socket_type = stream |
| 178 | wait = no |
| 179 | user = nobody |
| 180 | server = /usr/bin/Xvnc |
| 181 | server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 24 |
| 182 | } |
| 183 | |
| 184 | service vnc-640x480x32 |
| 185 | { |
| 186 | protocol = tcp |
| 187 | socket_type = stream |
| 188 | wait = no |
| 189 | user = nobody |
| 190 | server = /usr/bin/Xvnc |
| 191 | server_args = -inetd -query localhost -once -geometry 640x480 -depth 32 |
| 192 | } |
| 193 | |
| 194 | service vnc-800x600x32 |
| 195 | { |
| 196 | protocol = tcp |
| 197 | socket_type = stream |
| 198 | wait = no |
| 199 | user = nobody |
| 200 | server = /usr/bin/Xvnc |
| 201 | server_args = -inetd -query localhost -once -geometry 800x600 -depth 32 |
| 202 | } |
| 203 | |
| 204 | service vnc-1024x768x32 |
| 205 | { |
| 206 | protocol = tcp |
| 207 | socket_type = stream |
| 208 | wait = no |
| 209 | user = nobody |
| 210 | server = /usr/bin/Xvnc |
| 211 | server_args = -inetd -query localhost -once -geometry 1024x768 -depth 32 |
| 212 | } |
| 213 | |
| 214 | service vnc-1280x1024x32 |
| 215 | { |
| 216 | protocol = tcp |
| 217 | socket_type = stream |
| 218 | wait = no |
| 219 | user = nobody |
| 220 | server = /usr/bin/Xvnc |
| 221 | server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 32 |
| 222 | } |
| 223 | |
| 224 | service vnc-1600x1200x32 |
| 225 | { |
| 226 | protocol = tcp |
| 227 | socket_type = stream |
| 228 | wait = no |
| 229 | user = nobody |
| 230 | server = /usr/bin/Xvnc |
| 231 | server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 32 |
| 232 | } |
| 233 | |
| 234 | }}} |
| 235 | |