Using Win7 to control the Lubuntu via VNC
2016-07-25 16:43
387 查看
有时候在嵌入式计算机没有显示器键鼠供其使用,但又需要通过Terminal或者图形界面对它进行操作,可通过远程连接软件进行。比如vnc
1. install tools: tightvncserver autocutsel
#tightvncserver is vnc server application
#autocutsel is for getting bidirectional clipboard sharing
file content:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
change the above into:
-----------------------
-----------------------
Now you're ready to use the other machine(Windows/Linux/Mac) to remote control this machine: <ip_address>:1
refer:http://www.2cto.com/os/201305/213718.html (Chines)
下载VncViewer: http://www.realvnc.com/download/viewer/
打开程序后按如下格式输入VNC Server地址: VNCServer IP地址:会话号
(如,我的ubuntu ip为192.168.4.108,回话号为5,则输入 192.168.4.108:5)
连接, 然后输入前面设置的密码。OK,现在远程成功了。
----------
reference:
Chinese: http://www.cnblogs.com/lanxuezaipiao/p/3724958.html
Chinese: http://www.2cto.com/os/201305/213718.html
English: https://ubuntuforums.org/showthread.php?t=2193100
English: http://vandorp.biz/2012/01/installing-a-lightweight-lxdevnc-desktop-environment-on-your-ubuntudebian-vps/
English: https://wiki.ubuntu.com/Lubuntu/RemoteDesktop
This officail web contains the items below:
Configuration
Workarounds and Guides
Packages
Fonts
Change Font Size in Interface
Install and view fonts in Lubuntu
Boot, Install, Login, Logoff
Add LXDE to Ubuntu
Find Version of Lubuntu
Windows, Desktop, Taskbar, LXDE
Files
Keyboard, Mouse, Trackpad
Time and Language
Networking
Sound
Sound Preferences
Playing Audio CDs
Testing Sounds with Sound Recorder
Change Default Sound card
Checking Pulseaudio
Video and Graphics
Installed Tools
System Tools
Preferences
Applications
Graphics
Sound & Video
Internet
Office
Accessories
Games
Topics
Fixing Your Third Party App
Coming from Windows
Running Windows Programs
Defragment
Antivirus
Firewall
Clean System
Maintenance
Get Updated Software
Check Hardware
Lost Password
Share Files and Folders
Customizing
Edit the Menu
Change Look and Appearance
Using Win7 to control the Lubuntu via VNC
===== Lubuntu VNC Server installation =====
1. install tools: tightvncserver autocutsel
sudo apt-get install tightvncserver autocutsel
#tightvncserver is vnc server application
#autocutsel is for getting bidirectional clipboard sharing
2. setup password to access desktops: orangepi
3. Run the server once and kill it:
Commands:$ tightvncserver :1 $ tightvncserver -kill :1
4. modify the ~/.vnc/xstartup file:
commands:$ vim ~/.vnc/xstartup
file content:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
change the above into:
-----------------------
#!/bin/sh #xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & # Fix to make GNOME work export XKL_XMODMAP_DISABLE=1 #/etc/X11/Xsession autocutsel -fork openbox & lxterminal & /usr/bin/lxsession -s Lubuntu -e LXDE &
-----------------------
5. Start the vnc server as normal:
Commands:$ su $ tightvncserver :1
Now you're ready to use the other machine(Windows/Linux/Mac) to remote control this machine: <ip_address>:1
refer:http://www.2cto.com/os/201305/213718.html (Chines)
6. For instance: Using Win7 to control the Lubuntu via vnc:
在windows用VncViewer登录桌面下载VncViewer: http://www.realvnc.com/download/viewer/
打开程序后按如下格式输入VNC Server地址: VNCServer IP地址:会话号
(如,我的ubuntu ip为192.168.4.108,回话号为5,则输入 192.168.4.108:5)
连接, 然后输入前面设置的密码。OK,现在远程成功了。
----------
reference:
Chinese: http://www.cnblogs.com/lanxuezaipiao/p/3724958.html
Chinese: http://www.2cto.com/os/201305/213718.html
English: https://ubuntuforums.org/showthread.php?t=2193100
English: http://vandorp.biz/2012/01/installing-a-lightweight-lxdevnc-desktop-environment-on-your-ubuntudebian-vps/
English: https://wiki.ubuntu.com/Lubuntu/RemoteDesktop
======= Lubuntu Setup ========
https://help.ubuntu.com/community/Lubuntu/SetupThis officail web contains the items below:
Configuration
Workarounds and Guides
Packages
Fonts
Change Font Size in Interface
Install and view fonts in Lubuntu
Boot, Install, Login, Logoff
Add LXDE to Ubuntu
Find Version of Lubuntu
Windows, Desktop, Taskbar, LXDE
Files
Keyboard, Mouse, Trackpad
Time and Language
Networking
Sound
Sound Preferences
Playing Audio CDs
Testing Sounds with Sound Recorder
Change Default Sound card
Checking Pulseaudio
Video and Graphics
Installed Tools
System Tools
Preferences
Applications
Graphics
Sound & Video
Internet
Office
Accessories
Games
Topics
Fixing Your Third Party App
Coming from Windows
Running Windows Programs
Defragment
Antivirus
Firewall
Clean System
Maintenance
Get Updated Software
Check Hardware
Lost Password
Share Files and Folders
Customizing
Edit the Menu
Change Look and Appearance
相关文章推荐
- ubuntu设置root密码
- 《SQL Server 必知必会》读书笔记
- Hive集成HBase详解
- vc2015 编译libcurl带openssl
- SVM技法
- 字符编码详解——彻底理解掌握编码知识,“乱码”不复存在
- Java之美[从菜鸟到高手演练]之atomic包的原理及分析
- Redis Expire
- 一个java web项目
- nginx 404页面返回404的状态码
- linux下MYSQL常用命令
- Qt中的动态布局(Dynamic Layout)
- history.replaceState 控制返回
- CEF中文教程(google chrome浏览器控件) -- CEF简介
- LeetCode 219. Contains Duplicate II
- 你真的会用Gson吗?Gson使用指南(三)
- Java运算符、switch、数组、排序
- java将汉语转拼音
- HDU 4686 Arc of Dream
- 仿微信支付宝输入密码框