Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How can I kill the Ubuntu shell process ?

Status
Not open for further replies.

andre_luis

Super Moderator
Staff member
Advanced Member level 7
Joined
Nov 7, 2006
Messages
9,643
Helped
1,191
Reputation
2,401
Reaction score
1,218
Trophy points
1,403
Location
Brazil
Activity points
55,939
Hi guys,


I´m installing QT on an ARM based embedded system, and is expected more than 24hs of compilation.
Due the system loads Ubuntu during boot init, I wish remotely kill the desktop in order to increase speed compilation.

When I type ps command to list all processes, I can´t find someone named *ubuntu* or something similar.
Does anybody know how to do that ?


+++
 

Ubuntu isn't the desktop, it's the whole system. And if you kill the desktop, the desktop manager (probably KDM or GDM) will start a new one. It sounds like you want to run in console mode with no graphical desktop. If it's embedded, are you sure you're running a desktop?

It might be as simple as the command (as root): telinit 3
That would switch you from graphical mode (5) to console mode with network (3). It would log you out and you'll have to log in again, but directly to a non-graphical bash shell.

Otherwise, you can configure the "runlevel" to boot into. That might be as simple as editing /etc/inittab and changing "5" to "3". I say "might" because everything has changed in recent years, plus I'm not currently running Ubuntu, plus you're running embedded ARM, which might be different than Intel desktops.

Newer systems change run levels something like this (but investigate before doing this):
cd /lib/systemd/system
ln -sf runlevel5.target /etc/systemd/system/default.target
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top