1 |
That rings a bell, like maybe I did it sometime in the past. I do think I |
2 |
once had this working. |
3 |
|
4 |
To answer Matt's question: nope, same behavior. Based on what John said, |
5 |
that's what I'd expect. |
6 |
|
7 |
Thanks, both. |
8 |
|
9 |
|
10 |
On Wed, Mar 4, 2015 at 1:23 PM, Gibson, John <jgibson@×××××.org> wrote: |
11 |
|
12 |
> Michael, |
13 |
> |
14 |
> The easiest way to fix the issue is to modify the startprefix script to |
15 |
> keep the DISPLAY variable. |
16 |
> |
17 |
> The changes will look something like this: |
18 |
> diff -wu startprefix.orig startprefix |
19 |
> --- startprefix.orig 2015-03-04 14:20:28.000000000 -0500 |
20 |
> +++ startprefix 2015-03-04 14:20:39.000000000 -0500 |
21 |
> @@ -39,7 +39,7 @@ |
22 |
> # start the login shell, clean the entire environment but what's needed |
23 |
> # PROFILEREAD is necessary on SUSE not to wipe the env on shell start |
24 |
> [[ -n ${PROFILEREAD} ]] && DOPROFILEREAD="PROFILEREAD=${PROFILEREAD}" |
25 |
> -env -i HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL $DOPROFILEREAD |
26 |
> $SHELL -l |
27 |
> +env -i HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL DISPLAY=$DISPLAY |
28 |
> $DOPROFILEREAD $SHELL -l |
29 |
> # and leave a message when we exit... the shell might return non-zero |
30 |
> # without having real problems, so don't send alarming messages about |
31 |
> # that |
32 |
> |
33 |
> |
34 |
> John |
35 |
> |
36 |
> On Mar 4, 2015, at 2:18 PM, Matt Hull <mattmatteh@×××××.com> wrote: |
37 |
> |
38 |
> I have not used prefix on OSX in several years. Does it help to start |
39 |
> an X app from the OSX X11Terminal ? I though I had to do that. But then |
40 |
> the question is should that be the correct way or should a prefix X server |
41 |
> or client be used ? |
42 |
> |
43 |
> matt |
44 |
> |
45 |
> On Wed, Mar 4, 2015 at 1:10 PM, Michael Jinks <michael.jinks@×××××.com> |
46 |
> wrote: |
47 |
> |
48 |
>> File this under "problems I'll probably fix myself the moment I hit |
49 |
>> 'send' on an email"... |
50 |
>> |
51 |
>> I'm using prefix on my OSX laptop, typically by starting an xterm and |
52 |
>> running startprefix. But when I do that, my $DISPLAY isn't inherited, so X |
53 |
>> apps obviously don't run. In cases like that, my usual hack is to ssh in |
54 |
>> with X11 forwarding (-Y), but my laptop isn't running sshd. More to the |
55 |
>> point, that seems like the wrong way to address this issue; why have all |
56 |
>> that overhead encrypting a connection to localhost? If memory serves, ssh |
57 |
>> used to support an option for cipher "none", but I don't find that in any |
58 |
>> manpages now. |
59 |
>> |
60 |
>> There has to be a better way...? |
61 |
>> |
62 |
>> Thanks. |
63 |
>> |
64 |
>> |
65 |
> |
66 |
> |