質問編集履歴
3
アドバイスを実施し、質問に結果を反映
title
CHANGED
File without changes
|
body
CHANGED
@@ -120,4 +120,15 @@
|
|
120
120
|
|
121
121
|
X DISPLAY # PROCESS ID
|
122
122
|
:1 4500
|
123
|
+
```
|
124
|
+
|
125
|
+
・/root/.vnc/xstartupの内容
|
126
|
+
```
|
127
|
+
#!/bin/sh
|
128
|
+
|
129
|
+
unset SESSION_MANAGER
|
130
|
+
unset DBUS_SESSION_BUS_ADDRESS
|
131
|
+
/etc/X11/xinit/xinitrc
|
132
|
+
#vncserver -kill $DISPLAY
|
133
|
+
~
|
123
134
|
```
|
2
回答で頂いたアドバイスを実施した結果を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -104,4 +104,20 @@
|
|
104
104
|
|
105
105
|
X DISPLAY # PROCESS ID
|
106
106
|
[root@ip-xxx-xx-xx-xxx ~]#
|
107
|
+
```
|
108
|
+
|
109
|
+
・ vncserver -noxstartup実行結果
|
110
|
+
```
|
111
|
+
[root@ip-xxx-xx-xx-xxx ~]# vncserver -noxstartup :1
|
112
|
+
|
113
|
+
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
|
114
|
+
|
115
|
+
Log file is /root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log
|
116
|
+
|
117
|
+
[root@ip-xxx-xx-xx-xxx ~]# vncserver -list
|
118
|
+
|
119
|
+
TigerVNC server sessions:
|
120
|
+
|
121
|
+
X DISPLAY # PROCESS ID
|
122
|
+
:1 4500
|
107
123
|
```
|
1
回答を踏まえて実行ログを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -66,4 +66,42 @@
|
|
66
66
|
|
67
67
|
稚拙な質問で申し訳ございません。
|
68
68
|
どなたが原因について思い当たる方がいらっしゃいましたら、
|
69
|
-
ご意見をお願い致します。
|
69
|
+
ご意見をお願い致します。
|
70
|
+
|
71
|
+
|
72
|
+
・vncserver1実行結果
|
73
|
+
|
74
|
+
```
|
75
|
+
[root@ip-xxx-xx-xx-xxx ~]# vncserver :1
|
76
|
+
|
77
|
+
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
|
78
|
+
|
79
|
+
Starting applications specified in /root/.vnc/xstartup
|
80
|
+
Log file is /root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log
|
81
|
+
```
|
82
|
+
・/root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log確認
|
83
|
+
```
|
84
|
+
[root@ip-xxx-xx-xx-xxx ~]# cat /root/.vnc/ip-xxx-xx-xx-xxx.ap-northeast-1.compute.internal:1.log
|
85
|
+
|
86
|
+
Xvnc TigerVNC 1.8.0 - built Aug 31 2018 12:04:07
|
87
|
+
Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)
|
88
|
+
See http://www.tigervnc.org for information on TigerVNC.
|
89
|
+
Underlying X server release 12001000, The X.Org Foundation
|
90
|
+
|
91
|
+
|
92
|
+
Mon Nov 26 22:04:43 2018
|
93
|
+
vncext: VNC extension running!
|
94
|
+
vncext: Listening for VNC connections on all interface(s), port 5901
|
95
|
+
vncext: created VNC server for screen 0
|
96
|
+
Killing Xvnc process ID 20550
|
97
|
+
```
|
98
|
+
|
99
|
+
・vncserver -list
|
100
|
+
```
|
101
|
+
[root@ip-xxx-xx-xx-xxx ~]# vncserver -list
|
102
|
+
|
103
|
+
TigerVNC server sessions:
|
104
|
+
|
105
|
+
X DISPLAY # PROCESS ID
|
106
|
+
[root@ip-xxx-xx-xx-xxx ~]#
|
107
|
+
```
|