{"id":543,"date":"2009-02-03T17:32:00","date_gmt":"2009-02-03T08:32:00","guid":{"rendered":"http:\/\/ur.edu-connect.net\/archives\/543"},"modified":"2024-02-04T00:21:11","modified_gmt":"2024-02-03T15:21:11","slug":"ubuntuvnc%e3%81%a7windows%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%8b%e3%82%89ubuntu%e3%82%92%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%a7%e6%89%b1","status":"publish","type":"post","link":"https:\/\/ur.edu-connect.net\/archives\/543","title":{"rendered":"Ubuntu+VNC\u3067Windows\u30de\u30b7\u30f3\u304b\u3089Ubuntu\u3092\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3067\u6271\u3046"},"content":{"rendered":"\n

Windows\uff08VISTA\uff09\u304b\u3089Ubuntu\uff08Hardy Heron 8.04LTS\uff09\u306bVNC\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a<\/span><\/p>\n\n\n\n

\u30b7\u30b9\u30c6\u30e0\u2192\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u2192\u30ed\u30b0\u30a4\u30f3\u753b\u9762
\u300c\u30ea\u30e2\u30fc\u30c8\u300d\u30bf\u30d6\u306e\u300c\u30ea\u30e2\u30fc\u30c8\u30fb\u30ed\u30b0\u30a4 \u30f3\u3092\u7121\u52b9\u306b\u3059\u308b\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u3092\u300c\u30ed\u30fc\u30ab\u30eb\u3068\u540c\u3058\u306b\u3059\u308b\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n

Ubuntu\u30de\u30b7\u30f3\u306e\u8a2d\u5b9a<\/span>
# sudo apt-get install vnc4server xinetd
\uff08vnc4common\u3082\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\uff0evnc4server\u3060\u3051\u3060\u3068\uff0c\u6bce\u56de\u306e\u63a5\u7d9a\u6642\u306b\u4e00\u65e6ssh\u3067vnc\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\uff0c\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u8d77\u52d5\u3059\u308b\u305f\u3081\uff0cxinetd\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff09<\/code><\/pre>\n\n\n\n
# sudo vi \/etc\/xinetd.d\/xvnc #xvnc\u306e\u30b5\u30fc\u30d3\u30b9\u767b\u9332
---
service xvnc
{
disable = no
socket_type = stream
wait = no
user = nobody
group = tty
server = \/usr\/bin\/Xvnc
server_args = -inetd -geometry 1024x768 -depth 24 -query localhost -once PasswordFile=\/etc\/passwd_vnc -extension XFIXES
}
---<\/code><\/pre>\n\n\n\n
VNC\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a<\/span>
# sudo vncpasswd \/etc\/passwd_vnc
Password:
Verify:
# sudo chown nobody.tty \/etc\/passwd_vnc<\/code><\/pre>\n\n\n\n
VNC\u7528\u306e\u30dd\u30fc\u30c8\u3092Listen<\/span>
# sudo vi \/etc\/services
xvnc 5900\/tcp # VNC Server\u3000\u2190\u3000\u8ffd\u8a18<\/code><\/pre>\n\n\n\n
VNC\u3067\u3082\u901a\u5e38\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u4f7f\u3046\u305f\u3081\u306e\u8a2d\u5b9a<\/span>
# sudo vi \/etc\/X11\/gdm\/gdm.conf
[xdmcp]
Enable=True #false\u304b\u3089\u5909\u66f4
RemoteGreeter=\/usr\/lib\/gdm\/gdmlogin #\u30a2\u30f3\u30b3\u30e1\u30f3\u30c8<\/code><\/pre>\n\n\n\n
# sudo \/etc\/init.d\/xinetd restart
# sudo \/etc\/init.d\/gdm restart<\/code><\/pre>\n\n\n\n

VNC\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span>
\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eWindows\u30de\u30b7\u30f3\u306b\u3053\u3053<\/a>\u304b\u3089UltraVNC\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n

UltraVNC\u3092\u8d77\u52d5\u3057\u3066\uff0c\u30bf\u30fc\u30b2\u30c3\u30c8\u30de\u30b7\u30f3\u306eIP\u3092\u5165\u308c\uff0cVNC\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u308c\u308b\u3068\uff0c\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306b\u79fb\u884c\u3057\u307e\u3059\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"

Windows\uff08VISTA\uff09\u304b\u3089Ubuntu\uff08Hardy Heron 8.04LTS\uff09\u306bVNC\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a \u30b7\u30b9\u30c6\u30e0\u2192\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u2192\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u300c\u30ea\u30e2\u30fc\u30c8\u300d\u30bf\u30d6\u306e\u300c\u30ea\u30e2\u30fc\u30c8\u30fb\u30ed\u30b0\u30a4 \u30f3\u3092\u7121\u52b9\u306b\u3059\u308b\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u3092\u300c\u30ed\u30fc\u30ab\u30eb\u3068\u540c\u3058\u306b\u3059\u308b\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\uff0e VNC\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eWindows\u30de\u30b7\u30f3\u306b\u3053\u3053\u304b\u3089UltraVNC\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff0e UltraVNC\u3092\u8d77\u52d5\u3057\u3066\uff0c\u30bf\u30fc\u30b2\u30c3\u30c8\u30de\u30b7\u30f3\u306eIP […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,29,30],"class_list":["post-543","post","type-post","status-publish","format-standard","hentry","category-misc","tag-ubuntu","tag-vnc","tag-30"],"_links":{"self":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts\/543"}],"collection":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/comments?post=543"}],"version-history":[{"count":8,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts\/543\/revisions"}],"predecessor-version":[{"id":29771,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts\/543\/revisions\/29771"}],"wp:attachment":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/media?parent=543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/categories?post=543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/tags?post=543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}