LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 08-18-2013, 03:55 PM   #1
ixion2600
LQ Newbie
 
Registered: Aug 2013
Posts: 11

Rep: Reputation: Disabled
x11 forward display+ssh+putty


Hello All,

This is my first post on this forum but this forum has inspired me for a long while now

I have a situation that I cannot solve. I am running a vm on centOS running sshd.

from another debian system I can easily do ssh -x bla bla, start firefox or whatever application and it works with no issue.

From another windows machine, I am trying to do the same thing, with putty, with the required options (ssh -> x11 -> enable forwarding and tunneling) and it is not working. I receive the error: Error: no display specified

sshd_config:

X11Forwarding yes
X11DisplayOffset 10

all operations done with root.

Is there some trick with putty that I don't know? I haven't used windows for a long time now..
 
Old 08-18-2013, 03:59 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,651
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
To get that working you need an X server for your Windows machine. I have never tried that, but from what I have read the one in Cygwin, Cygwin/X, should work.
 
Old 08-18-2013, 04:12 PM   #3
ixion2600
LQ Newbie
 
Registered: Aug 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi Tobi,

I already installed an x server on the windows wm .. well I will try to dig more. It was just a test so I have time to search for it and experiment.

Maybe there is somebody that succeeded with this and is willing to paste a link or a hint

Thanks.
 
Old 08-19-2013, 04:29 PM   #4
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC19, Raspbian
Posts: 295

Rep: Reputation: 38
Quote:
Originally Posted by TobiSGD View Post
To get that working you need an X server for your Windows machine. I have never tried that, but from what I have read the one in Cygwin, Cygwin/X, should work.
I have had some success with Xming. No license squabbles as it it from sourceforge.

ssh -X back to Xming...no issues.

Philip
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH x11 forward nvidia-settings igor012 Linux - General 0 02-06-2013 08:44 PM
X11 over SSH: $DISPLAY not being set Dria Linux - Networking 4 10-25-2010 02:47 PM
putty vs. ssh -X (why different $DISPLAY needed) musthero Linux - Networking 4 02-19-2009 08:41 PM
Forward X11 multiple ssh sessions doublejoon Linux - Networking 5 04-26-2007 04:55 PM
ssh with putty and x11 forwarding provkitir Debian 4 06-10-2005 10:58 PM


All times are GMT -5. The time now is 07:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration