LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   options -X or -Y on SSH is not working for graphic mode (https://www.linuxquestions.org/questions/linux-general-1/options-x-or-y-on-ssh-is-not-working-for-graphic-mode-912047/)

Jorcelangelo 11-05-2011 01:28 PM

options -X or -Y on SSH is not working for graphic mode
 
Hello everybody,

I am using SSH to connect to a ubuntu 11.10 server. I installed LXDE. I am accessing this server from the internet using ssh. I have my router forwarding to port 22 to my server's ip. I am attempting to connect to the server using this commends:

ssh -X user@server_ip or
ssh -Y user@server_ip

I enter the password, I wait a few seconds and then ssh login in text mode (terminal). That is not what I want.

So after search on the internet I found that I need to edit the sshd_config so I did as

sudo nano /etc/ssh/sshd_config

I found that the line

X11Forwarding yes

already was set to 'yes'.

So I don't know how it fix the problem, why I have this problem.

If anyone know how to resolve this problem and wish to help me I already THANK YOU.

macemoneta 11-05-2011 01:43 PM

The -X or -Y options don't change the text-mode behavior of ssh. They allow you to start X applications and have the graphical user interface sent back and displayed on your X server.

Jorcelangelo 11-05-2011 01:59 PM

Quote:

Originally Posted by macemoneta (Post 4516675)
The -X or -Y options don't change the text-mode behavior of ssh. They allow you to start X applications and have the graphical user interface sent back and displayed on your X server.

I did not know that. Thanks for your comment, but now how I proceed to resolve the issue?

TobiSGD 11-05-2011 02:08 PM

Just start the applications you want to use.

Jorcelangelo 11-05-2011 02:21 PM

Quote:

Originally Posted by TobiSGD (Post 4516691)
Just start the applications you want to use.

That was it!!! Simple solution.
I thanks for all of you who helped me.
I appreciate.


All times are GMT -5. The time now is 11:52 PM.