{"id":2209,"date":"2012-11-02T09:19:17","date_gmt":"2012-11-02T08:19:17","guid":{"rendered":"http:\/\/blog.campodoro.org\/?p=2209"},"modified":"2012-11-21T11:37:20","modified_gmt":"2012-11-21T10:37:20","slug":"vncserver-with-gparted-on-headless-ubuntu-server","status":"publish","type":"post","link":"https:\/\/blog.campodoro.org\/?p=2209","title":{"rendered":"VNCserver with GParted on headless Ubuntu server"},"content":{"rendered":"<p>I need to grow a disk on my Ubuntu server but only have SSH access to the machine and need GParted to do that.<\/p>\n<p>Here&#8217;s how I&#8217;ve done it:<\/p>\n<pre><span style=\"font-family: 'courier new', courier;\"><code>sudo apt-get install vnc4server openbox gparted<\/code><\/span><\/pre>\n<pre><span style=\"font-family: 'courier new', courier;\">vnc4server <\/span><\/pre>\n<pre><code><span style=\"font-family: 'courier new', courier;\">vnc4server -kill :1\r\nsed -i -e 's\/x-window-manager\/openbox-session\/g' ~\/.vnc\/xstartup\r\nvnc4server<\/span><\/code><\/pre>\n<p>Open port 5901 incoming, and access with a VNC client. Right-click to start the terminal within openbox, and you&#8217;ll be able to run any GTK+ apps, including gparted.<\/p>\n<div class=\"tweetthis\" style=\"text-align:left;\"><p> <a class=\"tt\" href=\"http:\/\/twitter.com\/share?url=https:\/\/blog.campodoro.org\/?p=2209&text=VNCserver+with+GParted+on+headless+Ubuntu+server+%23campodoro+%23tips+%23apple&via=goudkamp&related=richardxthripp%2Ctweetthisplugin\" title=\"Twitter\"><img decoding=\"async\" class=\"nothumb\" src=\"http:\/\/blog.campodoro.org\/wp-content\/plugins\/tweet-this\/icons\/en\/twitter\/tt-twitter.png\" alt=\"Post to Twitter\" \/><\/a> <a class=\"tt\" href=\"http:\/\/twitter.com\/share?url=https:\/\/blog.campodoro.org\/?p=2209&text=VNCserver+with+GParted+on+headless+Ubuntu+server+%23campodoro+%23tips+%23apple&via=goudkamp&related=richardxthripp%2Ctweetthisplugin\" title=\"Twitter\">Tweet<\/a> <a class=\"tt\" href=\"http:\/\/delicious.com\/post?url=https:\/\/blog.campodoro.org\/?p=2209&amp;title=VNCserver+with+GParted+on+headless+Ubuntu+server\" title=\"Post to Delicious\"><img decoding=\"async\" class=\"nothumb\" src=\"http:\/\/blog.campodoro.org\/wp-content\/plugins\/tweet-this\/icons\/en\/delicious\/tt-delicious.png\" alt=\"Post to Delicious\" \/><\/a> <a class=\"tt\" href=\"http:\/\/delicious.com\/post?url=https:\/\/blog.campodoro.org\/?p=2209&amp;title=VNCserver+with+GParted+on+headless+Ubuntu+server\" title=\"Post to Delicious\">Post to Delicious<\/a> <a class=\"tt\" href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/blog.campodoro.org\/?p=2209&amp;t=VNCserver+with+GParted+on+headless+Ubuntu+server\" title=\"Post to Facebook\"><img decoding=\"async\" class=\"nothumb\" src=\"http:\/\/blog.campodoro.org\/wp-content\/plugins\/tweet-this\/icons\/en\/facebook\/tt-facebook.png\" alt=\"Post to Facebook\" \/><\/a> <a class=\"tt\" href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/blog.campodoro.org\/?p=2209&amp;t=VNCserver+with+GParted+on+headless+Ubuntu+server\" title=\"Post to Facebook\">Post to Facebook<\/a><\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>I need to grow a disk on my Ubuntu server but only have SSH access to the machine and need GParted to do that. Here&#8217;s how I&#8217;ve done it: sudo apt-get install vnc4server openbox gparted vnc4server vnc4server -kill :1 sed &hellip; <a href=\"https:\/\/blog.campodoro.org\/?p=2209\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[167,166,169,168],"class_list":["post-2209","post","type-post","status-publish","format-standard","hentry","category-linux","tag-gparted","tag-linux-2","tag-lvm","tag-resize"],"_links":{"self":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/posts\/2209"}],"collection":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2209"}],"version-history":[{"count":3,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/posts\/2209\/revisions"}],"predecessor-version":[{"id":2220,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/posts\/2209\/revisions\/2220"}],"wp:attachment":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}