Questions tagged [restart]

the act of stopping & starting a process, or rebooting an entire PC.

462 questions
546
votes
14 answers

How do I change the hostname without a restart?

I want to change the OS hostname but I do not want to restart. I have edited /etc/hostname but it requires a restart to get implemented. How to avoid this?
Deepak Rajput
  • 6,887
  • 9
  • 29
  • 37
221
votes
20 answers

How to fix "sudo: unable to open ... Read-only file system"?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to solve it. I can SSH into the server and when trying…
John
  • 2,383
  • 2
  • 16
  • 11
175
votes
6 answers

Should I always restart the system when I see "System restart required"?

These two nice SE posts (1, 2) comment on restarting one's ubuntu machine but they leave me with a few questions: How do you actually do the restart (I'm a beginner and using 12.04.1 LTS)? Should I always restart the system when prompted to? Does…
tim peterson
  • 2,205
  • 4
  • 16
  • 11
65
votes
6 answers

Why do we need to be root in terminal for shutdown and restart?

When we install/remove/update packages or make any changes which require administrative privileges we are prompted for the password of admin user who has the sudo privileges - this happens both via GUI and terminal. However, if we try to shutdown…
Aditya
  • 13,256
  • 17
  • 64
  • 95
60
votes
3 answers

I need to restart from the root command line

I need help restarting/shutting down from the root command line, any commands I could use? I don't like hard resetting
user392681
56
votes
5 answers

Why does apt-get not require restarts, where the update manager does?

Oftentimes I try to ‘beat’ the update manager by opening a console and entering the sequence sudo apt-get update sudo apt-get upgrade which, to the best of my knowledge, should update all packages to their newest stable releases. The update manager…
Jan
  • 747
  • 1
  • 6
  • 10
51
votes
12 answers

Ubuntu 20.04 interface font too small after restart, even with high scaling factor

So I was configuring VS code on my Notebook when suddenly I noticed that my interface font got really small on my desktop, terminal and files. I use Gnome Tweaks Tool to increase my scaling factor to 1,15 , but, even though it was active, the font…
Yan Tavares
  • 675
  • 1
  • 5
  • 15
50
votes
7 answers

How do I restart a Unity session from the terminal?

The command for restarting Gnome2 is: sudo /etc/init.d/gdm restart What is the equivalent for Unity?
rjbgbo
  • 663
  • 1
  • 6
  • 8
49
votes
5 answers

Restart Only GUI Session Or Restart Only Operating System?

Is It possible In Linux to restart only gui session or os ( i m not talking about restarting pc ) back in windows 98 if u want to restart the gui session or only os u just need to hold down shift key and it will restart the your gui session or…
One Zero
  • 26,773
  • 26
  • 87
  • 109
29
votes
3 answers

How to completely restart script from inside the script itself

I'm setting up a shell script with menues and sub menues, options, etc. But on each menu/submenu/etc, i need a "Go back to main menu" choice. I've already got the menu set up and it works fine, but i need a way to simply restart the script from…
Moonbloom
  • 615
  • 1
  • 6
  • 11
29
votes
3 answers

Laptop USB ports stop working: how to restart them without restarting the PC?

Possible Duplicate: USB slots stop working suddenly from time to time The usb ports of my laptop fail for some reason from time to time. This concerns apparently mainly the external mouse and keyboard connected by usb, while connecting an…
user47206
22
votes
3 answers

How can I reload dhclient without restarting network?

I am using ubuntu 14.04 on ec2 instance, I am changing dhcp settings as part of the provisioning process, and I cant find a way to reload the dhclient. Infact, theres no way to restart network on 14.04 cloud instances. Any suggestions?
Ranjib
  • 321
  • 1
  • 2
  • 4
21
votes
1 answer

When will Wayland support restarting the shell by command?

On Xorg I found that doing ALT + F2 and then doing r would work in order to restart gnome-shell after an update, however with Wayland on Ubuntu GNOME 17.04 and GNOME 3.24 I have found that I get a message saying: Restart is not available on…
user364819
18
votes
2 answers

How to avoid "Assuming drive cache: write through" message during restart?

Does anyone know how to avoid getting this message: Assuming drive cache: write through Which is showing up after performing sudo shutdown -r now. I restarted remotely but the computer did not restart. And I can't restore my remote connection to…
ViliusK
  • 659
  • 2
  • 8
  • 16
17
votes
1 answer

Did they forget about the 'Restart' button, or was it just not important?

Seriously, from the top-right corner button, I have Logout, Suspend, Hibernate & Shutdown but shockingly no Restart. What happened to the Restart button?
Pouria
  • 247
  • 1
  • 2
  • 7
1
2 3
30 31