My usecase: User opertes on Server1 station. He can use ssh or whatever to connect with Remote Station and start some application on it and display it on his station (Server1). Now user has to change his place and operate on Server2. I know that he can start new instance of application and display it on Server2. But I want to dispaly the same running instane of application on Server2. Is it possible? How to do that?
I'm using X11 forwarding over ssh to run Linux apps on my Windows box, and when the network drops it loses everything that was running. Is there anything similar to screen for X11?
How to restart X Window Server from command line? How can I restart X Window Server from the command line?  I'd really like to be able to restart my GUI without having to do a full system reboot. Usage in sentence:  Person A: Ooh - look at that crow!  Person B: Well, actually, as someone who is a scientist who studies crows, I am telling you, specifically, in science, no one calls jackdaws crows. They're not the same thing. If you're saying "crow family" you're referring to the taxonomic grouping of Corvidae, which includes things from nutcrackers to blue jays to ravens. It's not one or the other, that's not how taxonomy works.  Person A: Are you always such an XXX?   "Pedant" is close, but not quite.  It would be a mix of "know-it-all", "condescending" and "arrogant". Why does inductor current lag the applied voltage at its terminal by 90 degrees? I studied electromagnetism and I am currently working with Inductors.  I could not figure out the physical reason based on electromagnetics on why inductor current lags the applied voltage by 90 degrees?  Everywhere I find the Formula as the starting point of explanation which is partially satisfying.    Induced EMF =L di(t)/dt    From the above equation, I understood that when there is a change in current there will EMF induced in the coil terminals. But How this induced EMF makes the current to lag the supply voltage V(t) = Vm*sin(wt)? (Please don't just differentiate and say there is a lag, I am looking for a physical sense on why this happens)  Lets us consider the AC voltage is applied across the terminal at time t=0; At this time there is almost no current. From this transient state how the steady-state is reached where the current is delayed with respect to the voltage?  Can someone help me to figure out why the current lags the Supplied voltage by using electromagnetism, the motion of Charges or any other basic concepts? Configuring auto-completion with TeXstudio TeXstudio does a pretty good job with autocompletion. For example, when I type \eqref{, it already comes with suggestions, see the example below.    However, suppose that I don't want to use \eqref but a customized command using newcommand (I do this so that I can quickly switch to different styles, e.g., some for journals/conferences "Eq. (1)" is needed, whereas sometimes "(1)" suffices). In this case, TeXstudio does not do the auto-completion, see the example below.    Is it possible to configure TeXstudio such that it does the auto-completion for custom commands that require a reference?  Note that one option is to redefine \eqref using \renewcommand, but I'm looking for another way so that I can use if for many more commands, not just for \eqref.   Here is my MWE:  \documentclass{article} \usepackage{amsmath}  \newcommand{\alternative}[1]{Eq.~(\ref{#1})}  \begin{document}     \begin{equation}         \label{eq:emc2}         E = mc^2     \end{equation}     I can refer to the equation using \eqref{eq:emc2} and using \alternative{eq:emc2}. \end{document} What will reduce my rendertime? What would reduce the render time? Should I get a better GPU or more RAM? So I found this on the Wolfram website today:     So I was wondering about how one might be able to (if possible) solve those four problems by hand. Here are the problems, $\LaTeX$ed:    $ \lim_{x \to +\infty} \dfrac {\sqrt{x^3-x^2+3x}}{\sqrt{x^3}-\sqrt{x^2}+\sqrt{3x}} $ $ \displaystyle\sum_{k=1}^{\infty} \dfrac {(-1)^{k+1} k^2}{k^3+1} $  $ \dfrac {\mathrm{d}}{\mathrm{d}u} \left[ \dfrac {u^{n+1}}{(n+1)^2} \cdot \left[ (n+1) \ln u - 1 \right] \right] $  $ \displaystyle\int_0^{2\pi}\displaystyle\int_0^{\frac{\pi}{4}}\displaystyle\int_0^4 \left( \rho \cos \phi \right) \rho^2 \sin \phi \, \mathrm{d}\rho \mathrm{d}\phi \mathrm{d}\theta$     Ideas   The degree of the numerator is $\frac{3}{2}$. The degree of the denominator is $\frac{3}{2}$. The expression is of an indeterminate form, namely $\frac{\infty}{\infty}$, so we use l'Hoptial's Rule.  No ideas, really.  Derivatives are always pretty easy, although this one is a bit bashy. Basically bash Product and Chain Rules, etc.  Integration by Parts bash? The $\mathrm{d}\theta$ part is very trivial. I mean for the $\rho$ and $\phi$. Why couldn't River Song's memories bring back The Doctor in the rebooted universe? In the season 5 finale of Doctor Who, in the wedding ceremony of Amy, River Song showed up outside the door. Moments later, we discovered that she gifted Amy her blank diary which was supposed to contain information about The Doctor. It means River Song remembered The Doctor.  Memories of The Doctor was able to bring The Doctor back to existence in the rebooted Spacetime. Why couldn't River Song's memories work? I have put his on wolfram and obtained answer as follows:  $\sum_{n=1}^{\infty}\frac{n}{2^n} = 2$  And the series is convergent too because $\lim_{n\to\infty} \frac {n}{2^n} = 0$  However I am wondering if there is a convenient way to solve this; I don't think you can represent it by a geometric progression either. So how do we have to do it on paper? Difference between "git add -A" and "git add ." The command git add [--all|-A] appears to be identical to git add .. Is this correct? If not, how do they differ? If photons have no mass, how can they have momentum? As an explanation of why a large gravitational field (such as a black hole) can bend light, I have heard that light has momentum. This is given as a solution to the problem of only massive objects being affected by gravity. However, momentum is the product of mass and velocity, so, by this definition, massless photons cannot have momentum.  How can photons have momentum?   How is this momentum defined (equations)? Center figure that is wider than \textwidth I have a figure that is wider than the \textwidth of my document. (I don't want to change the \textwidth.) As a result, the leftmost part of the figure is flush with the left margin, while the rightmost part spills into the right margin too much. I'd like to center the figure, so that it will exceed the \textwidth equally on both sides. Has the concept of non-integer $(n+m)$-dimensional spacetime ever been investigated by theoretical physicists? The following image serves to aid the reader in understanding the "privileged character" of $3+1$-spacetime.    The wikipedia article on , and the  "The priveleged character of $3+1$-dimensional spacetime" in particular, made me think a bit about the possibility that we might live in a non-integer amount of spatial and/or time dimensions.   The notion of attaching a non-negative real number to a metric space has at least mathematically already been described by such concepts as "" and "".   This may sound silly/ignorant/absurd to professional practicing theoretical physicists. To me (a layman), however, it doesn't sound much stranger than the idea of wrapping up six extra dimensions (which is, from what I understand, considered to be a serious possibility by those who study $10$-dimensional String Theory) into intricate shapes called "Calabi-Yau Manifolds".   Has any research on $(a +b)$-dimensional spacetime (where $a,b \in \mathbb{R}_{\geq 0} $) ever been done? If so, what where the findings? If not, why not? mixed declarations and codes How to insert a very large number of records into a MySql database as fast as possible What are the downsides of removing ubuntu-desktop metapackage? I once advised someone to remove a package that depends on ubuntu-desktop meta-package, if she didn't need it (EG: if one uses a different editor than gedit). Someone else said that doing so (removing gedit which will in turn remove ubuntu-desktop) could break things. Is this true? Are there any other potential problems? Measuring accuracy of latitude and longitude? Can I use a Regex in an XPath expression? Something like .//div[@id='foo\d+] to capture div tags with id='foo123'.  I'm using .NET, if that matters. How tall is Supreme Leader Snoke? In Star Wars: The Force Awakens, we see Supreme Leader Snoke a few times dispensing orders to his subordinates.      However, we always see him communicating via hologram, and we've seen in previous Star Wars films that these holograms are often projected at a different size than the original person is.   So how tall is he really?  I don't think we ever got a good shot of him with something to give a sense of scale. Why is removing instationarities a good thing when trying to forecast a time series? Home screen icon for terminal program? I'm using terminal-ide  which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to create an icon on the home screen that will launch one of these scripts?