Getting Remote Access To Work On Ubuntu 14.04 With Vino(需要xrdp?不需vnc)
2014-12-08 16:25
302 查看
是否需要先apt-get install xrdp以便用xp的远程桌面登录还有待进一步验证。
原文地址:http://www.libregeek.org/2014/04/29/getting-remote-access-work-ubuntu-14-04-vino/
I hope I was not the only one who was very frustrated to install Ubuntu and have trouble with using a vnc server. I tried my good ol’ trust tightvncserver, but would get only gray screens and other errors on connecting from my local LAN. I reviewed Ubuntu’s documentation time and time again. After forum hunting a bit, I figured why not use the built in vino VNC server. But, I ran into more problems…
The whole point of this was to administrate my Retro-Gaming rig (new project) visually so I can mess with configurations that are bothersome over SSH. Yes, I know most things are fine over SSH, but I wanted to get this to work out of perseverance. The problem with vino on Ubuntu 14.04 is the default authentication. This is a current bug in 14.04 as of this post writing.
1.1 Sharing
1.2 Security
1.3 Show Notification Icon
2. Fixing vino under Ubuntu 14.04 (as of 20140428)
2.1 First, Kill and restart vino:
2.2 Modifying the VNC server security
3. Setting up the script
What is nice about vino, is it share’s the desktop display that is already started on DISPLAY:0. It will share the screen as you see it on another monitor, mouse and all.
The suggested options are as follows:
Allow other users to control your desktop (enable)
Require the user to enter this password (enable, set your password)
Automatically configure UPnP router to open and forward ports (optional)
Now click close. vino is setup for connections….or is it?
No matching security types!
What a bummer! So what do you do?
(注:以上三个命令最后一个命令显示完信息后回车回到命令行输入状态)
Now, modify the security with gsettings:
You should be able to connect, but this will not stay after a reboot unfortunately.
Now let’s make things permanent:
(注:安装完成后,在ubuntu软件中心中搜索“dconf” )
Some have suggested unchecking this setting in dconf:
org > gnome > desktop > remote-access > enabled
However, that did not work for me after reboot since remote access was of course disable after reboot. I fell back to just making a script and loading it on startup:
(此处命令可为:gedit ~/vino-fix.sh,不要用root用户)
Fill it with these contents:
Make it executable:
Head into “Startup Applications”(注:即在ubuntu软件中心中搜索“Startup Applications” )
Click Add, and configure as follows:
Name: vino-fix
Command: /home/YOUR_USER/vino-fix.sh
Comment: (optional)
Reboot your system.
That’s it!
Success!
原文地址:http://www.libregeek.org/2014/04/29/getting-remote-access-work-ubuntu-14-04-vino/
I hope I was not the only one who was very frustrated to install Ubuntu and have trouble with using a vnc server. I tried my good ol’ trust tightvncserver, but would get only gray screens and other errors on connecting from my local LAN. I reviewed Ubuntu’s documentation time and time again. After forum hunting a bit, I figured why not use the built in vino VNC server. But, I ran into more problems…
The whole point of this was to administrate my Retro-Gaming rig (new project) visually so I can mess with configurations that are bothersome over SSH. Yes, I know most things are fine over SSH, but I wanted to get this to work out of perseverance. The problem with vino on Ubuntu 14.04 is the default authentication. This is a current bug in 14.04 as of this post writing.
Table Of Content
1. Setting up Remote access under vino1.1 Sharing
1.2 Security
1.3 Show Notification Icon
2. Fixing vino under Ubuntu 14.04 (as of 20140428)
2.1 First, Kill and restart vino:
2.2 Modifying the VNC server security
3. Setting up the script
1. Setting up Remote access under vino
But, first, let’s setup the remote access options. Type “Desktop Sharing” into the dash and hit the configuration screen(注:即在ubuntu软件中心中搜索“Desktop Sharing” ):What is nice about vino, is it share’s the desktop display that is already started on DISPLAY:0. It will share the screen as you see it on another monitor, mouse and all.
The suggested options are as follows:
1.1 Sharing
Allow other users to view your desktop (enable)Allow other users to control your desktop (enable)
1.2 Security
You must confirm each access to this machine (optional, but useful)Require the user to enter this password (enable, set your password)
Automatically configure UPnP router to open and forward ports (optional)
1.3 Show Notification Icon
This is optionalNow click close. vino is setup for connections….or is it?
2. Fixing vino under Ubuntu 14.04 (as of 20140428)
When you try to connect, you’ll like receive the following message:No matching security types!
What a bummer! So what do you do?
2.1 First, Kill and restart vino:
1 2 3 | pkill vino export DISPLAY=:0.0 /usr/lib/vino/vino-server & |
2.2 Modifying the VNC server security
Now here’s the fun part that will make you leap for joy when it works. I am not sure how safe this is, but with proper security set in the vino config page, you should be fine. Please correct me if I am wrong.Now, modify the security with gsettings:
1 | gsettings set org.gnome.Vino require-encryption false |
Now let’s make things permanent:
1 | sudo apt-get install dconf-tools |
Some have suggested unchecking this setting in dconf:
org > gnome > desktop > remote-access > enabled
However, that did not work for me after reboot since remote access was of course disable after reboot. I fell back to just making a script and loading it on startup:
3. Setting up the script
From a terminal window:1 | nano ~/vino-fix.sh |
Fill it with these contents:
1 2 3 | #!/bin/bash export DISPLAY=:0.0 gsettings set org.gnome.Vino require-encryption false |
1 | chmod +x vino-fix.sh |
Click Add, and configure as follows:
Name: vino-fix
Command: /home/YOUR_USER/vino-fix.sh
Comment: (optional)
Reboot your system.
That’s it!
Success!
相关文章推荐
- How to install VNC server on ubuntu 14.04
- how-to-install-vnc-server-on-ubuntu-14.04
- 【转】Getting xrdp to work on CentOS 6.4
- Unity doesn't work on VNC server under Ubuntu 14.04 LTS ubuntu 14.04unity 桌面 和vnc
- How To Install VNC Server On Ubuntu 14.04
- How to Install and Configure VNC on Ubuntu 14.04
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04
- How to install Pygame for Python 3.4 on Ubuntu 14.04(转)
- Install TightVNC Server in RHEL/CentOS and Fedora to Access Remote Desktops
- Use ap-hotspot to establish an AP on ubuntu 14.04
- How to install ZeroMQ on Ubuntu14.04
- Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04
- how to create an ssl certificate on nginx for ubuntu14.04
- enable VNC client on ubuntu and connect to wind...
- Tip: Getting Your Webcam To Work In Ubuntu
- How to install clang on Ubuntu 14.04
- How To Install Apache Tomcat 7 on Ubuntu 14.04 via Apt-Get
- Windows 7 Remote Access to Ubuntu 12.04 Desktop using X11VNC
- Getting Flash to work on non-hero builds 中文名字 如何让Flash在非Hero手机上运行
- How to fix the bug 640*480 resolution only when install ubuntu 14.04 on a old laptop?