I use Ubuntu 20.04. Budgie desktop + Plasma + Pantheon. I am stuck in login loop. Have dual -boot. Windows and Ubuntu. Recently, suddenly i got login loop. Tried everything on internet, nothing worked. Actually i tried installing Xubuntu it worked. But no background in Xubuntu. All apps DID NOT WORK. Problem with graphics maybe. And budgie, plasma and pantheon still not working. Now Xubuntu also not working......Still in login loop..... PLEASE HELP! I tried reinstalling. That also did not help. I tried playing with .Xauthority and .ICEauthority and everything else.I mean chowning and trying removing them. Didn't help. I remember it happened after a windows update.(A small one). Sometimes i try to use startx. But it sometimes says [xinit:connection to x server lost]. This is new issue than others. SO i need help.
My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.   I've read that the problem might be caused by an error depending on the graphics, here's my graphics card: ATI Radeon 7670M
Let $$S=\sum_{n=1}^{\infty}x^{n^2}, \quad|x|&lt;1.$$  It is convergent and the sum is definitely less than $1/(1-x).$   Is there any closed form for $S$ ? A specific file on our production servers is being modified at apparently random times which do not appear to correlate with any log activity.  We can't figure out what program is doing it, and there are many suspects.  How can I find the culprit?  It is always the same file, at the same path, but on different servers and at different times.  The boxes are managed by , but the puppet logs show no activity at the time the file is modified.  What kernel hook, tool, or technique could help us find what process is modifying this file?    lsof is unsuitible for this, because the file is being opened, modified and closed very quickly.  Any solution that relies upon polling (such as running lsof often) is no good.      OS: Debian testing Kernels: Linux, 2.6.32 through 3.9, both 32 and 64-bit. I have    iPhone 5 (with iOS 8.3) MacBook Pro Early 2013 (with OS X Yosemite 10.10.3) iPad Air (with iOS 8.3)   My iPhone is paired with the MacBook, so e.g when my phone rings, I can see it in my computer. But when I want to AirDrop photos from my iPhone the MacBook, then I can't see the MacBook in my iPhone AirDrop targets.  I can see the iPad, I can see my wife's iPhone, but not the MacBook.  On MacBook, I can see the iPad, my wife's phone and even my iPhone and I can drop to there, but not the other way around.  Before I started troubleshooting, the iPhone and MacBook were mutually invisible (I only saw iPad from both). After a while of trying things and sending files back and forth, my MacBook started to see the iPhone, but I did not manage to make it work from the other way. Still, the iPhone seems to be much "less" visible than the iPad - which I see almost instantly and always, the iPhone only seems to appear after a while.  Just to make it clear:   both iPhone and MBP have BT turned on both have AirDrop visibility set to Everyone   I would be glad for any suggestions to fix this - what settings to check, logs, whatever. Same mesh with different colors I'm getting a PC with Windows and I want to dual boot using Ubuntu as my primary OS.  I want to create a Home partition to store all my files and hopefully be able to access them on Windows 7 without having to manually mount the partition or anything.  I want to know what kind of partition should I create and if I can share my Home partition to simplify matters.  Thanks Some say that we can connect two points with a continuous curve and a small contractible neighborhood of the path together with the charts of the points can be regarded as the chart. But I don't know how to verify this statement. How can I make a script (or make some changes) to allow me to turn the screen off in Ubuntu (12.04) whenever I want, the way thevscreen can be turned off in Cellphones?  And how can I make a combination of keys (a shortcut) to execute that script?  I want to conserve power.  I've seen this question    but there is no hotkey for it.  Moreover, in the answer, it is said that there are many ways to accomplish this so I'd like to know more. How to download Ubuntu over an unreliable connection What is the name of the operation $v^T H v$? To find out how something is called is the one thing I don't know how to use Google for.  If I have a vector $v$ and a symmetric matrix $H$, then the operation $v^T H v$ gives me some sort of projection of the matrix $H$ on the vector $v$. For example if $H$ is the Hessian, the operation gives me the second derivative in the direction of $v$.  What is the name of this operation? For one of the clients, I have spin up a modern communication site collection and on the landing page of the same, I am seeing 'Get the mobile app' showing up, I was able to hide the 'feedback' button using css but no luck with Get the mobile app button.  Can someone please share css to hide 'get mobile app' button, appreciate the help. In this sentence:  "We would also accept an international transfer, but in that case we would ask you to pay your bank's charges at the time of the instruction to ensure that we received the full amount"  is it correct to use "received" or should it be in present tense? Changing URLs in Google's Index I recently submitted a sitemap.xml in Google's Webmaster Tools and some of the pages already got indexed. The problem now is, that I cleaned my URLs with MOD_REWRITE in the .htaccess file afterwards and I would like the new ones to be indexed. The old ones should be removed from the Google Index.  Indexed Page:  www.example.com/article.php?=article=this%is%an%example   New URL:  www.example.com/article-this-is-an-example   Do I even have to remove them manually from the index in any way or do they refresh if Google crawls my new sitemap? I really wan't to prevent duplicate content.  Thanks in advance. How do you sort du output by size? How do you sort du -sh /dir/* by size? I read one site that said use | sort -n but that's obviously not right. Here's an example that is wrong.  [~]# du -sh /var/* | sort -n 0       /var/mail 1.2M    /var/www 1.8M    /var/tmp 1.9G    /var/named 2.9M    /var/run 4.1G    /var/log 8.0K    /var/account 8.0K    /var/crash 8.0K    /var/cvs 8.0K    /var/games 8.0K    /var/local 8.0K    /var/nis 8.0K    /var/opt 8.0K    /var/preserve 8.0K    /var/racoon 12K     /var/aquota.user 12K     /var/portsentry 16K     /var/ftp 16K     /var/quota.user 20K     /var/yp 24K     /var/db 28K     /var/empty 32K     /var/lock 84K     /var/profiles 224M    /var/netenberg 235M    /var/cpanel 245M    /var/cache 620M    /var/lib 748K    /var/spool How can I view all of the flights between two cities across all dates? I believe that the standard routes of carriers between two semi-major US cities always maintain the same route number (e.g. UA3271), and day of the week. I'm looking at planning travel for an interview, so dates are [currently] quite flexible (as in at least one month's range). Since that's the case, there are other constraints that go into my choice of flights. One would be the option to fly out of my home city, land in the interview location, conduct the interview, and fly out in the same day. I figure: if I can view the schedule for flights (i.e. routes) between the two cities, I can make an educated request for days of travel. Yes, I could likely work with the interview scheduler (and I will), but I'd like to be proactive in suggesting some dates to achieve my goal, as well as learn this skill for myself in the future. Thus:  Where can I view the daily routes and times for flights between two cities, on whatever rotating basis (e.g. day of the week) they may be on? Solving an equation over the reals: $ x^3 + 1 = 2\sqrt[3]{{2x - 1}}$ OEM license activation for Windows 10 Home VirtualBox guest, on Ubuntu host Context Three years ago my company got me a Lenovo T550 with Windows 10 Home installed on it (my understanding is that this is called &quot;OEM&quot;). I immediately erased everything to install Ubuntu on it. Unfortunately from now on I will need to use Windows 10 a few times a week for legacy reasons, but my main work is still on Ubuntu, so I am thinking of running Windows 10 within VirtualBox within Ubuntu. Lenovo recommendation Lenovo told me that my Windows Home license is somehow linked to my hardware (firmware?) and that Windows will automatically find this out. They pointed me to :  The installation of Microsoft Windows Server 2008,2008 R2 SP1, 2012, and 2012 R2 from Lenovo OEM media to such a virtual machine will fail until the virtual BIOS has been updated to include this information. setVMBIOS.exe performs this function for servers using Microsoft Hyper-V technology. Consult your hypervisor vendor for information on how to perform this function on other hypervisors. [...] The fix resolves this issue by adding Lenovo information to the virtual BIOS.  Note: That page does not mention Windows 10 Home, but I guess the same applies? VirtualBox How to apply Lenovo's recommendation to VirtualBox? (5.2.18) Right now I have out-of-the-box VirtualBox and the VM I created yesterday with standard settings does not activate:   Windows is not activated. Windows reported that no product key was found on your device. Error code: 0xC004F213 I've asked this question towards a developer for Minecraft and I thought I'd ask here too since they might not see the question.  How do I select all but two types of entities in Minecraft?  For example, something like: /say @e[type=![Player,Item],r=50] (to clarify I also tried type=Item,Player, type=Item,type=Player etc)  Should select any entity that does not match players or items, so things like Creepers, Ghasts, XPOrbs, PrimedTNT and so on within a radius of 50 blocks and print them to the chat.  Instead it ignores one of the flags, and works with the other instead. Can I access private members from outside the class without using friends? Disclaimer Yes, I am fully aware that what I am asking about is totally stupid and that anyone who would wish to try such a thing in production code should be fired and/or shot.  I'm mainly looking to see if can be done. Now that that's out of the way, is there any way to access private class members in C++ from outside the class?  For example, is there any way to do this with pointer offsets? (Naive and otherwise non-production-ready techniques welcome) Update As noted in the comments, I asked this question because I wanted to write a blog post on over-encapsulation (and how it affects TDD).  I wanted to see if there was a way to say &quot;using private variables isn't a 100% reliable way to enforce encapsulation, even in C++.&quot;  At the end, I decided to focus more on how to solve the problem rather than why it's a problem, so I didn't feature some of the stuff brought up here as prominently as I had planned, but I still left a link. At any rate, if anyone's interested in how it came out, here it is:   (I suggest reading it before you decide that I'm crazy). Computational complexity of Fibonacci Sequence I understand Big-O notation, but I don't know how to calculate it for many functions. In particular, I've been trying to figure out the computational complexity of the naive version of the Fibonacci sequence:  int Fibonacci(int n) {     if (n &lt;= 1)         return n;     else         return Fibonacci(n - 1) + Fibonacci(n - 2); }   What is the computational complexity of the Fibonacci sequence and how is it calculated? What is the use of a persistence layer in any application?