Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A GUI apps stop working until next boot after some system upgrades

Typically it is recommended to reboot your machine after a kernel update (because of the issues you mentioned). If you really do not want to reboot, there is a workaround by means of the kexec sys...

posted 1y ago by mr Tsjolder‭  ·  edited 1y ago by mr Tsjolder‭

Answer
#2: Post edited by user avatar mr Tsjolder‭ · 2023-08-06T07:14:23Z (over 1 year ago)
add pointer for nvidia cards
  • Typically it is [recommended](https://wiki.archlinux.org/title/System_maintenance#Restart_or_reboot_after_upgrades) to reboot your machine after a kernel update (because of the issues you mentioned).
  • If you really do not want to reboot, there is a workaround by means of the [`kexec`](https://wiki.archlinux.org/title/Kexec) system call.
  • I have never tried it myself, but after installing the [kexec-tools](https://archlinux.org/packages/extra/x86_64/kexec-tools/) package, you should be able to load the updated kernel as follows:
  • ```bash
  • # systemctl kexec
  • ```
  • This practically reboots the system but skips any hardware or firmware checks (and possibly some other early boot processes).
  • Typically it is [recommended](https://wiki.archlinux.org/title/System_maintenance#Restart_or_reboot_after_upgrades) to reboot your machine after a kernel update (because of the issues you mentioned).
  • If you really do not want to reboot, there is a workaround by means of the [`kexec`](https://wiki.archlinux.org/title/Kexec) system call.
  • I have never tried it myself, but after installing the [kexec-tools](https://archlinux.org/packages/extra/x86_64/kexec-tools/) package, you should be able to load the updated kernel as follows:
  • ```bash
  • # systemctl kexec
  • ```
  • This practically reboots the system but skips any hardware or firmware checks (and possibly some other early boot processes).
  • **Edit:** as pointed out by dsr in the comments: you probably want to check out the [troubleshooting section](https://wiki.archlinux.org/title/Kexec#No_kernel_mode-setting_(Nvidia)) to make things work neatly with Nvidia drivers.
#1: Initial revision by user avatar mr Tsjolder‭ · 2023-08-04T13:25:14Z (over 1 year ago)
Typically it is [recommended](https://wiki.archlinux.org/title/System_maintenance#Restart_or_reboot_after_upgrades) to reboot your machine after a kernel update (because of the issues you mentioned).

If you really do not want to reboot, there is a workaround by means of the [`kexec`](https://wiki.archlinux.org/title/Kexec) system call.
I have never tried it myself, but after installing the [kexec-tools](https://archlinux.org/packages/extra/x86_64/kexec-tools/) package, you should be able to load the updated kernel as follows:

```bash
# systemctl kexec
```

This practically reboots the system but skips any hardware or firmware checks (and possibly some other early boot processes).