* [gentoo-user] X-forwarding questions
@ 2009-01-25 17:22 Grant
2009-01-27 21:13 ` pk
0 siblings, 1 reply; 8+ messages in thread
From: Grant @ 2009-01-25 17:22 UTC (permalink / raw
To: Gentoo mailing list
I just enabled X-forwarding and I've got a few questions for you guys.
Should I have any security concerns about doing this?
It looks like gimp comes through with an older/blockier version of gtk
or something. Any way to fix that?
I'm starting X-forwarding like 'ssh -XC 192.168.100.1 gimp' and when I
close gimp it looks like the terminal is still running the process.
Is it supposed to come back to the prompt?
- Grant
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] X-forwarding questions
2009-01-25 17:22 [gentoo-user] X-forwarding questions Grant
@ 2009-01-27 21:13 ` pk
2009-01-27 22:25 ` Grant
0 siblings, 1 reply; 8+ messages in thread
From: pk @ 2009-01-27 21:13 UTC (permalink / raw
To: gentoo-user
Grant wrote:
> I just enabled X-forwarding and I've got a few questions for you guys.
>
> Should I have any security concerns about doing this?
Not more than usual. I assume your online computers have been secured
(to a reasonable degree)... Of course if anyone has access to your
remote machine (that you run X apps on) they could theoretically
"listen" in on your X session (man xauth for details).
> It looks like gimp comes through with an older/blockier version of gtk
> or something. Any way to fix that?
Well, gimp is using local resources on the machine you run it on. So
it's using whatever version of gtk that is installed on your remote
machine. Is it the fonts that are "blocky"? If so it may be an DPI issue ...
> I'm starting X-forwarding like 'ssh -XC 192.168.100.1 gimp' and when I
> close gimp it looks like the terminal is still running the process.
> Is it supposed to come back to the prompt?
Hm... yes, if you are starting gimp that way it may be that ssh doesn't
recognise that gimp is closed so it maintains the connection. Have you
tried to log in with ssh -X and run it from there instead? Btw, the -C
option is unnecessary unless you are using a very slow connection.
Best regards
Peter K
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] X-forwarding questions
2009-01-27 21:13 ` pk
@ 2009-01-27 22:25 ` Grant
2009-01-28 19:15 ` pk
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Grant @ 2009-01-27 22:25 UTC (permalink / raw
To: gentoo-user
>> I just enabled X-forwarding and I've got a few questions for you guys.
>>
>> Should I have any security concerns about doing this?
>
> Not more than usual. I assume your online computers have been secured
> (to a reasonable degree)... Of course if anyone has access to your
> remote machine (that you run X apps on) they could theoretically
> "listen" in on your X session (man xauth for details).
Alright, I won't leave remote gimp open all day then.
>> It looks like gimp comes through with an older/blockier version of gtk
>> or something. Any way to fix that?
>
> Well, gimp is using local resources on the machine you run it on. So
> it's using whatever version of gtk that is installed on your remote
> machine. Is it the fonts that are "blocky"? If so it may be an DPI issue ...
That's the weird part. Local gimp and remote gimp side-by-side on the
same screen look different. For example, the edges of the buttons and
widgets in local gimp are rounded but they aren't in remote gimp. Not
a big deal though.
>> I'm starting X-forwarding like 'ssh -XC 192.168.100.1 gimp' and when I
>> close gimp it looks like the terminal is still running the process.
>> Is it supposed to come back to the prompt?
>
> Hm... yes, if you are starting gimp that way it may be that ssh doesn't
> recognise that gimp is closed so it maintains the connection. Have you
> tried to log in with ssh -X and run it from there instead?
When I ssh -X, start gimp, close gimp, and close the ssh session, the
terminal prompt disappears and only the cursor is visible in the
terminal. I have to ctrl+c to bring the prompt back. This doesn't
happen with ssh -X unless I open gimp during the session.
> Btw, the -C option is unnecessary unless you are using a very slow connection.
Using -C, gimp is about 10x more responsive than if I don't. I was
surprised too. My laptop and the "remote" system are 15 feet away
from each other on the same wireless network, with the router in
between.
- Grant
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] X-forwarding questions
2009-01-27 22:25 ` Grant
@ 2009-01-28 19:15 ` pk
2009-01-28 20:23 ` Grant
2009-01-28 19:48 ` Mark Knecht
2009-01-28 20:30 ` Daniel Troeder
2 siblings, 1 reply; 8+ messages in thread
From: pk @ 2009-01-28 19:15 UTC (permalink / raw
To: gentoo-user
Grant wrote:
> That's the weird part. Local gimp and remote gimp side-by-side on the
> same screen look different. For example, the edges of the buttons and
> widgets in local gimp are rounded but they aren't in remote gimp. Not
> a big deal though.
So what do gimp look like when you run it locally on the "remote"
machine (i.e. not using ssh)?
> When I ssh -X, start gimp, close gimp, and close the ssh session, the
> terminal prompt disappears and only the cursor is visible in the
> terminal. I have to ctrl+c to bring the prompt back. This doesn't
> happen with ssh -X unless I open gimp during the session.
So this only happens with gimp? It may be that gimp doesn't exit
"properly"... I'm just guessing and I don't know why that would be.
> Using -C, gimp is about 10x more responsive than if I don't. I was
> surprised too. My laptop and the "remote" system are 15 feet away
> from each other on the same wireless network, with the router in
> between.
Ah, well... can't argue with that. :-)
Best regards
Peter K
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] X-forwarding questions
2009-01-27 22:25 ` Grant
2009-01-28 19:15 ` pk
@ 2009-01-28 19:48 ` Mark Knecht
2009-01-28 20:30 ` Daniel Troeder
2 siblings, 0 replies; 8+ messages in thread
From: Mark Knecht @ 2009-01-28 19:48 UTC (permalink / raw
To: gentoo-user
On Tue, Jan 27, 2009 at 2:25 PM, Grant <emailgrant@gmail.com> wrote:
<SNIP>
>
> When I ssh -X, start gimp, close gimp, and close the ssh session, the
> terminal prompt disappears and only the cursor is visible in the
> terminal. I have to ctrl+c to bring the prompt back. This doesn't
> happen with ssh -X unless I open gimp during the session.
>
I see this sometimes with ssh even when I don't run an X app remotely.
I think it's an ssh thing and my guess is that it's local, not remote.
If I don't hit control C, go to another machine and shell into the
same remote machine my login on that end from the first machine is
gone.
>> Btw, the -C option is unnecessary unless you are using a very slow connection.
>
> Using -C, gimp is about 10x more responsive than if I don't. I was
> surprised too. My laptop and the "remote" system are 15 feet away
> from each other on the same wireless network, with the router in
> between.
>
I agree. Going across the net I find -C to be quite helpful running
something like Firefox.
Note that since I manage the machine at the other end I actually use
ssh -X -Y -C -c blowfish
The -Y seems to let a few more things work. Not a big deal but it's
the way I do it.
I think -c blowfish may be the default but I type is anyway.
Cheers,
Mark
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] X-forwarding questions
2009-01-28 19:15 ` pk
@ 2009-01-28 20:23 ` Grant
0 siblings, 0 replies; 8+ messages in thread
From: Grant @ 2009-01-28 20:23 UTC (permalink / raw
To: gentoo-user
>> That's the weird part. Local gimp and remote gimp side-by-side on the
>> same screen look different. For example, the edges of the buttons and
>> widgets in local gimp are rounded but they aren't in remote gimp. Not
>> a big deal though.
>
> So what do gimp look like when you run it locally on the "remote"
> machine (i.e. not using ssh)?
gimp run without ssh on the remote machine looks just like gimp run on
the local machine. It only looks funny over ssh.
- Grant
>> When I ssh -X, start gimp, close gimp, and close the ssh session, the
>> terminal prompt disappears and only the cursor is visible in the
>> terminal. I have to ctrl+c to bring the prompt back. This doesn't
>> happen with ssh -X unless I open gimp during the session.
>
> So this only happens with gimp? It may be that gimp doesn't exit
> "properly"... I'm just guessing and I don't know why that would be.
>
>> Using -C, gimp is about 10x more responsive than if I don't. I was
>> surprised too. My laptop and the "remote" system are 15 feet away
>> from each other on the same wireless network, with the router in
>> between.
>
> Ah, well... can't argue with that. :-)
>
> Best regards
>
> Peter K
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] X-forwarding questions
2009-01-27 22:25 ` Grant
2009-01-28 19:15 ` pk
2009-01-28 19:48 ` Mark Knecht
@ 2009-01-28 20:30 ` Daniel Troeder
2009-01-28 22:13 ` Paul Hartman
2 siblings, 1 reply; 8+ messages in thread
From: Daniel Troeder @ 2009-01-28 20:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 731 bytes --]
Am Dienstag, den 27.01.2009, 14:25 -0800 schrieb Grant:
> Using -C, gimp is about 10x more responsive than if I don't. I was
> surprised too. My laptop and the "remote" system are 15 feet away
> from each other on the same wireless network, with the router in
> between.
Most X programs store their bitmaps in the X server - not the program.
You can see this if you look at the memory usage. So lots of data is
transfered if using gimp :)
BTW: If you can use cable instead of wireless, you may have a _much_
better experience, because of the latency that wireless adds.
BTW2: If your bandwidth is really small, you should use VNC instead of
ssh-X - though that's not to nice with image editing :)
Bye,
Daniel
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] X-forwarding questions
2009-01-28 20:30 ` Daniel Troeder
@ 2009-01-28 22:13 ` Paul Hartman
0 siblings, 0 replies; 8+ messages in thread
From: Paul Hartman @ 2009-01-28 22:13 UTC (permalink / raw
To: gentoo-user
On Wed, Jan 28, 2009 at 2:30 PM, Daniel Troeder <daniel@admin-box.com> wrote:
> Am Dienstag, den 27.01.2009, 14:25 -0800 schrieb Grant:
>> Using -C, gimp is about 10x more responsive than if I don't. I was
>> surprised too. My laptop and the "remote" system are 15 feet away
>> from each other on the same wireless network, with the router in
>> between.
> Most X programs store their bitmaps in the X server - not the program.
> You can see this if you look at the memory usage. So lots of data is
> transfered if using gimp :)
>
> BTW: If you can use cable instead of wireless, you may have a _much_
> better experience, because of the latency that wireless adds.
>
> BTW2: If your bandwidth is really small, you should use VNC instead of
> ssh-X - though that's not to nice with image editing :)
NX is the king... it's about a million times faster than VNC or ssh X
forwarding (or windows RDP).
net-misc/nxserver-freeedition is at the top of my "must have" list.
viewing full-screen images or working with gimp probably won't be a
treat no matter what, but it'd probably be many orders of magnitude
faster than ssh forwarding.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-01-28 22:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 17:22 [gentoo-user] X-forwarding questions Grant
2009-01-27 21:13 ` pk
2009-01-27 22:25 ` Grant
2009-01-28 19:15 ` pk
2009-01-28 20:23 ` Grant
2009-01-28 19:48 ` Mark Knecht
2009-01-28 20:30 ` Daniel Troeder
2009-01-28 22:13 ` Paul Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox