Hackers: Solaris help required for Gnome-terminal.
- From: Miguel de Icaza <miguel nuclecu unam mx>
- To: "Mark R. Bowyer" <Moredhel earthling net>, gnome-hackers nuclecu unam mx
- Cc: GNOME-List <gnome-list gnome org>
- Subject: Hackers: Solaris help required for Gnome-terminal.
- Date: 09 Feb 1999 12:44:45 -0600
So I am very happy to see gnome-libs compile fine on Solaris now.
We have a pending bug report that I have not been able to figure out:
although libzvt/gnome-terminal are designed to be portable, for some
reason or other the terminal is not being properly initialized in
I need help debugging and fixing this problem.
Apparently when you run Gnome Terminal in Solaris the session is not
properly setup, could someone with Solaris and pty expertise look into
A small description on what the Gnome Terminal setup looks like:
1. Gnome Terminal is just a GUI around the GNOME zvt library.
2. The zvt library provides an xterm terminal emulator and some
helper routines to setup the pseudo terminal in a portable
and secure fashion.
3. The zvt code in gnome-libs/zvt/subshell.c spawns a
privileged SUID process to setup the session (the
4. gnome-pty-helper program does the session setup: it includes
opening the master/client ptys, setting them up and
registering utmp/wtmp entries if required into the system.
5. gnome-pty-helper uses file descriptor passing to pass the
openend and setup file descriptors to the zvt code.
6. zvt code spawns a shell under one pty, and monitors the
other side of the pseudo terminal.
Apparentlyl step (4) is wrong for Solaris, but I have no clue on how
to fix this, I could use some help here.
] [Thread Prev