LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-11-2013, 06:09 PM   #1
echipbk
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Rep: Reputation: Disabled
X11 Forwarding with -X and -Y.


I'd like to ask questions regarding that issue. I have 2 machines
- HP laptop is running Ubuntu 12.04
- Fujitsu tablet is running Fedora 18

Fujitsu plays the role of an SSH client (but X server)
HP laptop plays the role of an SSH server (but X client)

-------------------------

1. ssh -X HP_machine
This is OK for me

-------------------------

2. ssh -Y HP_machine
To be able to use the option -Y, we have to configure /etc/ssh/ssh_config on FUJITSU machine which is an X server.
ForwardX11Trusted yes

I read the following information at askubuntu.com:
http://askubuntu.com/questions/35512...sh-y-and-ssh-x

Quote:
If you use ssh -X remotemachine the remote machine is treated as an untrusted client. So your local client sends a command to the remote machine and receives the graphical output. If your command violates some security settings you'll receive an error instead.

But if you use ssh -Y remotemachine the remote machine is treated as trusted client. This last option can open security problems. Because other graphical (X11) client could sniff data from the remote machine (make screenshots, do keylogging and other nasty stuff) and it is even possible to alter those data.
There are 2 questions for this section:
- Do we configure "ForwardX11Trusted yes" on Fujitsu (not HP laptop)?
- Some security problems for ex: keylogging, making screenshot. This mean we can do those stuffs at HP machine. Can you give me an example of how to do that? (either keylogging or making screenshot). But that example should not work with "ssh -X ..." option.

-------------------------

3. Both -X and -Y
X forwarding doesn't seem to work with some applications. For ex, it worked fine with xterm and xeyes. However, when I ran $loffice (or $chromium-browser), these app GUIs didn't appear on my Fujitsu machine.
-> why is this?

Last edited by echipbk; 02-11-2013 at 06:11 PM.
 
Old 02-11-2013, 06:16 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
It's always best to let us know what's your goal.
Do you want to run an X application in one box and display it in another, on trusted network? If this is the case just use the X native mode. Log on to the remote box - doesn't matter how - start the app and direct the DISPLAY to your local box. Very easy and simple.
 
Old 02-11-2013, 08:32 PM   #3
echipbk
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
I am experimenting X11 Forwarding. And there are some of the questions I posted on my first post. Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 Forwarding Oxagast Linux - Software 1 09-02-2008 03:14 AM
X11 Forwarding BlueTornJacket Linux - Server 11 03-12-2007 05:00 PM
X11 forwarding paul_mat Linux - Newbie 3 12-12-2004 06:30 PM
X11 forwarding JanDeMan Mandriva 1 04-17-2004 09:02 PM
Need Help with X11 forwarding phatboyz Linux - General 3 04-16-2004 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration