2014年5月8日 星期四

How can I connect to Gnome 3 with a Windows VNC client?

http://unix.stackexchange.com/questions/77885/how-can-i-connect-to-gnome-3-with-a-windows-vnc-client

This is actually a known and currently open bug. However, there is a very easy workaround; just issue the following command:
gsettings set org.gnome.Vino require-encryption false
You will now be able to connect with most vnc viewers.

2014年5月6日 星期二

Use xrdp to connect to desktop session

http://askubuntu.com/questions/235905/use-xrdp-to-connect-to-desktop-session

8down voteaccepted
Well, I was unable to find a way to do this with pure xrdp, but I did find a nice writeup on how to go about getting this set up as an rdp-to-vnc gateway. It works well enough to suit my purpose.
Taken from http://ubuntuwiki.net/index.php/Xrdp,_installing
  1. Install xrdp and vino
    sudo apt-get update && sudo apt-get install xrdp vino
    
  2. Configure vino so that you can remotely connect to the existing session
    Type vino-preferences from the terminal, check "Allow other users to view your desktop," "Allow other users to control your desktop," and configure the "Security" settings as you like (you will probably want to uncheck "confirm each access to this machine" and check "require the user to enter this password").
  3. Configure xrdp to access vino
    Edit /etc/xrdp/xrdp.ini, adding in the text below. Alter the name to whatever you fancy. Also, make sure that [xrdp1] uses a number that doesn't conflict with an existing configuration.
    # set empty username because VNC auth 
    # doesn't actually use username, so no
    # point in asking the user for one.
    
    [xrdp1]
    name=Active Local Login
    lib=libvnc.so
    username=
    password=ask
    ip=127.0.0.1
    port=5900

Xrdp Tip : How to reconnect to the...

Wei says:
Hi,
Thanks for your tip. It really helps me solve the problem.
Based on your tip, I use a simper solution by changing the port of [xrdp1] to
port=ask-1
Then the port field will appear on the login window. If user remembered the port number of his last session, he can change -1 to that number, then connect to last session.
Regards,
Wei

http://c-nergy.be/blog/?p=4471

How do I set up xrdp session that reuses an existing session?

http://askubuntu.com/questions/133343/how-do-i-set-up-xrdp-session-that-reuses-an-existing-session