public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gdm-2.2.3.2: comments
@ 2001-09-17 15:13 tneidt
  2001-09-17 16:49 ` Tod M. Neidt
  2001-09-17 17:40 ` Mikael Hallendal
  0 siblings, 2 replies; 4+ messages in thread
From: tneidt @ 2001-09-17 15:13 UTC (permalink / raw
  To: gentoo-dev

Hi!

I recently merged gdm-2.2.3.2 and had to do the following to get it running.

1.  rc-update add xdm default
The ebuild doesn't have the third required argument, "default", for rc-update 
in the pkg_postinst()

2.  I also had to create the directory /var/lib/gdm with owner.group gdm.gdm 
and permissions 750.

After these changes gdm starts up fine.  One problem remains.  gnome-terminal 
refuses to open with an error about checking unix98 ptys.  Note everything 
gnome and specifically gnome-terminal was working perfectly when I was using 
startx from the command-line prior to merging gdm.  Also, I can start up a 
regular xterm fine although it doesn't read my .bashrc file.

>From the gnome-users faq:
Q: Everything else works, but I get a message about Unix98 ptys when trying to 
start gnome-terminal. 

A: Two possible answers here, both applicable to Linux kernel issues. 


It is (remotely) possible that you are trying to install binaries for a newer 
version of your distribution on an old machine, where "old" means "running a 
2.0 Linux kernel and a similarly old glibc". This won't work. If you have Red 
Hat 5.2, for example, you need to find or build rpms for that and not to try to 
install rpms for 6.2. This applies similarly to SuSE. 

It is more likely to be problems with the permissions of the files which 
involve ptys. In particular, check the permissions of /dev/ptmx. They should be 
666 (or crw-rw-rw when you do ls -l /dev/ptmx). If they aren't, change it with 
chmod 666 /dev/ptmx (as root). You will find more about this 
in /usr/src/linux/Documentation/general/Changes. 

However, neither of these solutions appear to be applicable.

tod



---------------------------------------------
Sent using Fidelity Networks, Inc. Mailman.
http://www.fidnet.com/





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] gdm-2.2.3.2: comments
  2001-09-17 15:13 [gentoo-dev] gdm-2.2.3.2: comments tneidt
@ 2001-09-17 16:49 ` Tod M. Neidt
  2001-09-18 17:08   ` Tod M. Neidt
  2001-09-17 17:40 ` Mikael Hallendal
  1 sibling, 1 reply; 4+ messages in thread
From: Tod M. Neidt @ 2001-09-17 16:49 UTC (permalink / raw
  To: gentoo-dev

On Mon, 2001-09-17 at 21:11, tneidt@mail.fidnet.com wrote:
> 
> 
> After these changes gdm starts up fine.  One problem remains.  gnome-terminal 
> refuses to open with an error about checking unix98 ptys.  Note everything 
> gnome and specifically gnome-terminal was working perfectly when I was using 
> startx from the command-line prior to merging gdm.  Also, I can start up a 
> regular xterm fine although it doesn't read my .bashrc file.
> 
Hi!

Follow-up with more information.

1.If I xhost +localhost in an xterm as user then su to root, I can start
up a gnome-terminal ok, so it seems to be a permissions problem.

2. Confirmed that /dev/ptmx has the correct permissions.

tod




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] gdm-2.2.3.2: comments
  2001-09-17 15:13 [gentoo-dev] gdm-2.2.3.2: comments tneidt
  2001-09-17 16:49 ` Tod M. Neidt
@ 2001-09-17 17:40 ` Mikael Hallendal
  1 sibling, 0 replies; 4+ messages in thread
From: Mikael Hallendal @ 2001-09-17 17:40 UTC (permalink / raw
  To: Gentoo Dev.

mån 2001-09-17 klockan 23.11 skrev tneidt@mail.fidnet.com:
> Hi!

Hi!
 
> I recently merged gdm-2.2.3.2 and had to do the following to get it running.
> 
> 1.  rc-update add xdm default
> The ebuild doesn't have the third required argument, "default", for rc-update 
> in the pkg_postinst()

This seems to be a change in rc-update. I'll fix the gdm-package,
thanks!

> 2.  I also had to create the directory /var/lib/gdm with owner.group gdm.gdm 
> and permissions 750.

Hmm .. this seems strange, /var/lib/gdm gets created when I install gdm
here...

Regards,
  Mikael Hallendal

-- 
Mikael Hallendal                micke@codefactory.se
CodeFactory AB                  http://www.codefactory.se/
Office: +46 (0)8 587 583 05     Cell: +46 (0)709 718 918




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] gdm-2.2.3.2: comments
  2001-09-17 16:49 ` Tod M. Neidt
@ 2001-09-18 17:08   ` Tod M. Neidt
  0 siblings, 0 replies; 4+ messages in thread
From: Tod M. Neidt @ 2001-09-18 17:08 UTC (permalink / raw
  To: gentoo-dev mailing list

On Mon, 2001-09-17 at 17:51, Tod M. Neidt wrote:
> On Mon, 2001-09-17 at 21:11, tneidt@mail.fidnet.com wrote:
> > 
> > 
> > After these changes gdm starts up fine.  One problem remains.  gnome-terminal 
> > refuses to open with an error about checking unix98 ptys.  Note everything 
> > gnome and specifically gnome-terminal was working perfectly when I was using 
> > startx from the command-line prior to merging gdm.  Also, I can start up a 
> > regular xterm fine although it doesn't read my .bashrc file.

Hi!

Follow up on the follow up.  I solved my problem with gnome-terminal.
The pseudo-terminal nodes in /dev/pty/ had owner.group set as root.root
on my machine.  After a 'chown root.tty /dev/pty/* ', gnome-terminal
started up fine.  I not sure if this was specific to my machine or
gentoo in general.  I am currently using baselayout-1.6.2

tod 





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-18 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-17 15:13 [gentoo-dev] gdm-2.2.3.2: comments tneidt
2001-09-17 16:49 ` Tod M. Neidt
2001-09-18 17:08   ` Tod M. Neidt
2001-09-17 17:40 ` Mikael Hallendal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox