{"id":10038,"date":"2011-01-18T19:27:53","date_gmt":"2011-01-18T10:27:53","guid":{"rendered":"http:\/\/ur.edu-connect.net\/?p=10038"},"modified":"2024-02-03T23:55:10","modified_gmt":"2024-02-03T14:55:10","slug":"windows%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%e3%81%86","status":"publish","type":"post","link":"https:\/\/ur.edu-connect.net\/archives\/10038","title":{"rendered":"Windows\u30de\u30b7\u30f3\u304b\u3089Ubuntu\u3092\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3067\u6271\u3046"},"content":{"rendered":"\n

Windows\uff08Win7 x64\uff09\u304b\u3089Ubuntu\uff0810.10 server edition\uff09\u306bVNC\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n

\u30d7\u30ec\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\uff0cvino\uff08\u30b7\u30b9\u30c6\u30e0\u2192\u8a2d\u5b9a\u2192\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\uff09\u306bvnc\u3067\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u306f\uff0c\u63a5\u7d9a\u3059\u308b\u524d\u306b\u8a72\u5f53\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e\u3064\u307e\u308a\uff0c\u5b9f\u969b\u306b\u9060\u9694\u5730\u306b\u3044\u3066\uff0c\u30e6\u30fc\u30b6\u304c\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u305f\u72b6\u614b\u3060\u3068\uff0c\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u307e\u305b\u3093\uff0e\u305d\u308c\u3067\u306f\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3044\u306e\u3067\uff0c\u4ee3\u308f\u308a\u306b vnc4server \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n

\u53c2\u8003\u30b5\u30a4\u30c8\uff1aHow to Install a VNC Server in Ubuntu<\/a><\/p>\n\n\n\n

\u6ce8\u610f\uff1a\u3053\u306e\u30da\u30fc\u30b8\u3067\u8aac\u660e\u3057\u3066\u3044\u308bvnc\u306e\u63a5\u7d9a\u306f\uff0c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ec\u30d9\u30eb\u304c\u4f4e\u3044\uff0c\u7c21\u6613\u7684\u306a\u63a5\u7d9a\u65b9\u6cd5\u3067\u3059\uff0e\u9589\u3058\u305fLAN\u5185\u3067\u306e\u4f7f\u7528\u306a\u3069\u306b\u9650\u5b9a\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\uff0e\u307e\u305f\uff0c\u3053\u306e\u30da\u30fc\u30b8\u3067\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u306b\u3088\u3063\u3066\u30cf\u30c3\u30ad\u30f3\u30b0\u306a\u3069\u306e\u88ab\u5bb3\u306b\u906d\u308f\u308c\u3066\u3082\uff0c\u4e00\u5207\u306e\u8cac\u4efb\u306f\u8ca0\u3044\u307e\u305b\u3093\uff0e<\/span><\/p>\n\n\n\n

vnc4server\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n
$ sudo apt-get install vnc4server<\/code><\/pre>\n\n\n\n

vnc4server\u306e\u521d\u671f\u8a2d\u5b9a<\/h3>\n\n\n\n

vnc4\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3055\u305b\u308b\u305f\u3081\uff0c\u4e00\u65e6vnc4server\u3092\u8d77\u52d5\u3055\u305b\u308b\uff0e<\/p>\n\n\n\n

$ vnc4server<\/code><\/pre>\n\n\n\n

\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\uff0c\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\uff0e \u3059\u308b\u3068\uff0c\u4e0b\u8a18\u306e\u3088\u3046\u306b\uff0c\u65b0\u3057\u3044vnc\u30b5\u30fc\u30d0\u304c\u7acb\u3061\u4e0a\u304c\u3063\u305f\u3053\u3068\u304c\u793a\u3055\u308c\u308b\uff0e<\/p>\n\n\n\n

New '\u30de\u30b7\u30f3\u540d:\u756a\u53f7 (\u30e6\u30fc\u30b6\u540d)' desktop is \u30de\u30b7\u30f3\u540d:\u756a\u53f7<\/code><\/pre>\n\n\n\n

\u4e00\u65e6\u30b5\u30fc\u30d0\u3092\u7d42\u4e86\u3055\u305b\u308b\uff0e<\/p>\n\n\n\n

$ vnc4server -kill \u30de\u30b7\u30f3\u540d:\u756a\u53f7<\/code><\/pre>\n\n\n\n

\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c ~\/.vnc\/xstartup \u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u306e\u3067\uff0c\u4e0b\u8a18\u306e\u3088\u3046\u306b\u7de8\u96c6\uff0e<\/p>\n\n\n\n

#!\/bin\/sh\n#Uncomment the following two lines for normal desktop:\nunset SESSION_MANAGER\nexec \/etc\/X11\/xinit\/xinitrc\n[ -x \/etc\/vnc\/xstartup ] && exec \/etc\/vnc\/xstartup\n[ -r $HOME\/.Xresources ] && xrdb $HOME\/.Xresources\n#xsetroot -solid grey\n#vncconfig -iconic &\n#x-terminal-emulator -geometry 80x24+10+10 -ls -title \"$VNCDESKTOP Desktop\" &\n#x-window-manager &<\/code><\/pre>\n\n\n\n

\u5909\u66f4\u7b87\u6240\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\uff0e<\/p>\n\n\n\n