Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-02-26 18:57:31

jacobbe
Member
From: Italy
Registered: 2006-06-04
Posts: 10

Terminal closes immediately

Hi, I've got a problem with Terminal configuration.
I upgraded from XFCE 4.2x to 4.4.
Now the new Terminal doesn't work: It runs but close immediately.

If I run
$ Terminal -x sh
works good! (no new tabs or windows)

But If I run normally
$ Terminal
It closed after a while.

If I run
$ Terminal --hold
Terminal keep blank.

I think it tries to open the bad shell, I tried to modify environment vars like $BASH or $SHELL without success.

What does Terminal runs as his default shell?

Offline

#2 2007-02-28 08:00:45

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: Terminal closes immediately

Maybe you can enable the 'login shell' option in terminal (forgot the real name).

Offline

#3 2007-02-28 11:42:23

jacobbe
Member
From: Italy
Registered: 2006-06-04
Posts: 10

Re: Terminal closes immediately

Enabling "Run command as login shell" doesn't help.  :oops:

Offline

#4 2007-03-01 07:23:35

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: Terminal closes immediately

Well personally I don't think this is caused by Terminal, but VTE (the terminal emulator widget Terminal uses). You can run vte to check if that crashes after a while, and maybe you can update to the latest version (if needed).

Offline

#5 2007-03-01 13:25:00

jacobbe
Member
From: Italy
Registered: 2006-06-04
Posts: 10

Re: Terminal closes immediately

Terminal doesn't crash, but terminate correctly.
Maybe it run the wrong shell.

If I create a new user and I log in to xfce, Terminal runs (as new user)!
I've tried to delete config data in my home but problem remains.

Regards

Offline

#6 2007-06-25 10:55:02

jacobbe
Member
From: Italy
Registered: 2006-06-04
Posts: 10

Re: Terminal closes immediately

Up.
Anyone have some hint for my problem?
Regards

Offline

#7 2007-06-25 11:00:55

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: Terminal closes immediately

As I already suggested, run vte and see if that works.

Offline

#8 2007-06-25 11:40:38

jacobbe
Member
From: Italy
Registered: 2006-06-04
Posts: 10

Re: Terminal closes immediately

Sorry, "$ vte" doesn't crash but it closes after a while, but now I tried tu run vte from another user and works good!
So it's a problem of vte, now I look for vte conf and I try to reset them.
Thanks

Offline

#9 2007-06-25 12:31:00

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: Terminal closes immediately

The vte configuration is 'provided' by terminal (vte is a library/widget, the vte application is a simple application to show its usage). Maybe changing the CommandLoginShell boolean in ~/.config/Terminal/terminalrc helps.

Offline

#10 2007-06-25 12:50:31

jacobbe
Member
From: Italy
Registered: 2006-06-04
Posts: 10

Re: Terminal closes immediately

Thank you very much for your help Nick.
It's set to:
CommandLoginShell=FALSE

I try to change to TRUE but it doesn't helps.
I also try to remove ~/.config/Terminal/ and ~/.local/share/Terminal/

Where can I find other user's settings to reset?

Offline

#11 2007-06-25 13:09:00

jacobbe
Member
From: Italy
Registered: 2006-06-04
Posts: 10

Re: Terminal closes immediately

Oh my God... I don't know why but my user's login shell has never been set.
On /etc/passwd was:

jacobbe:x:1000:100::/home/jacobbe:

And now:

jacobbe:x:1000:100::/home/jacobbe:/bin/bash

and it works!!!  roll  ;D

From useradd manual I read:

-s shell
              The  name  of  the  user's login shell.  The default is to leave
              this field blank, which causes the system to select the  default
              login shell.

But vte doesn't work if it's blank! I hope it can be useful for who has the same problem...

Thank you Nick for your time.

Offline

#12 2007-06-25 13:36:41

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: Terminal closes immediately

Weird VTE doesn't work when it's blank :?, anyway, good it works now.

Offline

Board footer

Powered by FluxBB