Recently, I tried the method in   to connect from a Windows 10 laptop to an xfce session on a workstation running Xubuntu.   After logging off that machine, when I tried to log back onto my own physical machine (in person), I was locked out of the GUI session ! Strangely, the guest xsession account was working. I could log on to tty1, and set up another temporary admin account from the command line.   I was able to login to tty7 (graphical user session) using this newly created account. From there, I was able to go to user accounts settings, and verify that my original user account still exists with all admin privileges.   I solved the immediate problem by using the method in  :   sudo rm .Xauthority sudo reboot   But this leaves me with the question of what is going on in the first place. Can anybody shed light on what just happened ?
I recently upgraded to 12.04 from 11.10 and since upgrading have been unable to log in to my user profile. The upgrade went okay and I can login to a guest session fine but whenever I try to login to my profile, after entering my password, I just return to the login screen.  I've changed my password in Root (passwd &lt;username&gt;) and can log in to tty1 with no issues, it's just in GUI I'm having problems.  I'm using a HP dv7 laptop, 32-bit Ubuntu install, Intel® Core™2 Duo CPU P7350 @ 2.00GHz × 2, Nvidia graphics.  Any help would be appreciated.
This is something that I always find a bit hard to explain to others:  Why do XML namespaces exist?  When should we use them and when should we not? What are the common pitfalls when working with namespaces in XML?   Also, how do they relate to XML schemas? Should XSD schemas always be associated with a namespace? How do I get an array of repeated characters from a string using LINQ? $p=4n+3$ never has a Decomposition into $2$ Squares, right? Primes of the form $p=4k+1\;$  have a unique decomposition as sum of squares $p=a^2+b^2$ with $0&lt;a&lt;b\;$, due to .  Is it correct to say that, primes of the form $p=4n+3$, never have a decomposition into $2$ squares, because sum of the quadratic residues $a^2+b^2$ with $a,b\in \Bbb{N}$ $$ a^2 \bmod 4 +b^2 \bmod 4 \le 2? $$  If so, are there alternate ways to prove it? How do I avoid the "S to Skip" message on boot? I have 50 servers. I manage them from a central management server on SQL Server 2014 Enterprise Edition. I don't use repository.  I could open a query and get result for each one at the same time. But I want to do it in an automated way, like a job, to collect data from each server and store/handle it locally.  Is this possible and if so, how? Viruses at this period of time do not fit the current definition of life.   Much of the reasoning behind this is that we currently believe that all life must be made up of cells.  Also, many biologist/scientists say that viruses are not living because all they are is just chemicals carrying out their predefined chemistry.   Has anyone every considered the fact that cells, the supposed building blocks of life, themselves simply only carry out predefined chemical actions? All actions cells carry out are chemically driven, not consciously or spiritually driven. Cells do not make choices, they follow chemical directions present in their DNA and RNA. Viruses act very similarly, following the action transcribed in their DNA or RNA.   How can we really even draw a defined line of what life is? How do I automatically restart docky after a crash? I wish to select areas of a mesh, but it would be much simpler to just select the ones I don't want selected (because they are easier to access), and then inverse the selection.  Is this possible? Help with Spivak Calculus Ch3 Problem 6a Yet again I find myself stuck on a Spivak question. This time it is simply the question that isn't clear to me. It states:  If $x_1, ..., x_n$ are distinct numbers, find a polynomial function $f_i$, of degree $n-1$ which is 1 at $x_i$ and 0 at $x_j$ for $j\neq i$. Hint: the product of all $(x-x_j)$ for $j\neq i$, is 0 at $x_j$ if $j\neq i$. This product is usually denoted by: $$\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x-x_j)$$  To be honest I don't know where to begin. I understand how to create a polynomial equation for a given set of results but this is quite strange. I'm not sure exactly what the author is expecting.  The answer book shows:  $$f_i(x)={\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x-x_j)}/{\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x_i-x_j)}$$  Which I have expanded out just fine but don't know what to do with. Returning multiple values from a C++ function I've just returned from several unusual countries in Asia, and annoyingly despite being told I'd have no problem, I'm unable to find anyone in London to change back to pounds.  I've tried Travelex in Heathrow, a currency exchange place, and the post office.  The currencies include cash from: Mongolia, Kyrgyzstan, Kazakhstan and Uzbekistan.  Most of the responses when shown the money is to the tone of "What the hell currency is this?" which doesn't fill me with confidence.  Any suggestions welcomed for places that may change this. Otherwise I may need to go back next year ;) True Ubuntu on Chromebook ARM I have installed Ubuntu 13.04 on my desktop (runs like a charm). Then I used Crouton to install Ubuntu 12. 04 on my chromebook samsung (ARM). It also works quite well.  Here comes my question. Can we have a true Ubuntu (preferably 13.04) on my ARM chromebook?  It seems that the Crouton/Ubuntu is not 100% the real thing.  The best option would be to have the full Ubuntu 13.04 and remove the Chrome OS. Are there any rules related to the creation of a ?   I am aware of the creation method for the amulet. But I'm asking about creating the actual construct. In proof by induction, what does it mean when condition for inductive step is lesser than the propsition itself? My question is regarding the question posed at the end of the proof.  My answer is that the result does not hold for all $m \ge 7$ because when $m=7$, the result is $343 \le 128$, which is false.  Is there another way to answer this sort of question besides directly trying different values until you get a false result?  EDIT:  Another question I have regarding this solution is:  In the proof for the inductive step, we start by assuming $k \ge 10$. But along the way, the author mentions $k \ge 1$ and $k \ge 7$ to justify the inequality.  Why do we bother to do this instead of just sticking with $k \ge 10$? Correct spelling of "program" Why can't I change directories using "cd" in a script? I'm trying to write a small script to change the current directory to my project directory:  #!/bin/bash cd /home/tree/projects/java   I saved this file as proj, added execute permission with chmod, and copied it to /usr/bin. When I call it by: proj, it does nothing. What am I doing wrong? How do I call functions loaded from a Static Resource JavaScript file? I'd like to put some shared Javascript to Resource file to reuse it between several components. This Javascript is general purpose set of utility functions. However, functions from my resource file are not available from the Components. Static resource (named TestScript):  function helloWorld() {      return 42; }   Component:  &lt;ltng:require scripts="{!$Resource.TestScript}" &lt;ui:button label="Do job" press="{!c.doJob}"/&gt;   Controller:  doJob: function(cmp, event, helper) {      var i = helloWorld();      // failed with Uncaught ReferenceError: helloWorld is not defined }   I don't like to use  &lt;ltng:require scripts="{!$Resource.***resourceName***}" afterScriptsLoaded="{!c.afterScriptsLoaded}" /&gt;   because my static resource is a set of functions and I'd like just use them as functions later in my controllers. How can I achieve that (if possible)? If not, what's the suggested solution? I was trying to think but cannot figure it out. For instance, if the interaction is small, for instance limited to a windows, the observers in each universe will see that the other goes in reverse. But what if they can start a more meaningful interaction? (for instance, if one observer crosses the window and moves to the other universe, will anything change? why and how fast? (at least at the beginning his thinking will move in the same time arrow than in his universe, but the physical processes around him will still violate the second law? Can you contract the main verb '[I] have' in a sentence? Why is looping over find's output bad practice?