{"id":20,"date":"2013-07-12T01:26:26","date_gmt":"2013-07-11T16:26:26","guid":{"rendered":"https:\/\/www.dogrow.net\/linux\/?p=20"},"modified":"2025-07-08T01:30:04","modified_gmt":"2025-07-07T16:30:04","slug":"blog4","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/linux\/blog4\/","title":{"rendered":"(4) VNC\u30b5\u30fc\u30d0\u30fc\u3092\u7d42\u4e86\u3059\u308b"},"content":{"rendered":"<h1 class=\"my_h\">\u8ffd\u8a18 2022\/07\/17 : \u30b7\u30b9\u30c6\u30e0\u30b5\u30fc\u30d3\u30b9\u5316\u306e\u5f8c\u306f&#8230;<\/h1>\n<h3 class=\"my_h\">(1) vncserver\u306e\u8d77\u52d5<\/h3>\n<p><span class=\"my_fc_deeppinkBBig\">:1<\/span> \u306f\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u756a\u53f71\u756a\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3060\u3002\u5236\u5fa1\u5bfe\u8c61\u306b\u5fdc\u3058\u3066 :2 :3 :4 \u306a\u3069\u306b\u5909\u3048\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n[root@]# <span class='my_fc_yellow'>systemctl start vncserver@:1<\/span>\r\n<\/pre>\n<h3 class=\"my_h\">(2) vncserver\u306e\u7d42\u4e86<\/h3>\n<pre class=\"my_pre_bgBlack\">\r\n[root@]# <span class='my_fc_yellow'>systemctl stop vncserver@:1<\/span>\r\n<\/pre>\n<h3 class=\"my_h\">(3) vncserver\u306e\u72b6\u614b\u78ba\u8a8d<\/h3>\n<pre class=\"my_pre_bgBlack\">\r\n[root@]# <span class='my_fc_yellow'>systemctl status vncserver@:1<\/span>\r\n<\/pre>\n<p>VNC\u304c\u30b7\u30b9\u30c6\u30e0\u30b5\u30fc\u30d3\u30b9\u5316\u3055\u308c\u305f\u5f8c\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u304a\u3088\u3073\u4f7f\u7528\u624b\u9806\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u4e8c\u3064\u306e\u6295\u7a3f\u3082\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/www.dogrow.net\/linux\/blog144\/\" target=\"_blank\" rel=\"noopener\">(144) \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3070\u304b\u308a\u306e RHEL8.6\u3067 VNC\u30b5\u30fc\u30d0\u30fc\u304c\u4f7f\u3048\u308b\u307e\u3067\u306e\u624b\u9806<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/linux\/blog128\/\" target=\"_blank\" rel=\"noopener\">(128) VNC\u30b5\u30fc\u30d0\u30fc\u306e\u8d77\u52d5\u65b9\u6cd5\u304c\u5909\u308f\u308b\uff1f<\/a><\/p>\n<h1 class=\"my_h\">\u65e7\u60c5\u5831\uff1a VNC\u306e\u30b7\u30b9\u30c6\u30e0\u30b5\u30fc\u30d3\u30b9\u5316\u306e\u524d\u306f&#8230;<\/h1>\n<p>\u307e\u305a\u306f\u52d5\u4f5c\u4e2d\u306eVNC\u30b5\u30fc\u30d0\u30fc\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>vncserver -list<\/span>\r\n\r\nTigerVNC server sessions:\r\n\r\nX DISPLAY #     PROCESS ID\r\n:1              14534\r\n<\/pre>\n<p>\u4e00\u3064\u3060\u3051\u8d77\u52d5\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u306eVNC\u30b5\u30fc\u30d0\u30fc\u300c:1\u300d\u756a\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class=\"my_fc_yellow\">vncserver -kill :1<\/span>\r\nKilling Xvnc process ID 14534\r\n<\/pre>\n<p>\u5fc5\u8981\u306b\u306a\u3063\u305f\u3089\u518d\u5ea6\u8d77\u52d5\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class=\"my_fc_yellow\">vncserver -geometry 1600x1200 -depth 16<\/span>\r\nNew 'server:1 (user)' desktop is server:1\r\nStarting applications specified in \/home\/user\/.vnc\/xstartup\r\nLog file is \/home\/user\/.vnc\/gpu-server:1.log\r\n<\/pre>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>\u8ffd\u8a18 2022\/07\/17 : \u30b7\u30b9\u30c6\u30e0\u30b5\u30fc\u30d3\u30b9\u5316\u306e\u5f8c\u306f&#8230; (1) vncserver\u306e\u8d77\u52d5 :1 \u306f\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u756a\u53f71\u756a\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3060\u3002\u5236\u5fa1\u5bfe\u8c61\u306b\u5fdc\u3058\u3066 :2 :3 :4 \u306a\u3069\u306b\u5909\u3048\u308b\u3002 [root@]#\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/linux\/blog4\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,21,8,3],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-vnc","category-vncserver","category-x-window","category-command"],"views":41904,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":25,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"predecessor-version":[{"id":4138,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/20\/revisions\/4138"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}