Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

can't open a terminal on Gnome 2.30 [solved]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
26 posts
  • 1
  • 2
  • Next
Author
Message
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

can't open a terminal on Gnome 2.30 [solved]

  • Quote

Post by roelof » Sat May 15, 2010 2:07 pm

Hello,

When I open a terminal as a normal user I get this message :

There is an error creating the child process for the terminal.

When I try to open xterm No screen and no error message.

Roelof
Last edited by roelof on Tue May 18, 2010 2:00 pm, edited 1 time in total.
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Sat May 15, 2010 2:46 pm

:D
http://www.linuxquestions.org/questions ... ost1075626
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sun May 16, 2010 10:07 am

Hello,

I changed the stab so devpts is mounted but the error message stays.

Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Sun May 16, 2010 11:31 am

Did you try rebuilding the application? (revdep-rebuild?)
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sun May 16, 2010 11:54 am

Helllo

Revdep rebuild found no errors,

What I find wierd is that root can open a terminal but as user I can't.

Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Sun May 16, 2010 12:41 pm

Maybe gnome-terminal is using video acceleration (since it's 2.30?) are you in the video group (as a normal user)?
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Sun May 16, 2010 2:23 pm

Hello,

Nope,

As a normal user im a member of these groups.

wheel audio users

Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Sun May 16, 2010 3:27 pm

Then please try adding your user to the video group.
usermod example - Add a existing user to existing group

Add existing user tony to ftp supplementary/secondary group with usermod command using -a option ~ i.e. add the user to the supplemental group(s). Use only with -G option :
# usermod -a -G ftp tony
So:

Code: Select all

usermod -a -G video roelof
Should do the trick. Do not forget to reboot to make the change go in effect.
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon May 17, 2010 7:35 am

Helllo Rexillon.

Sorry but it doesn't do the trick.
See this screenshot : http://img707.imageshack.us/img707/7476 ... hotrvm.png

It looks like bash is not started at all for some reason.

Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Mon May 17, 2010 8:33 am

Ah ok, and it works with xterm :/

Can you open the gnome terminal preference menu, there should be an option where you can chose your initial command to execute.
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon May 17, 2010 8:45 am

Hello,

Xterm does not start at all.
I found the preference menu but it doesn't matter if a use gnome-terminal or /bin/bash as initial command.
The error stays.

Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Mon May 17, 2010 8:54 am

Press

CTRL+ALT+F1

, login as a normal user and see if you can get yourself a shell.
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon May 17, 2010 12:09 pm

Hello,

When I log in I get /bin/bash as shell.

Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Mon May 17, 2010 12:13 pm

Press:

CTRL+ALT+F1

Log in as your regular user.

Make sure you have one X-session running as that same user.

Now, in the TTY (after CTRL+ALT+F1), please enter:

Code: Select all

DISPLAY=:0.0 gnome-terminal
and

Code: Select all

DISPLAY=:0.0 xterm
Can you post both of it's output please?
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon May 17, 2010 12:24 pm

Hello,

Display=:0.0 gnome-terminal gives no output.

Display=:0.0 xterm gives this output :

xterm: Error32, errorno 2: No such file or directory.
Reason : get_pty : no enough ptys.

Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Mon May 17, 2010 12:59 pm

Can you post the output of the following command please?

Code: Select all

mount
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon May 17, 2010 1:59 pm

Hello,

Of course,
Here's the output of mount as a regular user.

Code: Select all


rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw,noatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
nfsd on /proc/fs/nfsd type nfsd (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
Roelof
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Mon May 17, 2010 2:26 pm

Are you using udev?
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon May 17, 2010 2:47 pm

Yep.,

Xorg 1.8 uses udev.

Roelof
Top
rynalous
n00b
n00b
Posts: 5
Joined: Tue Dec 08, 2009 6:40 pm

  • Quote

Post by rynalous » Mon May 17, 2010 3:52 pm

roelof wrote: Display=:0.0 xterm gives this output :

xterm: Error32, errorno 2: No such file or directory.
Reason : get_pty : no enough ptys.

Roelof
Maybe this?
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Mon May 17, 2010 5:01 pm

Nope,

My fstab looks like this :

Code: Select all

#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>			<mountpoint>	<type>		<opts>		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sdb1		/		ext3		noatime		0 1
/dev/cdrom		/mnt/cdrom	auto		noauto,ro	0 0
devpts                  /dev/pts        devpts          gid=5,mode=620  0 0 
#/dev/fd0		/mnt/floppy	auto		noauto		0 0


# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
So devpts is mounted and as root I can use the terminal.

Roelof
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Tue May 18, 2010 10:54 am

Hello,

Anyone who can help ?

Roelof
Top
pizzach
Apprentice
Apprentice
User avatar
Posts: 195
Joined: Mon Aug 28, 2006 8:55 pm

  • Quote

Post by pizzach » Tue May 18, 2010 11:34 am

If the terminal works as root, why didn't you try creating a fresh user to see if the gnome-terminal works for them?
Top
roelof
Guru
Guru
Posts: 488
Joined: Thu Feb 05, 2009 1:16 pm

  • Quote

Post by roelof » Tue May 18, 2010 2:00 pm

Hoi,

Problem solved.
It was a misconfiguration of udev in baselayout.

Roelof
Top
Ralgo
n00b
n00b
User avatar
Posts: 24
Joined: Sun Dec 31, 2006 9:21 pm
Location: Chile
Contact:
Contact Ralgo
Website

  • Quote

Post by Ralgo » Tue May 25, 2010 12:51 am

roelof wrote:Hoi,

Problem solved.
It was a misconfiguration of udev in baselayout.

Roelof
I have the same problem today (Gnome 2.28 ).

What's the solution roelof?
Top
Post Reply

26 posts
  • 1
  • 2
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic