Cannot write command lines when stopping X (GNOME)

Asked by Joda

When I use the command line "sudo /etc/init.d/gdm stop" and the X server stops, I am not able to write commands. All I get is the last bit of the boot-up information and an empty line. I've tried writing "login", "logout", "sudo /etc/init.d/gdm start" and what other commands I could think of to make the terminal react, but it just makes a new line with the marker at the same place. However it worked once, when I used the "sudo init 1" command, but I need to install the Nvidia driver and it says init level 3 is required. Why am I not able to make my terminal respond to commands, with the X-server closed?

Thanks on advance

Regards
Jonas

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Dmitry Mityugov
Solved:
Last query:
Last reply:
Revision history for this message
Dmitry Mityugov (dmitry-mityugov) said :
#1

Hello Jonas,

Does it matter what console you use for that? I mean, if you switch to another console with Alt-Fn combination, for example with Alt-F2 or Alt-F3, can you enter anything?

In addition, where do issue this "sudo /etc/init.d/gdm stop" command, from a Gnome terminal, or from the text console?

Revision history for this message
Joda (joda-sfu) said :
#2

I admit, I'm a total noob at Linux, and the way it works (especially Ubuntu), but I'll try to answer the best I can.

If I write "sudo /etc/init.d/gdm stop" in the "Run a command line"-window (alt+f2) nothing happens. This and the Gnome terminal are the only two I can find. I thought that the Gnome Terminal was the text console.

I write it from the Gnome Terminal, I think. It's the terminal from which I entered this program specific help-forum (Help-Get help online).

Hope that was enough?

Revision history for this message
Best Dmitry Mityugov (dmitry-mityugov) said :
#3

Try to switch into a teal console with Alt-Ctrl-F1, log in, and enter your commands there. 6 consoles are typically available, you can switch between them with Alt-F1 ... Alt-F6. To return to your Gnome screen, press Alt-F7.

Revision history for this message
Joda (joda-sfu) said :
#4

Thanks Dmitry Mityugov, that solved my question.