http://ubuntuforums.org/showthread.php?t=2193100
참고 추가
http://askubuntu.com/questions/603169/lubuntu-14-04-tightvnc-remote-mouse-cursor-is-x
HOWTO: Lubuntu VNC server installation in Saucy 13.10
After reading 10 000 guides suggesting that pretty much any VNC server should run in Lubuntu I faced issues runnning any of them and getting a proper desktop environment. RealVNC, x11vnc, tightvncserver, and vino were the candidates. I ended up using tightvncserver. The way to get it working is:
1) Install the package with:
2) Run the server once and kill it:Code:sudo apt-get install tightvncserver autocutsel
3) This will create a ~/.vnc/xstartup file. Modify it like this:Code:tightvncserver :1 tightvncserver -kill :1
The tricky part was the openbox window manager. All guides seem to skip it, I found it by pure luck here:Code:##xrdb $HOME/.Xresources #/etc/X11/Xsession autocutsel -fork openbox & /usr/bin/lxsession -s Lubuntu -e LXDE &
It also works if you comment out the existing entry for X Window Manager instead adding openbox:HTML Code:http://www.madebits.com/blog/comments.php?y=12&m=06&entry=entry120617-014832
You also need to add the following line in order to get bidirectional clipboard sharingCode:#x-window-manager $
4) Final config looks like this:Code:autocutsel -fork
5) Use the vnc server as normal:Code:#!/bin/sh #xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & export XKL_XMODMAP_DISABLE=1 autocutsel -fork openbox & /usr/bin/lxsession -s Lubuntu -e LXDE &
It tends to throw some errors in the log files but I didn't bother to investigate much as it works:Code:tightvncserver :1
P.S. Any clue why vBulletin forum software adds an extra blank row at every [CODE] section? I'm closing the tag exactly after the last character typed.Code:11/12/13 13:00:43 Xvnc version TightVNC-1.3.9 11/12/13 13:00:43 Copyright (C) 2000-2007 TightVNC Group 11/12/13 13:00:43 Copyright (C) 1999 AT&T Laboratories Cambridge 11/12/13 13:00:43 All Rights Reserved. 11/12/13 13:00:43 See http://www.tightvnc.com/ for information on TightVNC 11/12/13 13:00:43 Desktop name 'X' (Server:1) 11/12/13 13:00:43 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t 11/12/13 13:00:43 Listening for VNC connections on TCP port 5904 Font directory '/usr/share/fonts/X11/Type1/' not found - ignoring Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring ** Message: main.vala:96: Session is Lubuntu ** Message: main.vala:97: DE is LXDE Obt-Message: XKB extension is not present on the server or too old Obt-Message: Xinerama extension is not present on the server Obt-Message: XRandR extension is not present on the server Xlib: extension "RANDR" missing on display ":1". ** Message: main.vala:128: log directory: /home/<user>/.cache/lxsession/Lubuntu ** Message: main.vala:129: log path: /home/<user>/.cache/lxsession/Lubuntu/run.log Xlib: extension "XInputExtension" missing on display ":1". Xlib: extension "XInputExtension" missing on display ":1". Openbox-Message: Requested key "Print" does not exist on the display Openbox-Message: Requested key "Print" does not exist on the display Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml" XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1" after 1496 requests (1496 known processed) with 0 events remaining.
EDIT 1: Modified to include clipboard sharing.
Last edited by s-stefanov; December 18th, 2013 at 09:21 PM.
'컴퓨터 이야기~ > 소프트웨어' 카테고리의 다른 글
핸드폰의 용량이 자꾸 부족할 때는 카카오톡을 확인 (0) | 2015.09.27 |
---|---|
## 안드로이드 휴대폰 배터리 최적화 총정리 ## (0) | 2015.09.27 |
1시간 단위로 녹음하는 스크립트 (0) | 2015.07.13 |
iperf 로 네트워크 속도 측정 (0) | 2015.07.10 |
fakeraid 나 기타 raid 후에 윈도우 설치시 에러 문제 (0) | 2015.07.09 |