Log user back in after Remote Desktop Connection
Restore console session after remote desktop disconnects?
I can't update 12.04 LTS. The Update Manager shows this:  CD/DVD 'Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)' is required Please insert the above CD/DVD into the drive '/media/cdrom/' to install software packages from it.   The image I downloaded and burned to CD is from  the PC (Intel x86) desktop CD version. I burned many CDs but the result is the same. If I type something like this:  {\itshape\LARGE   Dunt venim dolorerosto do odit   ametum vulla conum dolore   conulput in vero od el   Dunt venim dolorerosto do odit   ametum vulla conum dolore   conulput in vero od el }   it results in a block of 4 lines with narrow spacing between the 1st and 2nd line and between the 3rd and 4th line. Line spacing between the 2nd and 3rd line is normal.  I can't fully explaing it to myself so I am looking for a short description for this behaviour. I know for example that with a \par at the end of the text (inside the group), the calculation would correct. But I have no idea why... How to create a bootable USB stick? Soundness vs completeness, am I understanding? And proving soundness? "The package lists or status file could not be parsed or opened" Everytime I sudo apt-get update it always not complete and will say in the end  E: Read error - read (5: Input/output error) E: The package lists or status file could not be parsed or opened.   Same goes, when I try to install something and do sudo apt-get install &lt;some app&gt;  What should I do ? I admit, that my drive has bad sectors, could that be the reason? Is there anything else I can do? How to change material's color in blender game engine? Prefix or adjective meaning "one and a half" Is there a prefix or adjective that means "one and a half", as "tri-" or "triple" is for "three"?  The exact usage I have is to describe "18" in terms of a dozen. Where I live they've started making 18-egg cartons, and the local grocer was wondering what name to give them in his computerised cash register, hoping for a single word.  Even slang, informal or invented term would do if there isn't such a term already. Describe the set of points on the complex plane... wp_customize_image_control default value I am trying to create a custom theme using Wordpress 3.4's customization options. I would like to create an option to change the theme's logo, but I would like to also display a default logo image.   I am using the following code in my function.php page:  $defaultbranding = "get_bloginfo('template_directory') . '/images/logo.png";      $wp_customize-&gt;add_setting( 'change_branding', array(         'default' =&gt; get_bloginfo('template_directory') . '/images/logo.png',     ) );      $wp_customize-&gt;add_control( new WP_Customize_Image_Control( $wp_customize, 'change_branding', array(         'label'   =&gt; 'Image Control',         'section' =&gt; 'theme_settings',         'settings'   =&gt; 'change_branding',     ) ) );   And in the theme's header.php page:  src='&lt;?php echo get_theme_mod( 'change_branding' , 'default' ) ?&gt;'   I would like the 'default' value on the front end to be:  get_bloginfo('template_directory') . '/images/logo.png'   Is there some way I can achieve this?  Thanks in advance for any help. So I am running on Windows 7 (64-bit) Home Premium with 12 GB RAM (Intel Core i7 920).  I have restricted the Page File to 400MB since it was eating up a lot of space om my SSD (that is 80GB).   After that I sometimes get the "low memory"-warning, like this, except for the behold-comment:   When I get those warning I have usually a lot of RAM available; when I check Resource Manager I have over 2GB "Free" and over 2GB "Available" - usually more than that.  The diskspace on all my drives have over 10GB free.  So the question is - why does Windows complain? It actually restarted by computer (hard boot) when it happened, and as I said - lots or RAM available. Is there a way to check the size of the video memory? Specifically, is there one that works accurately for both integrated GPU's as well as PCI/AGP graphics cards?  Many integrated GPU's have dynamically allocated memory, so the solution would hopefully return either the maximum available video memory or the currently allocated amount. For stand-alone NVidia or ATI cards it would obviously return the total amount of physical GPU RAM.  lspci -v does output memory figures, but I do not believe it is the video memory. I suspect the figure reported is some system memory allocation or block or channel size, but I don't know for sure. You can see in these  that lspci was wrong in 5 of the 6 tests:  ** ASUS EN210 PCIe - 1024 Mb ***   01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 210] (rev a2)         Subsystem: ASUSTeK Computer Inc. Device 8354         Memory at e3000000 (32-bit, non-prefetchable) [size=16M]         Memory at d0000000 (64-bit, prefetchable) [size=256M]         Memory at e0000000 (64-bit, prefetchable) [size=32M]  *** Galaxy 8400GS PCIe - 512 Mb ***   01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)     Subsystem: nVidia Corporation Device 05cc     Region 0: Memory at e4000000 (32-bit, non-prefetchable) [size=16M]     Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]     Region 3: Memory at e2000000 (64-bit, non-prefetchable) [size=32M]  *** VirtualBox VM - 10 Mb (headless server) ***   00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter         Memory at e0000000 (32-bit, prefetchable) [size=16M]  *** VirtualBox VM - 128 Mb ***   00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter (prog-if 00 [VGA Controller])         Memory at e0000000 (32-bit, prefetchable) [size=128M]  *** S3 Savage 4 AGP - unknown Mb (old lspci log), but I don't think they made these cards with 128Mb memory! ***   00:01.0 VGA compatible controller: S3 Inc. Savage 4 (rev 06) (prog-if 00 [VGA controller])     Subsystem: IBM Unknown device 01c5     Region 0: Memory at feb80000 (32-bit, non-prefetchable) [size=512K]     Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M]  *** NVIDIA Quadro FX 1800 integrated - 1024 Mb ***   01:00.0 VGA compatible controller: nVidia Corporation GT215 [Quadro FX 1800M] (rev a2) (prog-if 00 [VGA controller])     Subsystem: Dell Device 040c     Memory at e2000000 (32-bit, non-prefetchable) [size=16M]     Memory at d0000000 (64-bit, prefetchable) [size=256M]     Memory at e0000000 (64-bit, prefetchable) [size=32M] My Custom Skin won't Change Emails Per Invocation Still Capped at 100? Are there rules for using manacles in combat? I can't quite find in the PHB or DMG how to slap manacles onto someone during combat. PHB 152 describes how to break out of mundane manacles, while DMG 165 shows how Dimensional Shackles work (they are essentially magic manacles -- use 1 action to bind an Incapacitated target).  Is there an official rule on how to use manacles in combat, or do we have to use house rules? Why is there no absolute maximum temperature? Adding coordinate system to layout in QGIS composer? How do I support scrolling and lock/freeze the header row of a pageBlockTable? "exec: gnome-session: not found" when logging in using lightdm On login the password is accepted but I'm returned to the login screen. Tried multiple times even after reboot... same behavior.  I left my laptop (Lenovo Ideapad z510) in suspend mode (lid down) last night, but it did not resume this morning, as it usually does. It had shutdown or crashed, and on booting with Ubuntu the login failure mentioned above started.  cat ~/.xsession-errors /usr/sbin/lightdm-session: 1: /usr/sbin/lightdm-session: ls: not found /usr/sbin/lightdm-session: 104: exec: gnome-session: not found   Okay. I've tried a bunch of suggestions from    Changed id to /usr/sbin/id in /etc/profile removed .Xauthority removed /tmp removed,  purged and re-installed lightdm checked .profile for syntax errors (source .profile worked fine, so I guess no syntax errors)   Nothing worked. My guest login is working fine, so another user should also work. I'm now going to create another user and continue working, but a solution to this problem is still warranted... it's likely going to repeat in future.  Installing and reconfiguring gdm also did not work.  sudo apt-get install gdm A weak converse of $AB=BA\implies e^Ae^B=e^Be^A$ from "Topics in Matrix Analysis" for matrices of algebraic numbers. It is a well known fact that if $A,B\in M_{n\times n}(\mathbb C)$ and $AB=BA$, then $e^Ae^B=e^Be^A.$  The converse does not hold. Horn and Johnson give the following example in their Topics in Matrix Analysis (page 435). Let $$A=\begin{pmatrix}0&amp;0\\0&amp;2\pi i\end{pmatrix},\qquad B=\begin{pmatrix}0&amp;1\\0&amp;2\pi i\end{pmatrix}.$$ Then $$AB=\begin{pmatrix}0&amp;0\\0&amp;-4\pi^2\end{pmatrix}\neq\begin{pmatrix}0&amp;2\pi i\\0&amp;-4\pi^2\end{pmatrix}=BA.$$ We have $$e^A=\sum_{k=0}^{\infty}\frac 1{k!}\begin{pmatrix}0&amp;0\\0&amp;2\pi i\end{pmatrix}^k=\sum_{k=0}^{\infty}\frac 1{k!}\begin{pmatrix}0^k&amp;0\\0&amp;(2\pi i)^k\end{pmatrix}=\begin{pmatrix}e^0&amp;0\\0&amp;e^{2\pi i}\end{pmatrix}=\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}.$$   For $S=\begin{pmatrix}1&amp;-\frac i{2\pi}\\0&amp;1 \end{pmatrix},$ we have $$e^B=e^{SAS^{-1}}=Se^AS^{-1}=S\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}S^{-1}=\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}.$$   Therefore, $A,B$ are such non-commuting matrices that $e^Ae^B=\begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix}=e^Be^A.$  It is clear that $\pi$ is important in this particular example. In fact, the authors say what follows.      It is known that if all entries of $A,B\in M_n$ are algebraic numbers and $n\geq 2,$ then $e^A\cdot e^B=e^B\cdot e^A$ if and only if $AB=BA.$   No proof is given. How does one go about proving that? Dihedral group - elements of order $2$ If $D_{n}$ is the Dihedral group of degree $n$ (order $2n$) where n is an odd number, can I then conclude that the numbers of elements of order 2 in $D_{n}$ is equal $n?$  I suppose there are the following types of elements in $D_{n}$: b, $a^{i}$, $a^{i}b$ for some $0\leq i &lt; n$ .