Hacker News new | ask | show | jobs
by atq2119 325 days ago
> localhost ssh connection to a second account

Any particular reason why you cannot simply use su or sudo for this?

1 comments

it would not make a difference, would it? do you see any benefits? ssh -X can forward windows to my gui and it just works.
The overhead is certainly less.

I haven't felt the need to run a graphical application as a different user in a long time, but presumably you could forward the right environment variables and have it work including HW acceleration (which ssh X forwarding certainly doesn't support)

ok, good point. i didn't consider that. it hasn't been a problem so far. probably my laptop is fast enough. but i'll keep that in mind. thanks