Re: No Terminal Opening
Re: No Terminal Opening
- Subject: Re: No Terminal Opening
- From: odinm <email@hidden>
- Date: Fri, 27 Jun 2008 13:51:21 -0700
On Jun 27, 2008, at 1:01 PM, Harald Hanche-Olsen wrote:
+ odinm <email@hidden>:
I should clarify my predicament. I use X11 to do X forwarded
sessions over SSH. The new fangled "X launches automatically"
doesn't help me at all because what I really really want out of X11,
is a terminal to type "ssh -Y blah blah blah".
Well, it should work in that case also: X application connects to :10
(typically) at the remote end, which is port 6010 really, the remote
sshd accepts the connection and forwards it to the local ssh, which
connects to the local display. Magic happens, the X server starts up
locally and talks to the remote X application, and Bob's your uncle.
Does this mean I can use X forwarding from Apple's terminal.app? I've
tried and it doesn't work, but I have noticed that X launches every
time I open a terminal (if X11 is not already running).
The problem I have is that when I launch X11 2.2.3, and then try to
launch a terminal window by cmd-n, or from the X11 menu, or from the
X11 dock icon, __nothing happens__. No terminal launches. I have
to quit and restart X11 until it finally does launch (today it was 5
times).
Is it possible that you are just being a tad impatient? It is my
understanding that X11 sometimes needs to build a font cache on
startup, and that can take quite a bit of time. But it shouldn't have
to happen more than once. It might be worth checking out if something
triggers this on every startup in your case, and why. Read the script
/usr/X11/bin/startx to see what is being done, so you can look for the
associated process and see if I am right. (Of course I am right, but
you have to see for yourself. I could be wrong of course.)
I could well be impatient -- yesterday in order to control for that, I
launched X11 and then brewed myself a cup of coffee thinking that the
several minutes ought to be enough -- it wasn't. Anyway, in today's
attempt at self control, 12 minutes ago I launched X11 and I'm still
waiting for a terminal, CPU pegged at 100% w/ X11 running 85%.
Hmmm ... Is that patient enough? ;-)
After that little experiment, I commented out the the parts in startx
relating to the font cache. I couldn't shut X11 down, so I restarted
-- except it kept blocking the shutdown. Anyway, eventually I got the
system down and rebooted, clicked X11 and it started up with a
terminal in less than 30 seconds. However, when I shut X11 down and
restarted, it wouldn't open a terminal and pegged the processor. So
I've rebooted again and because I still have work to do, will stop
experimenting.
What is the font cache for anyway? Is that useful only if I'm running
X apps locally -- does it do anything with respect to remote sessions?
Anything else I can complain about?
The weather?
Good idea.
It isn't raining today, it finally feels like summer is here, the air
is clean and the sun is shining.
I'm in my office.
;-)
om
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden