You are not logged in.

#1 2013-03-22 13:45:30

adwaita45
Member
Registered: 2012-04-01
Posts: 12

[SOLVED] How to install a terminal without a terminal?

I have somehow managed to uninstall all my terminal emulators.When I try to run xterm from the applications menu in mate I get

Could not launch xterm Failed to execute child process "xterm" (No such file or directory)

. Also, if I try to use a tty using 'Ctrl + Alt + F1' etc all I get is a blank screen.
So, I would like to know if there is a way to install xterm again.

Last edited by adwaita45 (2013-03-22 15:32:13)

Offline

#2 2013-03-22 13:48:05

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] How to install a terminal without a terminal?

Use Ctrl + Alt + F2?

Log out of X?

Boot into a live Arch Linux CD and arch-chroot to victory?

Last edited by drcouzelis (2013-03-22 13:50:30)

Offline

#3 2013-03-22 13:52:15

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: [SOLVED] How to install a terminal without a terminal?

use a runner
login as root (to avoid the sudo prompt) on kde, press Alt-f2 (by default), and enter
pacman -Sy konsole

done!

pd: haven't tried it, but cannot think any reason why it wouldn't work.
pd2: also, i'm pretty sure you can unistall terminal clients, but i'm also pretty sure you still have a bash prompt somewhere

Offline

#4 2013-03-22 13:54:46

lesto
Member
Registered: 2010-07-13
Posts: 115

Re: [SOLVED] How to install a terminal without a terminal?

xterm is the terminal emulator for Xorg, so it use the GUI.

I don't know if is possible delete all terminal from the system, i think the basic terminal have dependencies with the core.

So the problem is all your tty are GUI related (BAD! leave at least one of them as text-only).

Actually you can solve this by booting linux in the runlevel 3 (no GUI) just by editing your boot and adding a final 3 on the "kernel" string.

This procedure vary from bootloader to bootloader, but can be done "on the fly" without using live cd or other "trick"

Last edited by lesto (2013-03-22 13:55:05)

Offline

#5 2013-03-22 14:05:59

bjornoslav
Member
Registered: 2011-11-01
Posts: 137

Re: [SOLVED] How to install a terminal without a terminal?

How will you interface with the system without a terminal? Bizzare.


asus ux303la, core i5@1.6ghz, 8 gb ram, 500gb hdd, hd4400 gpu, crux x64 with openbox

Offline

#6 2013-03-22 14:58:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] How to install a terminal without a terminal?

In addition to all of the above, ssh into the box.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2013-03-22 15:31:32

adwaita45
Member
Registered: 2012-04-01
Posts: 12

Re: [SOLVED] How to install a terminal without a terminal?

chroot did the trick! Thank you everyone smile

Offline

#8 2013-03-22 17:53:23

Nico666
Member
Registered: 2012-04-24
Posts: 56

Re: [SOLVED] How to install a terminal without a terminal?

A related question. Just for curiosity and to learn.

I don't understand why the CTRL+ALT+FX tty's don't work in this case. Are they xterm? I always have though that they are indeed text virtual consoles by default, and that "xterm" was the name for a terminal window: terminal emulator for X to use the terminal from a GUI. Isn't it?

Somebody mentioned

lesto wrote:

So the problem is all your tty are GUI related (BAD! leave at least one of them as text-only).

It this even possible? I mean, without having to go through a complex set of steps that probably require you to know what you're doing?

Regards,

Offline

#9 2013-03-22 19:28:00

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] How to install a terminal without a terminal?

X terminal emulators are completely separate from agetty, which runs (or 'runs on') the tty. DE dependencies aside, I suppose it's easy to have some kind of graphical environment installed, but no terminal emulator.

In the initscripts days you could easily disable ttys through inittab. Presumably you could disable all but one for X. Don't know if it's possible under systemd.

It could just be that the OP encountered a bug, or graphical issues with KMS/framebuffer/etc.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#10 2013-03-22 21:41:23

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: [SOLVED] How to install a terminal without a terminal?

There is no seperate *getty package installed per default anymore. It seems to be part of systemd now. I could only think of a bad configuration or maybe a forced removal of bash.

Offline

#11 2013-03-23 00:00:15

lesto
Member
Registered: 2010-07-13
Posts: 115

Re: [SOLVED] How to install a terminal without a terminal?

Nico666 wrote:

A related question. Just for curiosity and to learn.
I mean, without having to go through a complex set of steps that probably require you to know what you're doing?

Regards,

well, basically it is as easy as editing one text file. Practically you have to pay attention at what you do, as always smile

from: https://wiki.archlinux.org/index.php/Start_X_at_Login

Note: You can replace the -eq 1 comparison with one like -le 3 (for vt1 to vt3) if you want to use graphical logins on more than one VT.

Last edited by lesto (2013-03-23 00:01:07)

Offline

#12 2013-03-23 10:30:59

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: [SOLVED] How to install a terminal without a terminal?

Awebb wrote:

There is no seperate *getty package installed per default anymore. It seems to be part of systemd now. I could only think of a bad configuration or maybe a forced removal of bash.

# find / -name *getty
/sbin/agetty
/var/abs/community/fbgetty
/var/abs/community/mingetty
#
pacman -Qo /sbin/agetty
/sbin/agetty is owned by util-linux 2.22.2-2
# 

Nope, not part of systemd.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#13 2013-03-24 00:14:43

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: [SOLVED] How to install a terminal without a terminal?

Oh, thanks Lone_Wolf.

Offline

Board footer

Powered by FluxBB