Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I hope I'm posting this in the right section, at least it feels like a newbie question.
When I ssh into my computer at work I can't copy/paste text from the remote shell to a shell on my local machine. I've tried both highlighting the text and using the middle mouse button as well as Ctrl-ins/Shift-ins.
My local computer is running Slackware with Bash and my work computer runs Fedora. I log in with 'ssh -fX hostname xterm'. I've never experienced this problem before and I'm fairly new to Slackware (used suse, debian, and ubuntu before) so I'm hoping someone can help me out.
What window manager/DE are you using on slack? I have no problems with copy &
paste to/from remote sessions under Slack using fluxbox and rxvt (or xterm, for
that matter) as my local environment.
I'm using XFCE on the slack machine. I used that in the other distros as well but maybe i've missed a configuration somewhere. I've tried with xterm locally as well.
Hm, an update: If I connect with ssh -fY everything works as it should. So the -X option in my slack installation seems more restrictive than that under other distros?
I think I've got it down now, I need to read up on ssh but everything works.
On my local machine I can paste normally between all xterms.
If I connect with ssh -X I can paste between all remote xterms.
To paste between a local xterm and a remote xterm I need to connect with ssh -Y instead, which is less restrictive (if I understand the man-file correctly).
The only weird part is that ssh -X seemed to allow paste on my previous distros.
I'm confused as to why the less restrictive version does work, though, my understanding
was that only the local primitives would be used for the copy & paste business, so I'd
have thought that if you see anything on screen you should be able to copy & paste it.
Odd.
:}
Will have to find an FC machine to play with ;}
[update]
A quick test from a slack to a RH server 5.2 machine works
just as expected, whether I just use ssh, ssh -X makes no
difference ... I find your results with the FC box quite
bewildering, to say the least.
[/update]
Cheers,
Tink
Last edited by Tinkster; 03-08-2009 at 05:55 PM.
Reason: [update]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.