You are not logged in.

#1 2011-08-19 14:29:50

eherranzr
Member
Registered: 2011-06-28
Posts: 112

[SOLVED] Terminal not running

Hi!

I have a problem with my Arch.
I was upgrading packages fron AUR with yourt when my computer freezed so I had to use the REISUB cobination. I rebooted and when I tried to execute chromium-dev it doesn't worked. I thought that it was maybe the package that was being upgrades so I tried to execute chromium. It does't worked neither. After that I executed firefox and it did start. So, I executed a terminal to reinstall chromium and chromium-dev again but konsole remained with no letters for a long time so I tried with terminal, which only says this: Imposible arrancar la terminal /bin/bash
Which means that it was impossible to run the /bin/bash terminal
So, now this is my doubt, what can I do? Do I try to reinstall chromium-dev from another terminal (Ctrl+Alt+F2) or I intall a package concerning bash?
Any idea?
Thankyou

Last edited by eherranzr (2011-08-20 12:35:39)

Offline

#2 2011-08-19 15:31:25

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Terminal not running

Since all you're saying is so vague (Execute? How?) and the only error message is a bit exotic... I have to guess...
You use KDE? You start X through startx or KDM?
Are the virtual consoles usable? If so, Ctrl+Alt+F2 switching to a vt, then startx using a simple .xintrc, with the content:

exec xterm

and start X with:

startx -- :1

see if you get an xterm window from there. If not, see if the console output gives any hint.
Also, consider `export LC_MESSAGES=C` or en_US.UTF-8 before you run the tests, so error messages can be a little more "portable".


This silver ladybug at line 28...

Offline

#3 2011-08-19 15:51:21

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

lolilolicon wrote:

Since all you're saying is so vague (Execute? How?) and the only error message is a bit exotic... I have to guess...

Sorry, I'm spanich and I don't explain myself very well. When I say execute I just click on the icon of the program in the KDE menu as the terminal doesn't work.

lolilolicon wrote:

You use KDE? You start X through startx or KDM?

Yes, I use KDE and it "autostarts" using KDM

lolilolicon wrote:

Are the virtual consoles usable?

Yes they are

lolilolicon wrote:

If so, Ctrl+Alt+F2 switching to a vt, then startx using a simple .xintrc, with the content:

exec xterm

and start X with:

startx -- :1

see if you get an xterm window from there. If not, see if the console output gives any hint.
Also, consider `export LC_MESSAGES=C` or en_US.UTF-8 before you run the tests, so error messages can be a little more "portable".

I think that in english terminal is considered as the visual terminal, I refer to terminal as the program named konsole which doesn't work

Sorry for all the errors, it's a bit difficult for me to talk about all this "technical" issues in english

Offline

#4 2011-08-19 16:02:52

roygbiv
Member
Registered: 2011-05-18
Posts: 204

Re: [SOLVED] Terminal not running

Have you installed bash? Does xterm or other terminals work?

Last edited by roygbiv (2011-08-19 16:03:44)

Offline

#5 2011-08-19 16:11:28

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

roygbiv wrote:

Have you installed bash?

Yes, bash and bash-completions are installed

roygbiv wrote:

Does xterm or other terminals work?

I don't know how to execute xterm as it doesn't appear in the menu and I just hace konsole and terminator installed and both don't work

Offline

#6 2011-08-19 16:26:28

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Terminal not running

OK, now it's clearer. Looks I'm in luck with all the guesses today (((:

So in KDE, besides chromium, konsole and terminal (the X terminal emulators) also don't start, which is why you should try to run one of these from a virtual console, so you can actually see the error messages.
The reason I asked you to use startx is to minimize the complications introduced by GDM and potentially other KDE stuff.
OK. Maybe you didn't understand my request. Let me rephrase...

  • Switch to a virtual console (Ctrl-Alt-F2).

  • Install xorg-xinit if you haven't.

  • Create/edit the file ~/.xinitrc with the content:

    #!/bin/sh
    exec konsole  # also try other terminals like xterm
  • Then run the commands:

    export LC_MESSAGES=en_US.UTF-8
    startx -- :1 2>&1 | tee /tmp/startx.log
  • Report back with /tmp/startx.log if anything fails...

Hope that helps.


This silver ladybug at line 28...

Offline

#7 2011-08-19 16:39:07

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.3.901 (1.10.4 RC 1)
Release Date: 2011-07-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-ARCH x86_64 
Current Operating System: Linux ArchLinux 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64
Kernel command line: root=/dev/sda5 ro
Build Date: 08 August 2011  08:24:13AM
 
Current version of pixman: 0.22.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Aug 19 18:41:17 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
konsole(9779) Konsole::SessionManager::loadProfile: Could not load profile from  "/home/emilio/.kde4/share/apps/konsole/Intérprete de órdenes.profile" 
konsole(9779)/kdecore (KPty/K3Process) KPty::open: Can't open a pseudo teletype 
konsole(9779) Konsole::Pty::flowControlEnabled: Unable to get flow control status, terminal not connected. 
konsole(9779) Konsole::Pty::start: Unable to set terminal attributes. 
xinit: connection to X server lost

waiting for X server to shut down 

This is what /home/emilio/.kde4/share/apps/konsole/Intérprete de órdenes.profile contains:

 [Appearance]
ColorScheme=WhiteOnBlack

[General]
Icon=utilities-terminal
LocalTabTitleFormat=%d : %n
MenuIndex=1
Name=Intérprete de órdenes
Parent=FALLBACK/
RemoteTabTitleFormat=%h : %u

Offline

#8 2011-08-19 16:39:09

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Terminal not running

eherranzr, there is a difference between  "Post reply" and "Report", Please double check what you click.

Here's the post that you were trying to make which came in to the mods as a Report.

eherranzr wrote:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.3.901 (1.10.4 RC 1)
Release Date: 2011-07-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-ARCH x86_64
Current Operating System: Linux ArchLinux 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64
Kernel command line: root=/dev/sda5 ro
Build Date: 08 August 2011 08:24:13AM

Current version of pixman: 0.22.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Aug 19 18:41:17 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
konsole(9779) Konsole::SessionManager::loadProfile: Could not load profile from "/home/emilio/.kde4/share/apps/konsole/Intérprete de órdenes.profile"
konsole(9779)/kdecore (KPty/K3Process) KPty::open: Can't open a pseudo teletype
konsole(9779) Konsole::Pty::flowControlEnabled: Unable to get flow control status, terminal not connected.
konsole(9779) Konsole::Pty::start: Unable to set terminal attributes.
xinit: connection to X server lost

waiting for X server to shut down

EDIT :: BAH! I see that you have now posted here correctly....

Last edited by Inxsible (2011-08-19 16:39:49)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2011-08-19 16:43:10

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

Inxsible wrote:

eherranzr, there is a difference between  "Post reply" and "Report", Please double check what you click.

Here's the post that you were trying to make which came in to the mods as a Report.

eherranzr wrote:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.3.901 (1.10.4 RC 1)
Release Date: 2011-07-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-ARCH x86_64
Current Operating System: Linux ArchLinux 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64
Kernel command line: root=/dev/sda5 ro
Build Date: 08 August 2011 08:24:13AM

Current version of pixman: 0.22.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Aug 19 18:41:17 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
konsole(9779) Konsole::SessionManager::loadProfile: Could not load profile from "/home/emilio/.kde4/share/apps/konsole/Intérprete de órdenes.profile"
konsole(9779)/kdecore (KPty/K3Process) KPty::open: Can't open a pseudo teletype
konsole(9779) Konsole::Pty::flowControlEnabled: Unable to get flow control status, terminal not connected.
konsole(9779) Konsole::Pty::start: Unable to set terminal attributes.
xinit: connection to X server lost

waiting for X server to shut down

EDIT :: BAH! I see that you have now posted here correctly....

Yes, sorry, I just realised what I did when I saw the post wasn't posted. Excuse me

Offline

#10 2011-08-19 16:44:44

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Terminal not running

@eherranzr, now we're making progress.
So forget the K-stuff for now... Do xterm or terminal work? (As usual, post the log here.)


This silver ladybug at line 28...

Offline

#11 2011-08-19 16:53:24

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Terminal not running

Hey, I knew I've seen this before... Try this:
https://bbs.archlinux.org/viewtopic.php … 23#p964623

/oops, sorry for double-posting.

Last edited by lolilolicon (2011-08-19 16:53:46)


This silver ladybug at line 28...

Offline

#12 2011-08-19 16:54:42

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

This is what I get when I try to execute these programs from another virtual terminal (Ctrl+Alt+F2)
Konsole

Unamed app (16435): KUniqueApplication: Cannot find the D-Bus session server: "Unable to autolaunch a dbus-daemon without a $DISPLAY for X11"
Unamed app (16435): KUniqueApplication: Pipe closed unexpectedly

Xterm

xterm Xt error: Can't open display:
xterm: Dislpay is not set

The curious thing is that from a virtual terminal (Ctrl+Alt+F2) I can use it as a normal terminal like installing packages from AUR with yaourt or with pacman

Offline

#13 2011-08-19 16:59:13

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

# mkdir -p /dev/pts
# mount -t devpts devpts /dev/pts

I use quick-init too. Do I uninstall it?
What can I do to solve this problem completely?

Offline

#14 2011-08-19 17:04:01

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Terminal not running

Sure, konsole and xterm are both X terminal emulators, which run as a X client connected to a running X server.
Nothing curious here except "Surprise surprise" wink

OK. So mounting the devpts solved it, right?
I bet quickinit is quite broken here. Don't use it. Just go with the default initscripts.


This silver ladybug at line 28...

Offline

#15 2011-08-19 17:07:00

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

Sorry, I don't undestand it, you mean that I should uninstall quickinit?

Offline

#16 2011-08-19 17:13:03

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] Terminal not running

Yes, remove the package, and revert whatever you did (configurations, etc.) to get quick-init to work. I don't use it so I can't tell you about it. You know better smile


This silver ladybug at line 28...

Offline

#17 2011-08-19 17:20:21

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: [SOLVED] Terminal not running

Thank you, you saved my day, I would have spent a whole day looking for the solution probably without founding it

Offline

Board footer

Powered by FluxBB