Skip to main content
replaced http://askubuntu.com/ with https://askubuntu.com/
Source Link

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing:

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can follow these instructionsthese instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing:

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can follow these instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing:

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can follow these instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    
there is no vino-server package for raspbian, so I changed apt-get line to use vino package
Source Link

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing:

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino-server
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can follow these instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing:

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino-server
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can follow these instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing:

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can follow these instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    
added inline instructions
Source Link
omgmog
  • 176
  • 3

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructionsthese instructions to enable session sharing: http://elinux.org/RPi_VNC_Screen_Sharing

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino-server
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can find out how to make xrdp use vino here:follow http://askubuntu.com/questions/235905/use-xrdp-to-connect-to-desktop-sessionthese instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing: http://elinux.org/RPi_VNC_Screen_Sharing

If you're not using vino with xrdp, you can find out how to make xrdp use vino here: http://askubuntu.com/questions/235905/use-xrdp-to-connect-to-desktop-session

If you're using vino for the VNC portion of xrdp (rather than vnc4server), you could follow these instructions to enable session sharing:

  • Log in to your Pi and install the Vino Package

      $ sudo apt-get install vino-server
    
  • Next Run X11

      $ startx
    
  • Once that is done you can run the vino-preferences from the terminal.

      $ vino-preferences
    
  • Configure it like you want it to work, if you want to be able to controll the remote Raspberry Pi computer without remote confirmation you have to check booth "Allow" boxes on top, uncheck the third "confirm" box and as a good recommendation check the 4 box about "Require user password" and enter a password you'll remember. The rest isn't that important so just click "Close" after that. Now Raspbian doesn't autostart vino, so we have to fix that, make a script in the /etc/sudoers.d folder.

      $ sudo leafpad /etc/sudoers.d/vsrv.sh &
    
  • put the following in that file.

      #! /bin/bash
      /usr/lib/vino/vino-server
    
  • Set the file to Execute

      $ chmod +x vsrv.sh
    
  • Then this file has to autorun when we start X11, on Raspbian this can be done by editing the /etc/xdg/lxsession/LXDE/autostart file:

      $ sudo leafpad /etc/xdg/lxsession/LXDE/autostart &
    
  • Just add this line at the end of the file:

      @/etc/sudoers.d/vsrv.sh
    
  • Reboot the Raspberry Pi

If you're not using vino with xrdp, you can follow these instructions:

  • Install xrdp and vino

      sudo apt-get update && sudo apt-get install xrdp vino
    
  • 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").

  • 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
    
Source Link
omgmog
  • 176
  • 3
Loading