Mudanças entre as edições de "Rdesktop PI"

De Slacam_Wiki
Ir para: navegação, pesquisa
(Criou página com '<header style="margin: 0px 0px 1.5em; padding: 2em 0px 1em; border: 0px; font-family: Lato, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: no…')
 
(Página substituída por ' == Ativando o Acesso Remoto Gráfico para o Raspberry PI == A ativação é bem simples. Instale o xrdp para o PI com o comando abaixo: sudo apt-get install xrdp Apó…')
Linha 1: Linha 1:
<header style="margin: 0px 0px 1.5em; padding: 2em 0px 1em; border: 0px; font-family: Lato, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; line-height: 24px; vertical-align: baseline; display: block; position: relative; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAFUlEQVQIHWNIS0sr/v//PwMMDzY+ADqMahlW4J91AAAAAElFTkSuQmCC); background-color: rgb(248, 248, 248); color: rgb(34, 34, 34); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-position: 0% 100%; background-repeat: repeat no-repeat;">
 
= Remote Desktop With Raspberry Pi =
 
<br>
 
Author:<span class="Apple-converted-space">&nbsp;</span>[http://www.jeremymorgan.com/about/ Jeremy Morgan]
 
  
<time style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline;" data-updated="true" pubdate="" datetime="2012-12-27T21:37:00-08:00">DEC 27<span style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline;">TH</span>, 2012</time>
+
== Ativando o Acesso Remoto Gráfico para o Raspberry PI ==
</header><br><div style="margin: 0px; padding: 0px; border: 0px; font-family: Lato, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; line-height: 24px; vertical-align: baseline; color: rgb(34, 34, 34); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248);" class="entry-content">
+
Do you want to remote into your Raspberry Pi and see a graphical desktop? It’s actually really easy. If you don’t want to dedicate a monitor or the TV to the pi but still want to use it, here’s your solution.
+
<br><div style="margin: 0px; padding: 15px; border: 1px solid black; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline; width: 600px; background-color: rgb(119, 176, 255);" class="subscribefooter">
+
==== Do you like my Rasbperry Pi Tutorials? ====
+
I’m constantly hacking on stuff with the Raspberry Pi. If you want to get notified every time I post a new article<span class="Apple-converted-space">&nbsp;</span>[http://feeds.feedburner.com/JeremyMorganRaspberryPi '''subscribe to my Raspberry Pi feed''']here, or you can<span class="Apple-converted-space">&nbsp;</span>[http://feedburner.google.com/fb/a/mailverify?uri=JeremyMorganRaspberryPi '''get notifications right in your inbox''']<span class="Apple-converted-space">&nbsp;</span>with NO spam, I know hackers hate that.</div>
+
Ok, another Raspberry Pi article. Due to the overwhelming response I’m going to keep putting stuff up here as I hack and play around, and hopefully it gets people even more stoked about this awesome product. If these tutorials seem “too basic” remember they’re not targeted at hardcore techies, they’re geared towards kids and newbies, which all of us were at one time.
+
  
Anyway, so let’s say you’re like me and you have a bunch of computers around all the time. You have your Raspberry Pi that you want to play around with but you don’t want to fiddle back and forth with cables or hook it to your TV, well this method will let you have a graphical desktop on your own desktop of your PC or Laptop like this:
+
A ativação é bem simples. Instale o xrdp para o PI com o comando abaixo:
  
[[Image:]]
+
sudo apt-get install xrdp
  
Pretty cool, right? Let’s get started.
+
Após basta usar o "Remote Desktop" do Windows (fica na pasta Acessórios) para se ter o acesso gráfico ao seu Raspberry PI.
  
=== Configure the Pi ===
+
Para mais detalhes acesso ao link do autor em [http://www.jeremymorgan.com/tutorials/raspberry-pi/how-to-remote-desktop-raspberry-pi/]
 
+
Make sure your Pi is connected to the Internet, and your local network containing the other machines you want to connect with.
+
 
+
To set this up, you’ll need the Pi to run a service that your other computers can connect to. I’m using<span class="Apple-converted-space">&nbsp;</span>[http://www.raspberrypi.org/downloads Raspian Wheezy]<span class="Apple-converted-space">&nbsp;</span>for this, as I do with most of my tutorials.
+
 
+
I chose<span class="Apple-converted-space">&nbsp;</span>[http://www.xrdp.org/ xrdp]<span class="Apple-converted-space">&nbsp;</span>for this, as I’ve had good experiences with it in the past. To install it in Raspian, you simply type:
+
<blockquote style="margin: 0px 0px 1.5em; padding: 0px 0px 0px 1.5em; border-width: 0px 0px 0px 4px; border-left-style: solid; border-left-color: rgba(170, 170, 170, 0.498039); font-family: inherit; font-size: 1em; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: 1.5em; vertical-align: baseline; quotes: none; color: rgb(85, 85, 85); position: relative;">
+
sudo apt-get install xrdp
+
</blockquote>
+
This will install everything you need on the Pi. It will start up every time you start up your Raspberry Pi.
+
 
+
Now get your IP address
+
<blockquote style="margin: 0px 0px 1.5em; padding: 0px 0px 0px 1.5em; border-width: 0px 0px 0px 4px; border-left-style: solid; border-left-color: rgba(170, 170, 170, 0.498039); font-family: inherit; font-size: 1em; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: 1.5em; vertical-align: baseline; quotes: none; color: rgb(85, 85, 85); position: relative;">
+
ifconfig eth0 | grep inet | cut -c21-30
+
</blockquote>
+
Remember this IP as you’ll need to use it to find your Pi from another machine.
+
 
+
=== Connect to the Pi with Windows ===
+
 
+
You can connect to the machine from multiple environments; I suspect most beginners will be using a Windows system.
+
 
+
To start simply go to
+
 
+
Start -&gt; All Programs -&gt; Remote Desktop Connection
+
 
+
Put your IP address in the box:
+
 
+
[[Image:]]
+
 
+
And connect! You may see a message saying the remote computer cannot be verified like this:
+
 
+
[[Image:]]
+
 
+
You can safely ignore it. It comes up because your Raspberry Pi is running Linux, instead of Windows which is what remote desktop expects.
+
 
+
You should get the following screen next:
+
 
+
[[Image:]]
+
 
+
Log in, and you’re ready to go!
+
 
+
=== Connect to the Pi with Linux ===
+
 
+
If you want to connect to your Pi from Linux that’s equally easy.
+
 
+
I generally use<span class="Apple-converted-space">&nbsp;</span>[http://www.rdesktop.org/ rdesktop]<span class="Apple-converted-space">&nbsp;</span>to connect. If you’re using Ubuntu or another Debian based installation, type in
+
<blockquote style="margin: 0px 0px 1.5em; padding: 0px 0px 0px 1.5em; border-width: 0px 0px 0px 4px; border-left-style: solid; border-left-color: rgba(170, 170, 170, 0.498039); font-family: inherit; font-size: 1em; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: 1.5em; vertical-align: baseline; quotes: none; color: rgb(85, 85, 85); position: relative;">
+
sudo apt-get install rdesktop
+
</blockquote>
+
After that installs, type in the following:
+
<blockquote style="margin: 0px 0px 1.5em; padding: 0px 0px 0px 1.5em; border-width: 0px 0px 0px 4px; border-left-style: solid; border-left-color: rgba(170, 170, 170, 0.498039); font-family: inherit; font-size: 1em; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: 1.5em; vertical-align: baseline; quotes: none; color: rgb(85, 85, 85); position: relative;">
+
rdesktop &lt; the IP address of your Pi &gt;
+
</blockquote>
+
You’ll see the familiar xrdp screen again.
+
 
+
If you are running a different distribution you can always build it from source, the latest version as of this writing is<span class="Apple-converted-space">&nbsp;</span>[http://prdownloads.sourceforge.net/rdesktop/rdesktop-1.7.1.tar.gz?download rdesktop 1.7.1]<span class="Apple-converted-space">&nbsp;</span>and it’s a pretty easy setup.
+
 
+
=== Connect to the Pi with Mac OSX ===
+
 
+
I don’t actually have a Mac to test this on, but you can find something like<span class="Apple-converted-space">&nbsp;</span>[http://cord.sourceforge.net/ CoRD]<span class="Apple-converted-space">&nbsp;</span>that should work just fine.
+
 
+
I will try to get my hands on an OSX machine soon and find a good solution for this.
+
 
+
=== Additional Options ===
+
 
+
One thing you may notice is the Pi can go really high with it’s screen resolution, possibly higher than your monitor will allow. This will make it so you have to scroll around and end up with something like this:
+
 
+
[[Image:]]
+
 
+
Obviously not a great solution right? Well in Windows, you can adjust your resolution settings in Remote Desktop fairly easily. Click on the Options dropdown:
+
 
+
[[Image:]]
+
 
+
And select the “Display” tab:
+
 
+
[[Image:]]
+
 
+
You will see a slider with multiple options for resolution and color. Then go back to the General tab and click “save” to save your changes.
+
 
+
In linux you can pass some parameters to the command:
+
<blockquote style="margin: 0px 0px 1.5em; padding: 0px 0px 0px 1.5em; border-width: 0px 0px 0px 4px; border-left-style: solid; border-left-color: rgba(170, 170, 170, 0.498039); font-family: inherit; font-size: 1em; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: 1.5em; vertical-align: baseline; quotes: none; color: rgb(85, 85, 85); position: relative;">
+
rdesktop -r 1024x768 &lt; the IP address of your Pi &gt;
+
</blockquote>
+
and rdesktop will automatically resize to whatever resolution you want.
+
 
+
=== Why use RDP? ===
+
 
+
Someone may ask this, and it’s a valid question. If you’re running Linux and want to connect a Linux machine, why use a Microsoft protocol? The reason I suggest using xrdp is because it’s fast, stable and works well with multiple operating systems. There are several other VNC options you can use but for simplicity I chose this one, and it works well on both Windows and Linux machines.
+
 
+
=== Summary ===
+
 
+
I hope this has helped answer your questions about running your Pi as a virtual desktop. If you’re like me you might have your Pi stashed away somewhere and it’s more convenient to make it headless. For me it sits in my “datacenter” (the closet in my office) amongst other equipment, so when I want to play with my Pi, I either SSH into it or use RDP and it works great.
+
 
+
Till next time, keep sending me ideas and feedback!
+
<br><div style="margin: 0px; padding: 15px; border: 1px solid black; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline; width: 600px; background-color: rgb(119, 176, 255);" class="subscribefooter">
+
==== Do you like my Rasbperry Pi Tutorials? ====
+
I’m constantly hacking on stuff with the Raspberry Pi. If you want to get notified every time I post a new article<span class="Apple-converted-space">&nbsp;</span>[http://feeds.feedburner.com/JeremyMorganRaspberryPi '''subscribe to my Raspberry Pi feed''']here, or you can<span class="Apple-converted-space">&nbsp;</span>[http://feedburner.google.com/fb/a/mailverify?uri=JeremyMorganRaspberryPi '''get notifications right in your inbox''']<span class="Apple-converted-space">&nbsp;</span>with NO spam, I know hackers hate that.</div></div><footer style="margin: 2em 0px 0px; padding: 0px 0px 1em; border: 0px; font-family: Lato, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; line-height: 24px; vertical-align: baseline; display: block; color: rgb(34, 34, 34); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(248, 248, 248);">
+
<span style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline;" class="byline author vcard">Author:<span class="Apple-converted-space">&nbsp;</span>[http://www.jeremymorgan.com/about/ <span style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline;" class="fn">Jeremy Morgan</span>]</span><span class="Apple-converted-space">&nbsp;</span><time style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline;" data-updated="true" pubdate="" datetime="2012-12-27T21:37:00-08:00">Dec 27<span style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline;">th</span>, 2012</time><span class="Apple-converted-space">&nbsp;</span><span style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline;" class="categories"><span class="Apple-converted-space">&nbsp;</span>[http://www.jeremymorgan.com/blog/raspberry-pi/ Raspberry Pi],<span class="Apple-converted-space">&nbsp;</span>[http://www.jeremymorgan.com/blog/tutorials/ Tutorials]</span>
+
</footer>
+

Edição das 15h12min de 24 de fevereiro de 2013

Ativando o Acesso Remoto Gráfico para o Raspberry PI

A ativação é bem simples. Instale o xrdp para o PI com o comando abaixo:

sudo apt-get install xrdp

Após basta usar o "Remote Desktop" do Windows (fica na pasta Acessórios) para se ter o acesso gráfico ao seu Raspberry PI.

Para mais detalhes acesso ao link do autor em [1]