{"id":599,"date":"2011-07-10T18:57:36","date_gmt":"2011-07-10T18:57:36","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=599"},"modified":"2011-07-10T18:57:36","modified_gmt":"2011-07-10T18:57:36","slug":"vnc-for-ubuntu","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=599","title":{"rendered":"VNC for Ubuntu"},"content":{"rendered":"<table>\n<tbody>\n<tr>\n<td>root@dlp:~#<\/p>\n<div><a href=\"http:\/\/www.server-world.info\/en\/command\/html\/aptitude.html\">aptitude<\/a>\u00a0-y install vnc4server<\/div>\n<p>root@dlp:~#<\/p>\n<div><a href=\"http:\/\/www.server-world.info\/en\/command\/html\/su.html\">su<\/a>\u00a0&#8211; narwhal<\/div>\n<div>\n<div># switch to a user who set VNC<\/div>\n<\/div>\n<p>narwhal@dlp:~$<\/p>\n<div><a href=\"http:\/\/www.server-world.info\/en\/command\/html\/vncpasswd.html\">vncpasswd<\/a><\/div>\n<div>\n<div># set VNC password<\/div>\n<\/div>\n<p>Password:<\/p>\n<div>\n<div># any password you like to set<\/div>\n<\/div>\n<p>Verify:<br \/>\nnarwhal@dlp:~$<\/p>\n<div>vncserver :1<\/div>\n<div>\n<div># start<\/div>\n<\/div>\n<p>xauth: file \/home\/narwhal\/.Xauthority does not exist<\/p>\n<p>New &#8216;dlp:1 (narwhal)&#8217; desktop is dlp:1<\/p>\n<p>Creating default startup script \/home\/narwhal\/.vnc\/xstartup<br \/>\nStarting applications specified in \/home\/narwhal\/.vnc\/xstartup<br \/>\nLog file is \/home\/narwhal\/.vnc\/dlp:1.log<\/p>\n<p>narwhal@dlp:~$<\/p>\n<div>vncserver -kill :1<\/div>\n<div>\n<div># stop<\/div>\n<\/div>\n<p>Killing Xvnc4 process ID 10540<br \/>\nnarwhal@dlp:~$<\/p>\n<div><a href=\"http:\/\/www.server-world.info\/en\/command\/html\/vi.html\">vi<\/a>\u00a0.vnc\/xstartup<\/div>\n<div># add follows<\/div>\n<div>exec gnome-session &amp;<\/div>\n<div># start with diplay number &#8216;1&#8217;, screen resolution &#8216;800&#215;600&#8242;, color depth &#8217;24&#8217;<\/div>\n<p>narwhal@dlp:~$<\/p>\n<div>vncserver :1 -geometry 800&#215;600 -depth 24<\/div>\n<p>New &#8216;dlp:1 (narwhal)&#8217; desktop is dlp:1<\/p>\n<p>Starting applications specified in \/home\/narwhal\/.vnc\/xstartup<br \/>\nLog file is \/home\/narwhal\/.vnc\/dlp:1.log<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>root@dlp:~# aptitude\u00a0-y install vnc4server root@dlp:~# su\u00a0&#8211; narwhal # switch to a user who set VNC narwhal@dlp:~$ vncpasswd # set VNC password Password: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-599","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=599"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/599\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}