<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>remote viewing...psychic power only?</title><link>https://community.element14.com/products/devtools/technicallibrary/w/documents/9792/remote-viewing-psychic-power-only</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>remote viewing...psychic power only?</title><link>https://community.element14.com/products/devtools/technicallibrary/w/documents/9792/remote-viewing-psychic-power-only</link><pubDate>Fri, 08 Oct 2021 04:51:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bb4878cf-f3d1-478e-9735-ac3289fca6c1</guid><dc:creator>DebuggerGuys</dc:creator><comments>https://community.element14.com/products/devtools/technicallibrary/w/documents/9792/remote-viewing-psychic-power-only#comments</comments><description>Current Revision posted to Documents by DebuggerGuys on 10/8/2021 4:51:56 AM&lt;br /&gt;
&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="text-align:-webkit-auto;color:#000000;font-size:10pt;font-family:verdana, geneva;"&gt;Most people today are used to having a nice, intuitive graphical environment when they sit down to use a computer. Gone are the days of using a DOS machine or being lucky enough to have a dial-up account at 300 baud on a UNIX mainframe. Today, most people expect to be able to point and click their way to work nirvana, even when that work is being done on some other machine over a network. In this article, I look at some of the available options, what the relative costs and benefits are, and hopefully by the end, you should have enough information to make a choice as to what would be the best option for you.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="text-align:-webkit-auto;color:#000000;font-size:10pt;font-family:verdana, geneva;"&gt;&lt;span style="color:#000000;text-align:-webkit-auto;"&gt;The overwhelming majority of Linux users will be using the X11 Window System (typically shortened to just X11),b&lt;/span&gt;&lt;span style="color:#000000;text-align:-webkit-auto;"&gt;uilt on a client-server model. In this model, the server is the part that actually draws on a physical screen. As such, it is the part you end up running on your desktop in front of you. The client portion in this model is the user-space program that has output that needs to be seen by the end user.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;The client does this by sending requests to the X11 server. These are high level and of the form &amp;quot;Draw a window&amp;quot;, &amp;quot;Add text to the window border&amp;quot;, &amp;quot;Move the window to the right by x pixels&amp;quot;. Because of this, there potentially can be a lot of communication if a lot is going on.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;When most people experience X11, both parts of this model are running on the desktop in front of them. But, this isn&amp;#39;t the only option. There is no reason for the client and server to be on the same machine, or even on the same continent. Because everything is done by sending messages, those messages easily can be sent over a network connection.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;The first thought that should come to you is &amp;quot;Hey, I can open a window on my friend&amp;#39;s machine and display rude pictures there.&amp;quot; Unfortunately, the writers of the X11 specification have beaten you there and closed that particular hole. By default, X11 servers are configured not to accept connections from clients on the network. You have to allow this explicitly. You can use two separate mechanisms to allow external connections. The older one is called xhosts. With xhosts, you tell the X11 server to accept connections from the servers that you permit.&amp;nbsp; The command looks like this:&lt;/span&gt;&lt;/p&gt;&lt;pre style="color:#000000;text-align:-webkit-auto;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;&lt;code style="color:#336699;"&gt; xhost +111.222.333.444 &lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;The newer authentication mechanism is called xauth. In this method, the X11 server creates a cookie that is required in order to connect to the X11 server. If you want to connect to the X11 server from a remote machine, you need to copy this cookie over to the remote machine. An example of doing this, from the xauth man page is:&lt;/span&gt;&lt;/p&gt;&lt;pre style="color:#000000;text-align:-webkit-auto;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;&lt;code style="color:#336699;"&gt; xauth extract - $DISPLAY | ssh otherhost xauth merge - &lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;This command pulls out the cookie for the current X11 server and &amp;quot;SSHes&amp;quot; it over to the remote machine and merges it into the user&amp;#39;s xauth file.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;Once you have done this, how do client applications go ahead and connect to your X11 server? All programs that run under X11 accept certain command-line options. One of these is &lt;code style="color:#336699;"&gt;-display&lt;/code&gt;. With this option, you can tell your client program to which X11 server to connect and send its output. The general form of this option is:&lt;/span&gt;&lt;/p&gt;&lt;pre style="color:#000000;text-align:-webkit-auto;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;&lt;code style="color:#336699;"&gt; -display hostname:display#.screen# &lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;The reason for all of the parts of this option is that a given machine could be running more than one X11 server, and each server could be running more than one display screen. The first server and screen is labeled as 0.0, so in most cases you will use:&lt;/span&gt;&lt;/p&gt;&lt;pre style="color:#000000;text-align:-webkit-auto;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;&lt;code style="color:#336699;"&gt; -display hostname:0.0 &lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;As an aside, you can do this on your desktop. If you open a terminal, you can run an X11 client program with:&lt;/span&gt;&lt;/p&gt;&lt;pre style="color:#000000;text-align:-webkit-auto;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;&lt;code style="color:#336699;"&gt; -display :0.0 &lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;and it will show up on your default desktop.&amp;nbsp; &lt;/span&gt;&lt;span style="font-family:verdana, geneva;font-size:10pt;"&gt;Cool and useful right? Keep reading about it &lt;a class="jive-link-external-small" href="http://www.linuxjournal.com/content/remote-viewing-not-just-psychic-power" rel="nofollow ugc noopener" target="_blank"&gt;here!&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;color:#000000;font-family:Georgia, serif;text-align:-webkit-auto;font-size:medium;"&gt;&lt;span style="text-align:-webkit-auto;color:#000000;font-size:medium;font-family:Georgia, serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: coding, x11, programming, xauth, viewing, desktop, remote&lt;/div&gt;
</description></item></channel></rss>