---
title: "install vncserver on lubuntu"
author: "mathgl"
date: "2014-03-21T12:19:05Z"
tags: []
categories: ["操作系统"]
slug: "install-vncserver-on-lubuntu"
draft: false
lastmod: "2014-03-21T12:19:50Z"
id: 2034462
url: "https://mathgl.iteye.com/blog/2034462"
---

os: ubuntu server 12.04 LTS with lubuntu desktop

 

sudo apt-get install tightvncserver, autocutsel

 

vncserver 

 

vncserver -kill :1

 

now edit ~/.vnc/xstartup

 

replace 

/etc/X11/Xsession

with 

startlubuntu &

 

start vncserver again

with 

vncserver -geometry 1024x600