<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>3c0linux</title>
	<atom:link href="http://3c0linux.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://3c0linux.wordpress.com</link>
	<description>Na penitenciária da Tecnologia da Informação, prisioneiros do pavilhão do software proprietário me disseram que por eu ser usuário, defensor do GNU/Linux, não sou totalmente livre: Que seja! Prefiro ter minha liberdade condicional, do que ser condenado a prissão perpétua, vivendo na solitária.                             De Minha autoria. -3c0- :wq</description>
	<lastBuildDate>Tue, 15 Dec 2009 14:26:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='3c0linux.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ef4d796787236eede6e771711e1c62ad?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>3c0linux</title>
		<link>http://3c0linux.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://3c0linux.wordpress.com/osd.xml" title="3c0linux" />
		<item>
		<title>Ativando o servidor XDMCP Ubuntu 9.10</title>
		<link>http://3c0linux.wordpress.com/2009/12/15/ativando-o-servidor-xdmcp-ubuntu-9-10/</link>
		<comments>http://3c0linux.wordpress.com/2009/12/15/ativando-o-servidor-xdmcp-ubuntu-9-10/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 14:26:52 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1935</guid>
		<description><![CDATA[Enabling XDMCP on Karmic Koala
As promised a couple of days ago, here’s how to enable XDMCP on Ubuntu 9.10, Karmic Koala. Note that none of these instructions are as simple as the point-and-click methods of earlier releases, but they’re not too bad either. I’ve used “gksudo gedit” for people trying to do this in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1935&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2>Enabling XDMCP on Karmic Koala</h2>
<p>As promised a couple of days ago, here’s how to enable XDMCP on Ubuntu 9.10, Karmic Koala. Note that none of these instructions are as simple as the point-and-click methods of earlier releases, but they’re not <em>too</em> bad either. I’ve used “gksudo gedit” for people trying to do this in a GUI – if you’ve used CTRL-ALT-F1 to get to a console screen, then replace those with “sudo nano -w” – but if you know enough to have got to a console screen then you could probably have worked that out anyway (and may want to replace nano with the editor of your choice).</p>
<h2>Enabling the XDMCP server</h2>
<p>With Karmic the GDM config screen has been stripped to the point of excess, <a href="http://www.peppertop.com/blog/?p=671">as discussed in my previous post</a>. So whereas earlier releases let you enable an XDMCP server with a few mouse clicks, Karmic requires you to edit the GDM configuration file on the disk. There is a slight problem in that the GDM configuration file doesn’t actually exist, but there is a copy hanging around in the GDM documentation on your machine, so we can use that as a starting point:</p>
<ol>
<li>Open a terminal (Applications=&gt;Accessories=&gt;Terminal), or switch to a virtual console if you prefer</li>
<li>Copy /usr/share/doc/gdm/examples/custom.conf to /etc/gdm/ – the command line below will do the job for you:<br />
<blockquote>
<pre>gksudo cp /usr/share/doc/gdm/examples/custom.conf /etc/gdm/</pre>
</blockquote>
</li>
<li>Edit the file to add the line “Enable=true” after the “[xdmcp]” line (don’t forget to save it):<br />
<blockquote>
<pre>gksudo gedit /etc/gdm/custom.conf</pre>
</blockquote>
</li>
<li>The file should look something like this:<br />
<blockquote>
<pre># GDM configuration storage

[xdmcp]
Enable=true

[chooser]

[security]

[debug]</pre>
</blockquote>
</li>
<li>Restart GDM with the following command (note that this will kill your current X session, so please make sure you’ve saved anything important first):<br />
<blockquote>
<pre>gksudo restart gdm</pre>
</blockquote>
</li>
</ol>
<p>And that’s it, XDMCP enabled. The usual caveats apply – XDMCP is an inherently insecure protocol, please do not enable it on an internet-facing machine or the laptop you take to the coffee shop. The chances are that if you’ve come here looking for XDMCP information then you already know enough about it to determine whether it’s safe for you, but it never hurts to have a reminder.</p>
<p>If you want to disable XDMCP then edit the file to read “Enable=false” and restart GDM (or your whole machine).</p>
<p>If you just want to enable Karmic for use with my article about <a href="http://www.peppertop.com/blog/?p=54">Rootless Linux on a Windows Machine</a>, that could well be all you need to do.</p>
<p><a href="http://library.gnome.org/admin/gdm/2.28/gdm.html#xdmcpsection">There are other settings</a> that you can add to the [xdmcp] section. In particular the MaxSessions option may be useful if you need multiple XDMCP users connected at once, or as a workaround if you find that stale connections are preventing you from getting a login screen.</p>
<h3>UNR Problems</h3>
<p>One of my favourite uses for XDMCP on Jaunty was with Ubuntu Netbook Remix. You could switch from the netbook launcher screen to the full desktop mode, connect it to the network, enable XDMCP, then easily log in from your Ubuntu desktop machine to use the netbook with a full-sized keyboard and screen. With Karmic they’ve screwed up this approach in just about every way possible:</p>
<ul>
<li>You can’t easily enable XDMCP on the Netbook via the GUI (so you have to use the steps above)</li>
<li>You can’t switch between the netbook launcher and full desktop, which leaves you with a netbook UI on a screen which is more suited to a full desktop</li>
<li>The netbook launcher is a lovely translucent thing, which uses compositing to give it its bling. That means it doesn’t display anything via a normal XDMCP connection*, making it a bit more tricky to launch applications</li>
</ul>
<p>(*It works, albeit slowly, if you use Xephyr – which is something I”ve covered in the <a href="http://www.peppertop.com/blog/?p=712">next thrilling instalment</a>)</p>
<p>There are a few workarounds which will at least let you launch other applications. You can launch them by pressing ALT-F2 to open the “Run Application” dialogue. You can add launchers for your most commonly used applications to the Gnome panel. Or you can add a “Main Menu” applet to the panel. The latter is the most obvious and user-friendly solution, but the obvious and user-friendly place to put it (in the top left) already features a near-identical looking icon for the UNR go-to-the-launcher functionality. So yes you can have a full menu to launch apps from, but prepare to get confused if you also want the UNR functionality.</p>
<p>I suggest that moving the UNR icon to the right of the panel, just before the system tray icons, makes most sense. That way you have a full menu at the top left, and the go-home functionality to the right of the window title.</p>
<h2>Connecting to an XDMCP server</h2>
<p>As my previous post mentioned, the option to make an XDMCP connection has been removed from GDM – and therefore from the Karmic login screen. From the <a href="http://library.gnome.org/admin/gdm/2.28/gdm.html#stability">Gnome GDM documentation</a>:</p>
<blockquote><p>GDM 2.20 and earlier supported the ability to manage multiple displays with separate graphics cards, such as used in terminal server environments, login in a window via a program like Xnest or Xephyr, the gdmsetup program, XML-based greeter themes, and the ability to run the XDMCP chooser from the login screen. These features were not added back during the 2.22 rewrite.</p></blockquote>
<p>It’s that last feature – the ability to run the XDMCP chooser from the login screen – which is the omission I’m dealing with here. The wording of the text above is a bit ambiguous in that it’s not clear whether it means “these features were not added, but will be at some point”, or whether it means “these features were not added and never will be”. I hope it’s the former.</p>
<p>The text above mentions Xnest and Xephyr, which are both X-servers that are also X-clients and allow you to do fancy things like run an XDMCP connection to another machine in a window on your normal desktop. In fact one of the most common comments I’ve seen about the removal of the XDMCP Chooser option from GDM was that you can “just” install Xnest and use the terminal services client if you need to connect via XDMCP. Although this will work in many cases it’s not equivalent to having it built into the login screen for several reasons:</p>
<ul>
<li>It assumes you actually do have the ability to log in to the local machine, which may not be the case</li>
<li>It doesn’t run an XDMCP chooser, so you need to know the IP of the machine you’re connecting to</li>
<li>It requires the installation of Xnest, so won’t work from a Live CD with no internet connection</li>
<li>At least on the virtual machine I’m currently running Karmic on, the Terminal Services Gnome Applet dies every time I try to add it to the panel</li>
</ul>
<p>So here’s a workaround for use with a Live CD, and which doesn’t require you to have an internet connection. It doesn’t use the XDMCP Chooser, however, so you will either need to know the IP of the machine you’re connecting to (if you use the -query option), or only have one XDMCP server on your network (if you use the -broadcast option):</p>
<ol>
<li>From within the Live desktop environment open a terminal (Applications=&gt;Accessories=&gt;Terminal)</li>
<li>Enter the following command if you only have one XDMCP server on your network:<br />
<blockquote>
<pre>sudo xinit -- :2 -broadcast</pre>
</blockquote>
</li>
<li>Alternatively if you wish to specify the IP of the machine you’re connecting to, use the -query option like this (replacing 123.456.789.0 with the IP of the server):<br />
<blockquote>
<pre>sudo xinit -- :2 -query 123.456.789.0</pre>
</blockquote>
</li>
</ol>
<p>This will start a second X server and should give you a login screen for the XDMCP host. Because you now have two X servers running, you can switch between them if you want to – the default will be on CTRL-ALT-F7 and the XDMCP desktop will be on some higher number (CTRL-ALT-F8 seems like it should be the most likely candidate, but mine was on CTRL-ALT-F9 when I tried it).</p>
<p>This should be sufficient for many of the use-cases of XDMCP on a live CD. For full installations, or when you want to run your XDMCP connection in a window, you might find Xnest or Xephyr to be more useful, so I’ll discuss those <a href="http://www.peppertop.com/blog/?p=712">next time</a>.</p>
<h2>Finally, a plug</h2>
<p>Based on the stats I see for other XDMCP-related posts on this site, I suspect that this page will rapidly become one of my most popular. It would be remiss of me not to take that as an opportunity to plug “The Greys”, the humourous, sci-fi based webcomic that I’m involved in. If that sounds like the sort of thing that might interest you, <a href="http://www.peppertop.com/greys/">please take a look</a>.</p>
<p>In my <a href="http://www.peppertop.com/blog/?p=690">previous post</a> I described how to get GDM acting as an XDMCP server by creating a suitable configuration file and restarting GDM. I also mentioned a workaround to let you connect to an XDMCP server even from a Live CD with no internet connection. Hopefully that was enough to get you out of a bind if you were desperately looking for a solution to Gnome’s removal of the XDMCP login option from GDM.</p>
<p>In this post I’m going to describe some other methods for connecting to an XDMCP server, though they all have the disadvantage of requiring additional software to be downloaded. I’ll also mention a workaround for the lack of the host chooser that used to appear when using GDM to start an XDMCP session. I’ll start with reiterating the no-download method of making a connection though – although it’s covered in my previous post, it doesn’t hurt to have all the client options on a single page.</p>
<h2>xinit</h2>
<p>This is the only option here that doesn’t require additional software to be installed, and as such it’s useful when you want to use a Live CD to create a temporary thin client. From within a terminal, type:</p>
<pre>sudo xinit -- :1 -broadcast</pre>
<p>If there is more than one XDMCP server on your network, replace “-broadcast” with “-query” followed by the IP address of the server – so you end up with something like this:</p>
<pre>sudo xinit -- :1 -query 192.168.0.100</pre>
<p>This should start a new X server and present you with a login screen on the remote server. You can switch back to the local X server using CTRL-ALT-F7, then back to the new one using CTRL-ALT-F8 (or F9 or something similar).</p>
<p>When you log out the server will spawn a new login screen – which is great if your temporary thin terminal might be used by several people. If you just want the X server to stop when you log out, append “-once” to the end of the command line.</p>
<h2>Xnest</h2>
<p>The most common “workaround” for the loss of the XDMCP login option that I’ve seen suggested is to “install Xnest and use tsclient”, so I’ll deal with this approach next.</p>
<p>Xnest is a “nested X server”. What does that mean? It means that it’s an X server, but it’s also an X client. It runs as a client application in one X server (your normal desktop), but it acts as an X server itself. It’s one X server nested inside another. In real terms it means that you can run an XDMCP session to another machine within a window on your normal dekstop.</p>
<p>It doesn’t ship on the Ubuntu desktop CD, so you need to install it using Synaptic, apt, aptitude or whatever other package manager you prefer. The package name is “xnest”, and if you’re reading this using Firefox on the Karmic machine you want to use, you should be able to install it by clicking on the link below and letting it open with “apturl” (which should be the default option anyway):</p>
<p><a href="//xnest">apt://xnest</a></p>
<p>I’m going to discuss two ways to run Xnest – from the command line, or via the Terminal Services Client. The latter actually just provides a GUI for the former, but if you prefer point-and-click, have trouble remembering command line options, or want to store your settings for later use, it can be handy.</p>
<p>The basic command line syntax for Xnest is very similar to that of the “xinit” solution above. To connect to a specified server, killing Xnest when you log out, you can get away with the following:</p>
<pre>Xnest :1 -query 192.168.0.100 -once</pre>
<p>“-broadcast” also works, as does omitting “-once” for a persistent login screen. By default Xnest will open a window that is 3/4 of the size of your desktop. Often this is good enough, and there’s no need to specify the Xnest window size any further, but if you need to specify the window size you can add “-geometry 1024×768″ (swapping the numbers for whatever width and height you want). There is no full-screen option.</p>
<p>Once Xnest is installed it automatically becomes available as an option in the Terminal Services Client. There is a Gnome panel applet for accessing this – but it crashes every time I try to add it to the panel in my Karmic virtual machine or via a Live CD. Otherwise you can run it from a terminal, or by pressing ALT-F2 then typing:</p>
<pre>tsclient</pre>
<p>However you launch it, you should end up with a screen similar to the one below. Simply select “XDMCP” from the “Protocol:” dropdown, and enter the address of your server in the “Computer:” text box. You can leave the other fields blank, and optionally change the settings on the other tabs. Note that not all the settings will have an effect – for example, although you can select the screen size on the “Display” tab, the full screen option doesn’t work. Once you’ve set the parameters the way you want them, use the buttons at the bottom to save (or load) them for future use – or just click the “Connect” button to get going immediately:</p>
<p><a href="http://www.peppertop.com/blog/wp-content/uploads/2009/11/tsclient.png"><img title="tsclient" src="http://www.peppertop.com/blog/wp-content/uploads/2009/11/tsclient-214x300.png" alt="tsclient" width="214" height="300" /></a></p>
<p>One thing to note is that Xnest is an <em>old</em> application, and the X server it exposes doesn’t support many of the newer X extensions. For most applications this isn’t a problem, but some may run slowly as they fall back to alternative code, and some may not work at all if they require things like 3D compositing. As noted in my previous post, the Netbook Launcher on the Ubuntu Netbook Remix falls into this category.</p>
<h2>Xephyr</h2>
<p>Xephyr is also a nested X server, much like Xnest. Xephyr, however, is a much more recent development, and supports most modern X extensions. Note that “supports” means “it runs”, not necessarily “it runs well”. Although it might let you run software which otherwise wouldn’t work at all via Xnest, you may find that the performance is so bad as to render that benefit moot. Give it a try, though – sometimes it’s a better choice than Xnest if only because of the broader range of command line options it supports.</p>
<p>Xephyr is in the Ubuntu repositories as “xserver-xephyr”, or you can click on the link below:</p>
<p><a href="//xserver-xephyr">apt://xserver-xephyr</a></p>
<p>At the simplest level launching Xephyr is almost identical to launching Xnest:</p>
<pre>Xephyr :1 -query 192.168.0.100 -once</pre>
<p>Again “-broadcast” also works. Unfortunately the default screen size for Xephyr is somewhat on the small side, so you’ll probably want to add the “-screen 1024×768″ parameter (replace with your preferred width and height, note that although the syntax is the same, Xephyr uses “-screen” to Xnest’s “-geometry”). Xephyr also has a full screen option, using the “-fullscreen” parameter.</p>
<p>That should be enough to get you going with Xephyr, but if you do want to tweak or adjust it further check the man page (”man Xephyr”) – there are far more options than are available with Xnest.</p>
<h2>KDM</h2>
<p>One suggestion made in the comments to my previous post was to install KDM as a login manager, as it still has support for XDMCP logins. If you really want to be able to connect to an XDMCP server from the login screen, then this might be a viable option. Note, however, that installing KDM on a vanilla Ubuntu installation will also drag along with it 50 other packages totalling about 60MB to download and nearly 190MB when decompressed. That’s a lot of baggage just to regain one option on the login screen!</p>
<p>If you decide to go down this route then you’ll find the option on the power menu. The item you want is “Remote Login”, or just press ALT-R (ALT-L will return you to the local login screen). Don’t get tempted by the “Secure Remote Connection” in the session menu – that’s won’t get you an XDMCP connection. You can see the power menu in this screenshot, using the default theme that KDM installs with:</p>
<p><a href="http://www.peppertop.com/blog/wp-content/uploads/2009/11/KDM.png"><img title="KDM" src="http://www.peppertop.com/blog/wp-content/uploads/2009/11/KDM-300x225.png" alt="KDM" width="300" height="225" /></a></p>
<p>When you do want to login locally, make sure you choose something in the session menu (you probably want GNOME if you’ve just installed KDM on a stock Ubuntu machine), otherwise you can end up with a minimal X session which probably isn’t what you want (if you do end up there, just log out of the terminal by pressing CTRL-D or typing “logout”).</p>
<p>Unlike the other options here, KDM does display a host chooser, much like the old GDM did. If you frequently have to connect to several different XDMCP servers, this feature alone might swing your choice.</p>
<h2>GDM 2.20</h2>
<p>It seems like an obvious option: The features we want were present in GDM 2.20; GDM 2.20 is in the Ubuntu repositories; surely it’s a no-brainer – just install GDM 2.20 and all our problems will go away.</p>
<p>Unfortunately life’s rarely that simple. Installing GDM 2.20 resulted in my machine becoming unable to start X at all. I suspect that it was the lack of a suitable config file that was to blame, but that would have taken more than five minutes to fix. Given that there are other solutions here that can be made to work in less than five minutes, diagnosing issues on a legacy version of GDM didn’t seem like a great use of my time.</p>
<p>And even if it had worked first time, there’s still that word “legacy”. Sure, I may not like the removal of some useful features from GDM, but reverting back to an older version doesn’t strike me as a practical answer to the solution either. With each new release my installation would become increasingly anachronistic. No, better to work with what solutions I do have available, rather than stick my head in the sand and pretend that nothing’s changed.</p>
<p>Of course, if <em>you</em> want to try playing with GDM 2.20, I’d be more than happy for you to comment about your experiences here. If you do go off experimenting and get stuck at a command line, unable to start X, “sudo aptitude install gdm” (or kdm) will probably get you going again. Unless you’ve <em>really</em> screwed things up, in which case you’re on your own, kid.</p>
<h2>Conclusion</h2>
<p>There you have it, four different ways of making an XDMCP connection, and one way that sounds like it should work, but doesn’t (or at least not trivially). Which approach you choose will depend on what your particular requirements are, but there’s nothing to stop you trying any or all of them – it’s not like you’re being charged for the privilege</p>
<p>Older versions of Ubuntu – or more specifically, older versions of GDM – had an option to remotely log into another server using XDMCP right from the main login screen. Selecting that option brought up a host chooser which scoured your local network for any XDMCP serving hosts, and then presented you with a list from which to choose a machine to log into. On a network with several serving hosts (such as the virtual machines we have running where I work) this was far more convenient than actually having to memorise the name or IP of the machine you want to connect to.</p>
<p>Of the four XDMCP client options I presented in my <a href="http://www.peppertop.com/blog/?p=712">previous post</a>, only one provided this host chooser functionality. Unfortunately that one was to replace GDM with KDM, which also implies adding a whole load of KDE libraries to your system.</p>
<p>This post will tell you a couple of ways to work around the loss of the host chooser from the login screen. Neither approach is perfect, but if you don’t want to replace your GDM login with KDM or something else, then they’re about the only choice you’ve got. They’re also useful if you want to make an XDMCP connection from within a running desktop environment, using Xnest or Xephyr, as described in the previous post.</p>
<h2>Option 1: Run gdm-host-chooser and copy the IP</h2>
<p>You may not be able to get to the host chooser from the GDM login screen, but that doesn’t mean it’s gone away altogether. It’s still hanging around in the depths of your machine, and you can launch it by typing the following line into a terminal or the ALT-F2 “Run Application” dialogue:</p>
<p><code>/usr/lib/gdm/gdm-host-chooser</code></p>
<p>(Note that on 9.04, Jaunty Jackalope, and earlier releases, it was “/usr/lib/gdmchooser”)</p>
<p>The first thing to note is that it’s not as easy on the eye as the old version. Previously it was possible to provide custom icons for each host by putting images into /usr/share/hosts/ with suitable names. If no host image was found, the image at /usr/share/pixmaps/nohost.png was used by default. With Karmic Koala this latter image still exists, but isn’t displayed in the chooser. Neither are any images in the hosts icon directory.</p>
<div id="attachment_734"><a href="http://www.peppertop.com/blog/wp-content/uploads/2009/11/host_choosers1.png"><img title="host_choosers" src="http://www.peppertop.com/blog/wp-content/uploads/2009/11/host_choosers1-300x201.png" alt="Host choosers: Jaunty and Karmic" width="300" height="201" /></a>Host choosers: Jaunty and Karmic</p>
</div>
<p>In the image above you can see the Jaunty chooser on the left, complete with several default host icons, and one quickly thrown together custom icon at the bottom. On the right is the icon-less Karmic chooser, which is also much larger than the Jaunty chooser, making it too tall for many netbook screens. The image shows the smallest size that each dialogue will scale to – they can be made larger if necessary.</p>
<p>What’s interesting is that the Jaunty chooser shows the host name of the Karmic box in a fairly readable way (”markc-desktop.local (192.168.49.1)”) whereas the Karmic chooser shows only its IPv6 address, with no host name. What you can discern from the chooser, however, is the IP address of each of the XDMCP serving hosts on your network. With that information you can use the “-query” option to xinit, Xnest or Xephyr in order to log into the machine of your choice. If you really, really want to log into a machine by selecting it from this list, rather than copying the IP, take a look at the other options below.</p>
<h2>Option 2: Use -indirect, with an older server</h2>
<p>Cast your mind back through the mists of time, way back to when XDMCP was invented and dumb X terminals were connecting to Unix mainframes in universities the world over. Particularly well funded universities might even have more than one Unix server – and hence the need for a host chooser – but if the dumb X terminals had to become intelligent enough to go scouring the network for willing servers and present their own local chooser… well, that would likely push their already exorbitant prices even further skyward. So “-indirect” was born.</p>
<p>This option is used in place of “-query” or “-broadcast” when starting an X server. In the case of Ubuntu you might specify it when using xinit, Xnest or Xephyr, as described in the previous post. It has one parameter, the IP of a server which will serve up a host chooser. So back in our university scenario, each dumb terminal could still remain dumb, provided it knew how to connect to a single specified server. That server then took on the responsibility of displaying a host chooser to the user. Once the user selected a host, the dumb terminal would reconnect to the selected machine, and everyone was happy.</p>
<p>Up until Jaunty you could also use this approach with Ubuntu. If you had a Ubuntu machine on your network with a known IP or name, you could use -indirect to bring up that machine’s chooser in order to see any other XDMCP servers on your network. In a complex environment with several such servers it meant that you could get away with only remembering the address of one of them.</p>
<p>This still works from the client end in Karmic, but not from the server end. The changes to GDM mean that it will no longer serve up a host chooser to any wandering clients that may request one. You can, however, still get a chooser up from another machine that’s not yet been upgraded to Karmic. So if you’ve got a lot of machines to connect to it might be worth leaving at least one of them running an older version of Ubuntu for the time being, so that you can use it as the source of a host chooser with the -indirect option.</p>
<h2>Option 3: Use gdm-host-chooser in a subshell</h2>
<p>If you tried running gdm-host-chooser using the command above from within a terminal, you may have noticed a load of text spewed out into your command line. If you subsequently selected an entry in the host chooser and clicked the “Connect” button, you may have noticed some more text being spewed out. If you were <em>really</em> observant you may have noticed that, amongst the text being spewed, was the word “hostname:” followed by a space, then the name (or more probably the IP) of the machine you selected. We can use this particular bit of textual spew to our advantage.</p>
<p>Instead of simply executing /usr/lib/gdm/gdm-host-chooser we can pipe its output through some other command line tools so that all we get out is the selected host IP. I’ve used “grep” to isolate the line in question, and “cut” to separate out the IP, but there are many other ways to do this (feel free to post if you’ve got a better approach):</p>
<p><code>/usr/lib/gdm/gdm-host-chooser | grep "hostname:" |cut -d' ' -f2</code></p>
<p>Now if you select a server in the chooser and click the “Connect” button, you should see the IP address appear on the command line without the “hostname: ” prefix. Using this mechanism it’s possible to insert the selected IP directly into the command line when using the “-query” option to xinit, Xnest or Xephyr by putting the whole of that line into a subshell:</p>
<p><code>xinit -- :1 -once -query $(/usr/lib/gdm/gdm-host-chooser | grep "hostname:" |cut -d' ' -f2)</code></p>
<p><code>Xnest :1 -once -query $(/usr/lib/gdm/gdm-host-chooser | grep "hostname:" |cut -d' ' -f2)</code></p>
<p><code>Xephyr :1 -once -query $(/usr/lib/gdm/gdm-host-chooser | grep "hostname:" |cut -d' ' -f2)</code></p>
<p>Pick one of those lines, depending on which type of X server you want to run. They’re all a little unwieldy for day-to-day use, so you might prefer to create a small shell script containing the appropriate line. That way you can launch your chooser and X server from a single command, or even assign it to a launcher on your panel.</p>
<p>I should note that the performance of the host chooser on my test machine was less than stellar, taking several seconds for clicks to register, so if you do use this approach you might need to be a bit patient.</p>
<p>Fonte: <a href="http://www.peppertop.com/blog/?p=690" target="_blank">Link</a></p>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1935/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1935&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/12/15/ativando-o-servidor-xdmcp-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>

		<media:content url="http://www.peppertop.com/blog/wp-content/uploads/2009/11/tsclient-214x300.png" medium="image">
			<media:title type="html">tsclient</media:title>
		</media:content>

		<media:content url="http://www.peppertop.com/blog/wp-content/uploads/2009/11/KDM-300x225.png" medium="image">
			<media:title type="html">KDM</media:title>
		</media:content>

		<media:content url="http://www.peppertop.com/blog/wp-content/uploads/2009/11/host_choosers1-300x201.png" medium="image">
			<media:title type="html">host_choosers</media:title>
		</media:content>
	</item>
		<item>
		<title>Instalando fontes True Type no Ubuntu Linux</title>
		<link>http://3c0linux.wordpress.com/2009/12/10/instalando-fontes-true-type-no-ubuntu-linux/</link>
		<comments>http://3c0linux.wordpress.com/2009/12/10/instalando-fontes-true-type-no-ubuntu-linux/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:25:48 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1929</guid>
		<description><![CDATA[Os passos abaixo devem funcionar na maioria dos casos para qualquer distribuição Linux recente, nos testes utilizei o Ubuntu 8.04 e 8.10.

Abra sua pasta pessoal em &#8220;Locais&#8221; -&#62; &#8220;Pasta Pessoal&#8221; e configure para exibir todos os arquivos ocultos em &#8220;Ver&#8221; -&#62; &#8220;Mostrar arquivos ocultos&#8221;.
Procure pela pasta &#8220;.fonts&#8221;. As pastas ocultas no Linux começam com um [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1929&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Os passos abaixo devem funcionar na maioria dos casos para qualquer distribuição Linux recente, nos testes utilizei o Ubuntu 8.04 e 8.10.</p>
<ol>
<li>Abra sua pasta pessoal em &#8220;Locais&#8221; -&gt; &#8220;Pasta Pessoal&#8221; e configure para exibir todos os arquivos ocultos em &#8220;Ver&#8221; -&gt; &#8220;Mostrar arquivos ocultos&#8221;.</li>
<li>Procure pela pasta &#8220;.fonts&#8221;. As pastas ocultas no Linux começam com um ponto (.) no nome. Caso a pasta não existe basta criá-la pelo menu &#8220;Arquivo&#8221; &#8211; &gt; &#8220;Criar Pasta&#8221;.</li>
<li>Agora copie todos os arquivos de fontes True Type para a pasta &#8220;.fonts&#8221;. Pronto você já poderá utilizar a fonte em qualquer programa sem nenhum passo adicional. O caminho completo da pasta será /home/&lt;login do usuário&gt;/.fonts. É provável que funcione com outros tipos de fontes.</li>
</ol>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1929/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1929/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1929/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1929/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1929/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1929/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1929/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1929/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1929/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1929/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1929&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/12/10/instalando-fontes-true-type-no-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Baixar vídeos do youtube: método prático e sem uso de software</title>
		<link>http://3c0linux.wordpress.com/2009/12/10/baixar-videos-do-youtube-metodo-pratico-e-sem-uso-de-software/</link>
		<comments>http://3c0linux.wordpress.com/2009/12/10/baixar-videos-do-youtube-metodo-pratico-e-sem-uso-de-software/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:24:18 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1927</guid>
		<description><![CDATA[O youtube já se tornou num grande hit na rede muito antes da atual febre Twitter. O youtube é o melhor repositório de vídeos da internet, e serve a diversas finalidades do lazer ao estudo e vice-versa.  Contudo podemos enfrentar alguns problemas ao usar/acessar os vídeos do youtube:

são lentos para assistir, dependendo da conexão;
para [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1927&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>O youtube já se tornou num grande hit na rede muito antes da atual febre <strong>Twitter</strong>. O youtube é o melhor repositório de vídeos da internet, e serve a diversas finalidades do lazer ao estudo e vice-versa.  Contudo podemos enfrentar alguns problemas ao usar/acessar os vídeos do youtube:</p>
<ul>
<li>são lentos para assistir, dependendo da conexão;</li>
<li>para assistir novamente ou mostrar a alguém precisamos esperar o vídeo carregar novamente;</li>
<li>não tem um método padrão para assistir off-line;</li>
<li>não permite  gerenciarmos nossas coletâneas no nosso próprio disco rígido;</li>
<li>por um motivo ou outro algum vídeo pode ficar inacessível ou ser retirado do ar.</li>
</ul>
<p>Por esses e outros motivos muitos programas e recursos foram sendo criados e disponibilizados, por parte de terceiros, para baixar o vídeo para o computador do usuário. Recentemente encontrei um serviço on-line que ajuda a baixar qualquer vídeo do youtube de forma fácil e sem a necessidade de instalar nenhum software no micro (menos um risco para seu computador). Para usar o serviço siga os seguintes passos:</p>
<ol>
<li>acesse o vídeo diretamente no link do youtube, por exemplo <a title="http://www.youtube.com/watch?v=FaOelibhD1k" href="http://www.youtube.com/watch?v=FaOelibhD1k">http://www.youtube.com/watch?v=FaOelibhD1k</a></li>
<li>depois substitua as letras &#8220;www.&#8221;(o ponto também sai), do link,  por &#8220;kick&#8221; assim: http://<strong>kick</strong>youtube.com/watch?v=FaOelibhD1k</li>
<li>já no kickyoutube temos uma barra no topo da página (abaixo do banner) com os formatos disponíveis para download. Os possíveis formatos são: MP4,FLV, HD, AVI, MPG, 3GP, IPHONE, PSP, MP3, OGG e GIF. Nem todos os formatos estão disponíveis ao mesmo tempo e para todos os vídeos. Selecione o formato desejado clicando. Particularmente prefiro o FLV, pois são bem compactos (download mais rápido) e ainda mantém uma boa qualidade;</li>
<li>depois de selecionar o formato desejado, clique em &#8220;GO&#8221;, no final da barra. Em instantes o &#8220;GO&#8221; se transforma em &#8220;Down&#8221;. Clique em &#8220;Down&#8221; com o botão direito do mouse e selecione &#8220;Salvar como&#8230;&#8221; ou &#8220;Salvar link como&#8230;&#8221;. Escolha o local onde salvar o arquivo e pronto.</li>
</ol>
<p>Depois de baixado, o vídeo você poderá ser assistido ou distribuído da forma que quiser.  É isso, espero que  ajude!</p>
<p>Fonte: <a href="http://www.tutolivre.net/baixar-v%C3%ADdeos-do-youtube-m%C3%A9todo-pr%C3%A1tico-e-sem-uso-de-software" target="_blank">link</a></p>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1927/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1927/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1927/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1927/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1927/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1927/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1927/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1927/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1927/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1927/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1927&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/12/10/baixar-videos-do-youtube-metodo-pratico-e-sem-uso-de-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>
	</item>
		<item>
		<title>limitar a taxa de download do apt no Ubuntu / Debian e companhia</title>
		<link>http://3c0linux.wordpress.com/2009/12/10/limitar-a-taxa-de-download-do-apt-no-ubuntu-debian-e-companhia/</link>
		<comments>http://3c0linux.wordpress.com/2009/12/10/limitar-a-taxa-de-download-do-apt-no-ubuntu-debian-e-companhia/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:08:55 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1923</guid>
		<description><![CDATA[





Quem usa Linux e muitos recurso de rede, principalmente Internet, sabe da grande eficiência do Linux no uso de banda de tráfego de dados. Isso é muito interessante quando fazemos qualquer comparativo, por exemplo escolha um arquivo grande qualquer e cronometre o tempo gasto para se baixar este arquivo no Linux e no Windows, você [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1923&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div id="center">
<div id="squeeze">
<div>
<div>
<div>
<div>
<div>Quem usa Linux e muitos recurso de rede, principalmente Internet, sabe da grande eficiência do Linux no uso de banda de tráfego de dados. Isso é muito interessante quando fazemos qualquer comparativo, por exemplo escolha um arquivo grande qualquer e cronometre o tempo gasto para se baixar este arquivo no Linux e no Windows, você ficará realmente surpreso com o resultado. Me lembro de certa vez que o administrador de um provedor wireless de minha cidade, do qual eu era cliente, chegou a me perguntar o que eu fazia para usar 100 % da banda de tráfego que eles me disponibilizavam e que eu era o único que conseguia, a resposta foi simples &#8220;Linux&#8221;.</div>
</div>
<p><!-- google_ad_section_start --></p>
<p>Isso é muito bom para os usuários Linux, mas temos um efeito colateral, pois ao atualizarmos via apt, seja no Ubuntu ou Debian, o máximo de banda de tráfego disponível é utilizada. Para quem dispõe de um link modesto de 300Kbits, o uso da rede fica insuportável durante a atualização do sistema ou instalação de qualquer pacote via apt / synaptic. Para evitar isso podemos limitar a banda de tráfego utilizado pelo apt. Basta criar o arquivo /etc/apt/apt.conf.d/02limitrate com o seguinte conteúdo:</p>
<p>OBS: <em>O nome do arquivo criado não precisar ser exatamente este e talvez seja necessário alguma adaptação para o Debian.</em></p>
<blockquote>
<pre>Acquire
{
	http {
		Dl-Limit "20";
	}
}</pre>
</blockquote>
<p>Este exemplo foi feito no Ubuntu 8.04 (Hardy Heron) e vai limitar em 20Kb/s o tráfego gerado pelo apt. O valor a limitar vai depender do seu link e da necessidade de banda no seu trabalho usando a Internet durante as atualizações do apt. No meu caso ainda consigo navegar tranquilamente com os 10Kb/s que sobram do meu link.</p>
<p>Para complementar, uma outra dica rápida: para ter o mesmo limite quando se utiliza o wget para download utilize a opção &#8211;limit-rate=20k. O wget também costuma &#8220;devorar&#8221; toda a banda de tráfego.</p>
<p>Espero que agora consigam aproveitar seus downloads / atualizações e continuar trabalhando na Internet sem problemas.</p>
<p>fonte: <a href="http://www.tutolivre.net/como-limitar-taxa-de-download-do-apt-no-ubuntu-debian-e-companhia" target="_blank">link</a></p>
</div>
</div>
</div>
</div>
</div>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1923/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1923/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1923/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1923&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/12/10/limitar-a-taxa-de-download-do-apt-no-ubuntu-debian-e-companhia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Liberando o SNMP para coletas remotas no Ubuntu / Debian</title>
		<link>http://3c0linux.wordpress.com/2009/12/10/liberando-o-snmp-para-coletas-remotas-no-ubuntu-debian/</link>
		<comments>http://3c0linux.wordpress.com/2009/12/10/liberando-o-snmp-para-coletas-remotas-no-ubuntu-debian/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:01:21 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1920</guid>
		<description><![CDATA[O protocolo SNMP é muito importante para o monitoramento e administração de qualquer rede. Se você deseja utilizar algum software de monitoramento de equipamentos de rede e servidores o uso do SNMP será indispensável. Mas para utilizar o SNMP para coleta remota é necessária uma pequena alteração na configuração padrão do protocolo instalado no Ubuntu [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1920&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>O protocolo SNMP é muito importante para o monitoramento e administração de qualquer rede. Se você deseja utilizar algum software de monitoramento de equipamentos de rede e servidores o uso do SNMP será indispensável. Mas para utilizar o SNMP para coleta remota é necessária uma pequena alteração na configuração padrão do protocolo instalado no Ubuntu ou Debian (possivelmente todos as distros derivadas da Debian).</p>
<p>Para podermos monitorar um host remoto é necessário ter o SNMP ativado e liberado para coletas a partir de outro host. Para liberar o SNMP na máquina a ser monitorada executamos os seguintes procedimentos:</p>
<p>Editar o arquivo <strong>/etc/snmp/snmpd.conf</strong> para comentar a linha &#8220;com2sec paranoid default public&#8221; e descomentar a linha &#8220;com2sec readonly default public&#8221;.</p>
<p>Editar o arquivo <strong>/etc/default/snmpd</strong> substituindo &#8220;127.0.0.1&#8243; pelo o IP que deverá receber as conexões SNMP, por exemplo &#8220;192.168.50.10&#8243; (este IP deve estar configurado em alguma das interfaces do host), não esquecer de liberar a porta 161 caso exista alguma regra de bloqueio neste host a ser monitorado.</p>
<p>Para ativar as mudanças executamos: <strong># invoke-rc.d snmpd restart </strong>(executado como root ou pode utilizar o sudo)</p>
<p>Depois basta configurar o aplicativo que faz a coleta apontando para o IP liberado e utilizar o SNMP Community como &#8220;public&#8221;.</p>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1920/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1920/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1920/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1920/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1920/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1920/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1920/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1920/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1920/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1920/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1920&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/12/10/liberando-o-snmp-para-coletas-remotas-no-ubuntu-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>
	</item>
		<item>
		<title>AoE e vBlade &#8220;disco remotamente&#8221;</title>
		<link>http://3c0linux.wordpress.com/2009/12/10/aoe-e-vblade-disco-remotamente/</link>
		<comments>http://3c0linux.wordpress.com/2009/12/10/aoe-e-vblade-disco-remotamente/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 12:54:47 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1917</guid>
		<description><![CDATA[AoE &#8211; ATA over Ethernet &#8211; isto mesmo, você trafega pacotes contendo comandos da interface ATA diretamente. Sim comanda o seu disco remotamente, via rede TCP/IP &#8211; é bem rápido !!!
vBlade conjunto que implementa o AoE &#8211; no kernel e também no userspace.
Fiz um teste &#8211; muito rápido, já estou usando e gostando.
Instale no cliente [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1917&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>AoE &#8211; ATA over Ethernet &#8211; isto mesmo, você trafega pacotes contendo comandos da interface ATA diretamente. Sim comanda o seu disco remotamente, via rede TCP/IP &#8211; é bem rápido !!!</p>
<p>vBlade conjunto que implementa o AoE &#8211; no kernel e também no userspace.</p>
<p>Fiz um teste &#8211; muito rápido, já estou usando e gostando.</p>
<p>Instale no cliente e no server os seguintes pacotes:</p>
<pre>  $apt-get install vblade
  $aoetools
</pre>
<p>Instale o módulo no kernel.</p>
<pre>  modprobe aoe
</pre>
<p>Rode o vblade e disponibilize o drive na rede</p>
<pre>  vbladed 0 1 eth0 /dev/sdxx    # onde xx e o driver que vc quer disponibilizar
</pre>
<p>Verifique se o daemon rodou com o comando</p>
<pre>  ps ax | grep vblade
</pre>
<p>Quando estiver rodando, entre no cliente e liste o driver mapeado na linha de comando do cliente</p>
<pre>  aoe-discover
  aoe-stat
</pre>
<p>Isto vai gerar uma saida do tipo</p>
<pre>  e0.1    xxx GB eth0 up
</pre>
<p>Monte o driver normalmente</p>
<pre>  mkdir /mnt/e0.1 &amp;&amp; mount /dev/etherd/e0.1 /mnt/e0.1
</pre>
<p>Pronto, fica como um disco local. Como os pacotes são pequenos, a coisa se passa transparentemente para o sistema e é bem rápido.</p>
<p>No meu caso, eu instalei todos os pacotes nos dois computadores &#8211; cliente e server &#8211; para poder fazer o esquema reverso. Devido a isto os drivers disponibilizados na rede, aparecem no <code>/dev/etherd</code> no cliente.</p>
<p>fonte: <a href="http://www.dicas-l.com.br/print/20090405.html" target="_blank">link</a></p>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1917/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1917/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1917/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1917&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/12/10/aoe-e-vblade-disco-remotamente/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>
	</item>
		<item>
		<title>Bloquear papel de parede no Ubuntu</title>
		<link>http://3c0linux.wordpress.com/2009/12/04/bloquear-papel-de-parede-no-ubuntu/</link>
		<comments>http://3c0linux.wordpress.com/2009/12/04/bloquear-papel-de-parede-no-ubuntu/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 11:44:49 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1915</guid>
		<description><![CDATA[Este tutorial mostra como bloquear a troca de papel de parede no Ubuntu 9.04, não testei no Ubuntu em versões anteriores, mas acredito que funcione.
Vamos utilizar o gconf-editor, um editor de configurações em modo gráfico do gnome que tem muitas utilidades, com ele conseguimos bloquear várias funções do gnome.
1° Passo
Aperte F2 para abrir a janela [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1915&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Este tutorial mostra como bloquear a troca de papel de parede no Ubuntu 9.04, não testei no Ubuntu em versões anteriores, mas acredito que funcione.</p>
<p>Vamos utilizar o gconf-editor, um editor de configurações em modo gráfico do gnome que tem muitas utilidades, com ele conseguimos bloquear várias funções do gnome.</p>
<p><strong>1° Passo</strong></p>
<p>Aperte <strong>F2</strong> para abrir a janela de executar programa. Na janela que aparece digite <strong>gconf-editor</strong></p>
<p><strong><img src="http://2.bp.blogspot.com/_ALAJUSHr5wk/SvAytYSq_EI/AAAAAAAAARc/JTzu7j5j4QM/s400/gconf1.PNG" border="0" alt="" /></strong><br />
<strong>2° Passo</strong></p>
<p>Clique na seta ao lado de Desktop &gt; Gnome &gt; Clique em cima da pasta background</p>
<p><img src="http://2.bp.blogspot.com/_ALAJUSHr5wk/SvA0o2gIvVI/AAAAAAAAARk/2n1HMEk2J_A/s400/gconf2.PNG" border="0" alt="" /></p>
<p><strong>3° Passo</strong></p>
<p>Clique com o botão direito em Picture Filename e escolha definir como obrigatório.</p>
<p><img src="http://4.bp.blogspot.com/_ALAJUSHr5wk/SvBG2uZbwqI/AAAAAAAAARs/t3mF1w7effA/s400/gconf3.PNG" border="0" alt="" /><br />
<img src="http://3.bp.blogspot.com/_ALAJUSHr5wk/SvBHC9IlNyI/AAAAAAAAAR0/9bqQExO_9j0/s400/gconf4.PNG" border="0" alt="" /></p>
<p><strong>4° Passo</strong></p>
<p>Digite a senha de administrador</p>
<p><img src="http://2.bp.blogspot.com/_ALAJUSHr5wk/SvBHo7LIO6I/AAAAAAAAASE/sbUMvAG_0qU/s400/gconf5.PNG" border="0" alt="" /></p>
<p>Pronto você definiu como obrigatório o papel de parede especificado no <strong>picture filename</strong>. Neste caso o papel de parede escolhido foi o padrão, para colocar outro papel de parede coloque-o dentro da pasta /usr/share/backgrounds/. Não esqueça de alterar o nome do arquivo no gconf-editor no item picture _filename.</p>
<p>Exemplo</p>
<p>/usr/share/backgrounds/seu_papel_de_parede.png</p>
<p>Para testar a alteração logue com o outro usuário no sistema e tente alterar o papel de parede.</p>
<p>Fonte: <a href="http://aptgetlinux.blogspot.com/2009/11/bloquear-papel-de-parde-no-ubuntu-904.html" target="_blank">link</a></p>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1915/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1915/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1915/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1915&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/12/04/bloquear-papel-de-parede-no-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>

		<media:content url="http://2.bp.blogspot.com/_ALAJUSHr5wk/SvAytYSq_EI/AAAAAAAAARc/JTzu7j5j4QM/s400/gconf1.PNG" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_ALAJUSHr5wk/SvA0o2gIvVI/AAAAAAAAARk/2n1HMEk2J_A/s400/gconf2.PNG" medium="image" />

		<media:content url="http://4.bp.blogspot.com/_ALAJUSHr5wk/SvBG2uZbwqI/AAAAAAAAARs/t3mF1w7effA/s400/gconf3.PNG" medium="image" />

		<media:content url="http://3.bp.blogspot.com/_ALAJUSHr5wk/SvBHC9IlNyI/AAAAAAAAAR0/9bqQExO_9j0/s400/gconf4.PNG" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_ALAJUSHr5wk/SvBHo7LIO6I/AAAAAAAAASE/sbUMvAG_0qU/s400/gconf5.PNG" medium="image" />
	</item>
		<item>
		<title>Compartilhar impressoras em redes Linux &amp; &#8220;(Windows)&#8221;</title>
		<link>http://3c0linux.wordpress.com/2009/11/05/compartilhar-impressoras-em-redes-linux-windows/</link>
		<comments>http://3c0linux.wordpress.com/2009/11/05/compartilhar-impressoras-em-redes-linux-windows/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 14:57:54 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1913</guid>
		<description><![CDATA[Neste artigo, você aprenderá uma dica muito útil para redes que possuem máquinas que utilizam sistemas operacional Linux e outras que utilizam sistema operacional Windows. Como compartilhar a impressora em casos assim? Apesar de parecer uma tarefa difícil de ser realizada, a solução é mais simples do que parece.
Vale ressaltar que a versão Linux utilizada [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1913&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Neste artigo, você aprenderá uma dica muito útil para redes que possuem máquinas que utilizam sistemas operacional Linux e outras que utilizam sistema operacional Windows. Como compartilhar a impressora em casos assim? Apesar de parecer uma tarefa difícil de ser realizada, a solução é mais simples do que parece.</p>
<p>Vale ressaltar que a versão Linux utilizada para este artigo foi a Ubuntu 9.04, e que se você estiver utilizando outra versão, alguns detalhes poderão ser diferentes.</p>
<p style="text-align:center;"><img class="nada" title="Impressora compartilhada entre Windows e Linux" src="http://www.baixaki.com.br/imagens/materias/2473/5984.jpg" alt="Impressora compartilhada entre Windows e Linux" /></p>
<p><span style="color:#3366ff;"><span style="font-size:large;"><span style="font-family:arial black,avant garde;">Primeiro caso: instalar impressora do  Linux no Windows</span></span></span></p>
<p>No Linux, é necessário que você possua o programa CUPS instalado no sistema. Em várias distribuições, ele vem junto dos programas padrão apresentados pela distro. Mas se este não for o seu caso, faça o download do CUPS <a title="Download do CUPS" href="http://security.ubuntu.com/ubuntu/pool/main/c/cups/cups_1.3.9-17ubuntu3.1_i386.deb" target="_blank">neste link</a>. Ou, se você não utiliza o Ubuntu, faça o donwload clicando <a title="Download do CUPS" href="http://www.cups.org/software.php?VERSION=1.3.11&amp;FILE=cups/1.3.11/cups-1.3.11-source.tar.gz" target="_blank">aqui</a>.</p>
<p>A partir daí, você deverá adicionar algumas configurações ao CUPS. Edite o arquivo cupsd.conf, localizado na pasta <em>/etc/cups/</em> (esta pasta pode variar de acordo com a distribuição que você utiliza). Você pode fazer isso ao abrir um terminal qualquer e digitar o seguinte comando: sudo gedit /etc/cups/cupsd.conf . Se você estiver em outra versão Linux que não tenha o comando sudo habilitado, digite o comando <em>su -</em> para adquirir permissões de root e em seguida digite <em>gedit /etc/cups/cupsd.conf .</em></p>
<p>Adicione as seguintes linhas no final do arquivo:</p>
<p>#Listen localhost:631<br />
Listen *:631<br />
Listen /var/run/cups/cups.sock</p>
<p>Em seguida, reinicie o CUPS com o comando <em>sudo /etc/init.d/cupsys restart</em> . Ou, somente <em>/etc/init.d/cupsys restart</em> , com as permissões de root, caso seu sistema não possua o sudo habilitado.</p>
<p>Pronto! A impressora está compartilhada na rede. Basta apenas que você a adicione  no Windows. Para fazer isso, abra o gerenciador de impressoras, localizado em Painel de controle &gt; Impressoras e aparelhos de fax. Em seguida, no menu ao lado esquerdo, selecione a opção “Adicionar uma impressora”. Clique em Avançar, e na tela seguinte, selecione a opção “Uma impressora da rede ou conectada a outro computador”.</p>
<p style="text-align:center;"><img class="nada" title="Adicionar impressora no Windows" src="http://www.baixaki.com.br/imagens/materias/2473/5982.jpg" alt="Adicionar impressora no Windows" width="421" height="328" /></p>
<p style="text-align:left;">Nesta tela, você deve inserir a seguinte linha na opção URL: http://SERVER:631/printers/PRINTER, onde SERVER é o nome do host ou IP da máquina que possui a impresso instalada e PRINTER é o nome da impressora que foi compartilhada.</p>
<p style="text-align:left;"><span style="color:#339966;"><span style="font-family:arial black,avant garde;"><span style="font-size:large;">Segundo caso: instalar impressora do Windows no Linux</span></span></span></p>
<p style="text-align:left;">Obs: antes de realizar o procedimento, lembre-se de compartilhar a impressora no Windows.</p>
<p style="text-align:left;">No caso contrário, no qual a impressora está instalada no Windows, e se deseja adicioná-la ao Linux, você deve realizar o seguinte procedimento:</p>
<p style="text-align:left;">Selecione o menu Sistema &gt; Administração &gt; Impressão. Na janela que será aberta, clique sobre o ícone de adicionar nova impressora, localizado abaixo do menu “Servidor”, e selecione a opção “Windows Printer via SAMBA”, que pode ser encontrado ao expandir o menu “Impressora de Rede”.</p>
<p style="text-align:left;"><img class="nada" title="Adicionar impressora no Linux" src="http://www.baixaki.com.br/imagens/materias/2473/5983.jpeg" alt="Adicionar impressora no Linux" width="463" height="336" /></p>
<p style="text-align:left;">No campo para digitar o endereço da impressora, digite o endereço conforme pode ser observado no exemplo abaixo do campo em branco para a inserção, ou clique no botão “Navegar” e tente encontrar a impressora ao navegar pela rede. Se for pedido um nome de usuário, utilize o nome “guest”, ou “convidado”.</p>
<p>Caso ocorra algum problema, procure alterar as opções na impressora do Windows, desmarcando a opção “Habilitar suporte bidirecional”, na aba “Portas” das propriedades da impressora no Windows.</p>
<p>Pronto! Agora você já sabe como compartilhar sua impressora com outros computadores, seja do Linux para o Windows ou do Windows para o  Linux.</p>
<p style="text-align:left;">Fonte:<a href="http://www.baixaki.com.br/info/2473-linux-como-compartilhar-impressoras-entre-linux-e-windows.htm" target="_blank">Link</a></p>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1913/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1913&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/11/05/compartilhar-impressoras-em-redes-linux-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>

		<media:content url="http://www.baixaki.com.br/imagens/materias/2473/5984.jpg" medium="image">
			<media:title type="html">Impressora compartilhada entre Windows e Linux</media:title>
		</media:content>

		<media:content url="http://www.baixaki.com.br/imagens/materias/2473/5982.jpg" medium="image">
			<media:title type="html">Adicionar impressora no Windows</media:title>
		</media:content>

		<media:content url="http://www.baixaki.com.br/imagens/materias/2473/5983.jpeg" medium="image">
			<media:title type="html">Adicionar impressora no Linux</media:title>
		</media:content>
	</item>
		<item>
		<title>Mensagens Subliminares no Doodles do GOOGLE</title>
		<link>http://3c0linux.wordpress.com/2009/10/27/mensagens-subliminares-no-doodles-do-google/</link>
		<comments>http://3c0linux.wordpress.com/2009/10/27/mensagens-subliminares-no-doodles-do-google/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 16:07:31 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1908</guid>
		<description><![CDATA[
 Já há quase um ano o GOOGLE vem inserindo discretamente um símbolo em alguns de seus Doodles comemorativos. A marca minúscula se assemelha ao Triforce da série de jogos Zelda, uma “relíquia triangular apresentada como item quase omnipotente representando as essências das Deusas Douradas” hoje também popular na rede (“newfags can’t”).A associação mais evidente [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1908&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post-body entry-content">
<div><span style="color:#c0c0c0;"><a href="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdAoOCrLUI/AAAAAAAAAQQ/9ABRlTZsMQk/s1600-h/triforce_dollar_thumb.jpg"><img style="display:block;width:204px;height:207px;text-align:center;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdAoOCrLUI/AAAAAAAAAQQ/9ABRlTZsMQk/s320/triforce_dollar_thumb.jpg" border="0" alt="" /></a></span> <span style="color:#c0c0c0;">Já há quase um ano o GOOGLE vem inserindo discretamente um símbolo em alguns de seus <a style="font-weight:bold;color:#ffffff;" href="http://googlediscovery.com/category/doodle/" target="_blank">Doodles</a> comemorativos. A marca minúscula se assemelha ao <a style="font-weight:bold;color:#ffffff;" href="http://en.wikipedia.org/wiki/Triforce#Triforce" target="_blank">Triforce</a> da série de jogos Zelda, uma “relíquia triangular apresentada como item quase omnipotente representando as essências das Deusas Douradas” hoje também popular na rede (“newfags can’t”).A associação mais evidente do Triforce é com o “<a style="color:#ffffff;" href="http://en.wikipedia.org/wiki/Eye_of_Providence" target="_blank">Olho que Tudo Vê</a>”, um símbolo hoje quase universal para a divindade, e particularmente, para a Maçonaria, embora tenha origens muito mais antigas que a ordem secreta. O Olho da Providência figura no verso do Selo dos Estados Unidos, e já há mais de meio século circula em todas as notas de dólar.</span></div>
<div><span style="color:#c0c0c0;"><a href="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdAbQrK6QI/AAAAAAAAAQI/_rkechlEsJ8/s1600-h/one_dollar_triforce_thumb+2.jpg"><img style="display:block;width:254px;height:230px;text-align:center;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdAbQrK6QI/AAAAAAAAAQI/_rkechlEsJ8/s320/one_dollar_triforce_thumb+2.jpg" border="0" alt="" /></a> Acreditando ou não em mensagens subliminares a verdade é que o GOOGLE tem colocado este símbolo nos seus doodles. Porque? Ninguém sabe. Vejam mais na <a style="color:#ffffff;" href="http://pt.wikipedia.org/wiki/Triforce">Wikipédia</a></span></div>
<div><span style="color:#c0c0c0;"> Dia da terra 2009</span></div>
<div><span style="color:#c0c0c0;"><img style="display:block;width:320px;height:98px;text-align:center;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdBTtE6G6I/AAAAAAAAAQY/zJNg335UhUI/s320/earthday1.png" border="0" alt="" /></span></div>
<div><span style="color:#c0c0c0;">Dia da terra 2008</span></div>
<div><span style="color:#c0c0c0;"><img style="display:block;width:320px;height:98px;text-align:center;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdCsmHxNeI/AAAAAAAAAQw/UbEQh-rmjgY/s320/earthday2.png" border="0" alt="" /></span></div>
<div><span style="color:#c0c0c0;">França,4 de Outubro 2008 <img style="display:block;width:320px;height:96px;text-align:center;margin:0 auto 10px;" src="http://4.bp.blogspot.com/_xyAJ3KMNFK0/SsdE4VblVlI/AAAAAAAAARA/g-LxkuAPJio/s320/france2008+3.png" border="0" alt="" /></span></div>
<div><span style="color:#c0c0c0;">Dia das bruxas 2008</span></div>
<div><span style="color:#c0c0c0;"><img style="display:block;width:320px;height:90px;text-align:center;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdFiaiDw2I/AAAAAAAAARI/9R00Apz30fY/s320/halloween2008+4.png" border="0" alt="" /></span></div>
<div><span style="color:#c0c0c0;">Christiaan Huygens, 2009</span></div>
<div><span style="color:#c0c0c0;"><img style="display:block;width:320px;height:98px;text-align:center;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdFtha103I/AAAAAAAAARQ/2_PZblNUUr8/s320/huygens+5.png" border="0" alt="" /></span></div>
<div><span style="color:#c0c0c0;">Nikola Tesla, 8 de julho de 2009</span></div>
<div><span style="color:#c0c0c0;"><img style="display:block;width:320px;height:111px;text-align:center;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdF4Pacz-I/AAAAAAAAARY/a8b14R0hgzM/s320/nikolatesla+6.png" border="0" alt="" /><br />
Ação de Graças 2008<br />
<img style="display:block;width:320px;height:93px;text-align:center;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdGKcIPScI/AAAAAAAAARg/EmvtBKJx2hw/s320/thanksgiving+8.png" border="0" alt="" />Jogos Olímpicos de Beijing, 2008</span><span style="color:#c0c0c0;"><img style="display:block;width:320px;height:101px;text-align:center;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdG-vjKftI/AAAAAAAAARo/58Auuc-3RCk/s320/olympicgames+7.png" border="0" alt="" /></span></p>
</div>
<div><span style="color:#c0c0c0;"><strong><span style="font-size:85%;"> </span></strong></span></div>
<div><span style="color:#c0c0c0;"><strong><span style="font-size:85%;">Fonte:</span></strong><a style="color:#ffffff;" href="http://blogoscoped.com/archive/2009-07-16-n41.html"><strong><span style="font-size:85%;">link</span></strong></a></span></div>
</div>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1908/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1908/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1908/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1908&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/10/27/mensagens-subliminares-no-doodles-do-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>

		<media:content url="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdAoOCrLUI/AAAAAAAAAQQ/9ABRlTZsMQk/s320/triforce_dollar_thumb.jpg" medium="image" />

		<media:content url="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdAbQrK6QI/AAAAAAAAAQI/_rkechlEsJ8/s320/one_dollar_triforce_thumb+2.jpg" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdBTtE6G6I/AAAAAAAAAQY/zJNg335UhUI/s320/earthday1.png" medium="image" />

		<media:content url="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdCsmHxNeI/AAAAAAAAAQw/UbEQh-rmjgY/s320/earthday2.png" medium="image" />

		<media:content url="http://4.bp.blogspot.com/_xyAJ3KMNFK0/SsdE4VblVlI/AAAAAAAAARA/g-LxkuAPJio/s320/france2008+3.png" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdFiaiDw2I/AAAAAAAAARI/9R00Apz30fY/s320/halloween2008+4.png" medium="image" />

		<media:content url="http://1.bp.blogspot.com/_xyAJ3KMNFK0/SsdFtha103I/AAAAAAAAARQ/2_PZblNUUr8/s320/huygens+5.png" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdF4Pacz-I/AAAAAAAAARY/a8b14R0hgzM/s320/nikolatesla+6.png" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdGKcIPScI/AAAAAAAAARg/EmvtBKJx2hw/s320/thanksgiving+8.png" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_xyAJ3KMNFK0/SsdG-vjKftI/AAAAAAAAARo/58Auuc-3RCk/s320/olympicgames+7.png" medium="image" />
	</item>
		<item>
		<title>Record Stream</title>
		<link>http://3c0linux.wordpress.com/2009/10/26/record-stream/</link>
		<comments>http://3c0linux.wordpress.com/2009/10/26/record-stream/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 15:09:41 +0000</pubDate>
		<dc:creator>3c0linux</dc:creator>
				<category><![CDATA[Arquivos, Dicas & Outros]]></category>

		<guid isPermaLink="false">http://3c0linux.wordpress.com/?p=1903</guid>
		<description><![CDATA[Primeiros temos que instalar os aplicativos.
apt-get install mimms
apt-get install mplayer
Agora vamos descobrir o link do stream.
Usei o programa chamado ngrep.

Rode o comando:
$ ngrep -l -q -t -d eth0 -i &#8216;mms://&#8217;
Deixar ele na espera, depois disso acesse o site na qual vc deseje baixar o stream
Clique na música ou video, depois que abrir vá no terminal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1903&subd=3c0linux&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Primeiros temos que instalar os aplicativos.</p>
<p>apt-get install mimms</p>
<p>apt-get install mplayer</p>
<p>Agora vamos descobrir o link do stream.</p>
<p>Usei o programa chamado <em>ngrep.<br />
</em></p>
<p>Rode o comando:</p>
<p><strong>$ ngrep -l -q -t -d eth0 -i &#8216;mms://&#8217;</strong></p>
<p>Deixar ele na espera, depois disso acesse o site na qual vc deseje baixar o stream</p>
<p>Clique na música ou video, depois que abrir vá no terminal onde digitou o comando e observe:</p>
<p>&#8220;UM MONTE DE DADOS BLÁBLÁBLÁ&#8221; -alive&#8230; &lt;ASX VERSION=&#8221;3.0&#8243;&gt;..&lt;ENTRY&gt;&lt;REF HREF=&#8221;mms://O_Site_que_VC_acessou/arquivo.asf&#8221; /&gt;&lt;/ENTRY&gt;&lt;/ASX&gt;&#8230;</p>
<p>Pronto, você tem o mms, para rodar direto no mplayer ou mimms.</p>
<p>Para escutar música ou video, utilize o comando:</p>
<p><strong>$ mplayer mms://O_Site_que_VC_acessou/arquivo.asf</strong></p>
<p>Para salvar use:</p>
<p><strong>$ mplayer </strong><strong>mms://O_Site_que_VC_acessou/arquivo.asf</strong><strong> \<br />
-dumpstream -dumpfile NOMEDAMUSICAQUEVOCEVAISALVAR.wmv</strong></p>
<p><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
</strong></p>
<p><strong>mplayer    <a style="border-bottom:1px dotted;color:#006600;text-decoration:underline;" href="http://www.vivaolinux.com.br/perguntas/verPergunta.php?codigo=50207#">mms</a>://endereco_do_stream  -dumpstream -vo copy -ao copy -dumpfile /caminhodoarquivo</strong></p>
<p><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
</strong></p>
<p><strong>mplayer mms://endereco_do_stream passwd sua_senha user login -dumpstream -vo copy -ao copy -dumpfile /caminhodoarquivo</strong></p>
<p><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
</strong></p>
<p><strong>mimms mms://endereço  arquivo_out.asf</strong></p>
<p><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
</strong></p>
<p><strong>mimms mms://endereço  /home/3c0linux/arquivo_out.mp3</strong></p>
Posted in Arquivos, Dicas &amp; Outros  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/3c0linux.wordpress.com/1903/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/3c0linux.wordpress.com/1903/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/3c0linux.wordpress.com/1903/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/3c0linux.wordpress.com/1903/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/3c0linux.wordpress.com/1903/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/3c0linux.wordpress.com/1903/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/3c0linux.wordpress.com/1903/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/3c0linux.wordpress.com/1903/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/3c0linux.wordpress.com/1903/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/3c0linux.wordpress.com/1903/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=3c0linux.wordpress.com&blog=4391668&post=1903&subd=3c0linux&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://3c0linux.wordpress.com/2009/10/26/record-stream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">3c0</media:title>
		</media:content>
	</item>
	</channel>
</rss>