I have a problem with my installation of Ubuntu. I installed it fresh using a live USB stick to another USB stick with fast boot and secure boot disabled.  I'm using an Asus Zenbook UX562F with an integrated GTX 1050 Max-Q. After the installation, I installed Nvidia-390 and updated the kernel with ukuu to 4.20.17 to fix no sound issue.  After the reboot, everything went well and I did:  apt-get update apt-get upgrade + J   All was done well, so I restarted and on the next boot after selecting Ubuntu in GRUB it gave me a long black screen (violet screen) where nothing changes after so much time.  I tried to add nomodeset and noveau.modeset=0 single and together but didn't help so I don't know what to do.  Edit:  I had a random lucky boot but was not able to repeat it. (Just to add this Information.)  Trying the solutions on  didn't work for me.  I tried purging nvidia and install old driver nvidia-375 but still no boot.  I also installed Ubuntu on my internal SSD where I ran into the same issue: -booting after installation - works -booting after upgrading the kernel to 5.1.4 - works -booting after dist-upgrade - get stuck after grub  Lucky boots were reproducable but rare so TTY solutions are possible to apply  Starting with nomodeset and noveaus.modeset=0 is also not possible what makes me think it's not an nvidia issue  Edit:    When I got a lucky boot some error messages I have taken a picture of them:
in my earlier question you can find at:   i describe my error:     I'm using an Asus Zenbook UX562F with an integrated GTX 1050 Max-Q.   After the installation, I installed Nvidia-390 and updated the kernel   with ukuu to 4.20.17 to fix no sound issue.      After the reboot, everything went well and I did:      apt-get update apt-get upgrade + J      All was done well, so I restarted and on the next boot after selecting   Ubuntu in GRUB it gave me a long black screen (violet screen) where   nothing changes after so much time.      I tried to add nomodeset and noveau.modeset=0 single and together but   didn't help so I don't know what to do.   After investigating deeper by installing packages and try to boot i found out that the package which is causing the error is:  intel-microcode   when i purge and block this package with:  sudo apt-get purge intel-microcode sudo apt-mark hold intel-microcode   before upgrading wuth  sudo apt-get upgrade   my system is able to boot normal.  The problem i see is that as i understand it the package protects my intel cpu  Intel® Core™ i7 8565U 1.8 GHz   is vulnearable to meltdown attacks which get fixed by the package.  What can i do to fix the vulnearbility and also get my system to a bootable state?  Thanks for your help Vimu  Edit: I used the manual update technique mentioned at (in german):    and i used the files from the intel github repo:    with the following code mentioned in the tutorial to update the firmware microcode files  sudo cp intel-ucode/06-8e-09 /lib/firmware/intel-ucode/ echo 1 | sudo tee /sys/devices/system/cpu/microcode/reload   i overwrote the old microcode firmware with the newest available on the intel repo  it leada to a bootable system  will this be the best possible fix without upgrading the intel-microcode package provided by apt?
I'm trying some things with my shell. This includes the following command:  kill $$  My expectation was that the shell would log me out and terminate itself. But instead the bash persists without change.   Any idea why?  I ran this command on different environments (archlinux, debian). The behavior was always the same. Objective: To separate text column from figures column in every page I don't know if this has been asked before. But so far nothing has come up with my search.  In some books, the figures are placed at the outer side of the page like in the picture below.    Is this achievable in TeX/LaTeX? That is how does one set up the page so that all text will appear in a 'text column' and the figures appear in a 'figures column' in every page? For example: man(1), find(3), updatedb(2)?   What do the numbers in parentheses (Brit. "brackets") mean? What is a "year" in Westeros? How do I prevent yum from updating a particular RPM? For certain reasons I have to keep a slightly older version of a particular RPM installed on my box (Fedora 11). The problem is that every time I do a package update yum (or one of its GUI equivalents) wants to update this RPM to the latest version, which is annoying - especially when I update it by mistake.  Is there a way to 'pin' this version so that yum knows to never try and update it? How can I transfer large files from Linux to iPad over a cable or wifi? I am looking for a way to transfer large files to the iPad without using iTunes or pushing to and pulling from a remote server.  I run an Ubuntu laptop as my only OS at the moment and want to be able to transfer movies to my iPad.  I currently transfer most of my files by way of the dropbox app which works well for small files but is quite slow for larger files and eats up my bandwidth.  Ideally I'd like to be able to transfer over a cable or through WiFi.  Thanks for any tips. Problems with FOUC Getting an "Authentication token manipulation" error when trying to change my user password I am logging in to my Ubuntu Server using my username. Once I am logged in I am typing passwd command. Entering a new password but a second after getting following error messages:  passwd: Authentication token manipulation error passwd: password unchanged   What is wrong here? How can I change my password otherwise if I don't have access to that server physically, i.e. I am connecting remotely with ssh using terminal. What does the notation $S^n$ mean? I see this notation a lot, but I can't seem to find an answer in my google searches. In particular I am looking at the question      Let $\alpha:S^n\rightarrow S^n$ be the antipodal map. Prove that $n$ is odd, then $\alpha\simeq \operatorname{id}.$    If it is an arbitrary symmetric group, then I understand, but I have seen $S^1$ be used for the circle. Why is BigDecimal returning a weird value? How to prove this for positive real numbers? $$a+b+c\leq\frac{a^3}{bc}+\frac{b^3}{ca}+\frac{c^3}{ab}$$  I tried AM-GM, CS inequality but all failed. How do I get a thread ID from an arbitrary pthread_t? I have a pthread_t, and I'd like to change its CPU affinity. The problem is that I'm using glibc 2.3.2, which doesn't have . That's OK, though, because pthread_setaffinity_np() is itself a wrapper of , which can be called by passing a thread ID instead of a process ID to set the affinity for an arbitrary thread.  BUT ... The thread id that sched_setaffinity can work with is an OS thread id, the kind that you can get from the  system call. This is different from the opaque type pthread_t, and gettid() will only return the thread-id of the current thread. I need to be able to set the CPU affinity of an arbitrary thread.  Unfortunately, I can't access the pthread's private parts, which would let me steal the thread id by casting a pthread_t to a struct pthread *. All the better, I guess, since relying on private implementations is asking for even more trouble.  I've also been reading up on the  function, however this returns a "unique integral identifier" -- which I don't believe is in any way shape or form equivalent to an OS thread id.  Hence, the question: How can I get a thread ID from an arbitrary pthread_t? Handling large numbers in C++? What is the best way to handle large numeric inputs in C++ (for example 10^100)?   For algorithms I usually switch over to ruby and I sometimes use strings.  Any other good methods? Proof by induction on a rooted tree with even number of vertices Let $T = (V, E)$ be a rooted tree with an even number of vertices. Prove by induction that there exists a set of edges $S \subseteq E$ such that every $v \in V$ is incident with an odd number of edges in $S$.  I was wondering if my argument is sufficient to prove the statement above:  Base case: $|V|=2$, there is only 1 edge and both vertices are incident with 1 edge $-&gt;$ $S \subseteq E$.  Inductive step:  Let $|V|&gt;2$, implying that $T$ has at least 2 external vertices. Let us choose two arbitrary external vertices $w,u \in V$. Such vertices are only incident to 1 edge each, $e_w$ and $e_u$. We can say that $e_w,e_u \in S$.   By induction, there exists a set $S$ in $T'=T-\{w,u\}=(V',E')$ such that every $v \in V'$ is incident with an odd number of edges in $S$ because removing 2 vertices from a tree with an even number of vertices maintains the property $|V|=2n$. Past participle after noun: "proposed cost" vs. "cost proposed" I have the following two examples:        Our proposed cost is expensive.   Our cost proposed is expensive.      Is there any difference between them? Or is the second sentence wrong? Norm $N$ on $\Bbb Z[\sqrt d]$ is multiplicative, $N(x)$ prime $\Rightarrow x$ irreducible Is the sorting algorithm used by .NET's `Array.Sort()` method a stable algorithm? Positive series problem: $\sum\limits_{n\geq1}a_n=+\infty$ implies $\sum_{n\geq1}\frac{a_n}{1+a_n}=+\infty$ GNOME 3.26 - Clicking one window brings another in the foreground (Ubuntu 17.10) I'm on Ubuntu 17.10 with GNOME 3.26.  Often I have windows tiled on the left and right side of the screen. A typical setup is to have a browser and text editor on the left, a PDF reader and terminal on the right.  Something I've seen happen very often: I'm reading the PDF on the right, having the window in focus. The text editor on the left. When I click on the text editor to write something, it brings forward another window on the right (say the file browser), covering the PDF reader.  This seems to have something to do with the Alt-Tab view history.  My question is: Is it possible to remove the automatic bring-to-front of windows? I don't understand why unrelated windows are brought to the front when I click on another application. Can you help me with my software dependency issue? This is a  about Compile Dependencies and Package Management.    I have a question regarding compiling ports/software or installing RPMs on my *nix server.  When I try to do this I receive lots of messages about missing dependencies.  Can the Server Fault community please help?