質問編集履歴

3

アドバイスを実施し、質問に結果を反映

2018/11/29 14:04

投稿

rf24
rf24

スコア13

test CHANGED
File without changes
test CHANGED
@@ -243,3 +243,25 @@
243
243
  :1 4500
244
244
 
245
245
  ```
246
+
247
+
248
+
249
+ ・/root/.vnc/xstartupの内容
250
+
251
+ ```
252
+
253
+ #!/bin/sh
254
+
255
+
256
+
257
+ unset SESSION_MANAGER
258
+
259
+ unset DBUS_SESSION_BUS_ADDRESS
260
+
261
+ /etc/X11/xinit/xinitrc
262
+
263
+ #vncserver -kill $DISPLAY
264
+
265
+ ~
266
+
267
+ ```

2

回答で頂いたアドバイスを実施した結果を追加

2018/11/29 14:04

投稿

rf24
rf24

スコア13

test CHANGED
File without changes
test CHANGED
@@ -211,3 +211,35 @@
211
211
  [root@ip-xxx-xx-xx-xxx ~]#
212
212
 
213
213
  ```
214
+
215
+
216
+
217
+ ・ vncserver -noxstartup実行結果
218
+
219
+ ```
220
+
221
+ [root@ip-xxx-xx-xx-xxx ~]# vncserver -noxstartup :1
222
+
223
+
224
+
225
+ New 'ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1 (root)' desktop is ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1
226
+
227
+
228
+
229
+ Log file is /root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log
230
+
231
+
232
+
233
+ [root@ip-xxx-xx-xx-xxx ~]# vncserver -list
234
+
235
+
236
+
237
+ TigerVNC server sessions:
238
+
239
+
240
+
241
+ X DISPLAY # PROCESS ID
242
+
243
+ :1 4500
244
+
245
+ ```

1

回答を踏まえて実行ログを追加

2018/11/29 12:27

投稿

rf24
rf24

スコア13

test CHANGED
File without changes
test CHANGED
@@ -135,3 +135,79 @@
135
135
  どなたが原因について思い当たる方がいらっしゃいましたら、
136
136
 
137
137
  ご意見をお願い致します。
138
+
139
+
140
+
141
+
142
+
143
+ ・vncserver1実行結果
144
+
145
+
146
+
147
+ ```
148
+
149
+ [root@ip-xxx-xx-xx-xxx ~]# vncserver :1
150
+
151
+
152
+
153
+ New 'ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1 (root)' desktop is ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1
154
+
155
+
156
+
157
+ Starting applications specified in /root/.vnc/xstartup
158
+
159
+ Log file is /root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log
160
+
161
+ ```
162
+
163
+ ・/root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log確認
164
+
165
+ ```
166
+
167
+ [root@ip-xxx-xx-xx-xxx ~]# cat /root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log
168
+
169
+
170
+
171
+ Xvnc TigerVNC 1.8.0 - built Aug 31 2018 12:04:07
172
+
173
+ Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)
174
+
175
+ See http://www.tigervnc.org for information on TigerVNC.
176
+
177
+ Underlying X server release 12001000, The X.Org Foundation
178
+
179
+
180
+
181
+
182
+
183
+ Mon Nov 26 22:04:43 2018
184
+
185
+ vncext: VNC extension running!
186
+
187
+ vncext: Listening for VNC connections on all interface(s), port 5901
188
+
189
+ vncext: created VNC server for screen 0
190
+
191
+ Killing Xvnc process ID 20550
192
+
193
+ ```
194
+
195
+
196
+
197
+ ・vncserver -list
198
+
199
+ ```
200
+
201
+ [root@ip-xxx-xx-xx-xxx ~]# vncserver -list
202
+
203
+
204
+
205
+ TigerVNC server sessions:
206
+
207
+
208
+
209
+ X DISPLAY # PROCESS ID
210
+
211
+ [root@ip-xxx-xx-xx-xxx ~]#
212
+
213
+ ```