LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-23-2006, 07:13 PM   #1
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Rep: Reputation: 30
Question x11 through ssh


Hi,

I've been attempting to launch X11 apps that are on my linux computer over the network onto an Apple computer. I made the changes to ssh_config and sshd_config to allow the X forwarding, and I am using the -X parameter for ssh. However, all attempts to run X11 apps give me errors, saying that they cannot connect to the display or cannot connect to the x server.

I've looked through these forums and google a ton and have not found out why it isn't working. Linux box has Slackware 10.2 on it. Apple is running OSX 10.4.3 and has X11. What am I doing wrong?
 
Old 04-23-2006, 07:16 PM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Did you launch X11 on the Mac side first? It's not smart enough to do it automatically - you have to do it yourself ahead of time. In fact, I think you need to do so before you run ssh, so ssh can get your X11 credentials.
 
Old 04-23-2006, 07:20 PM   #3
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Original Poster
Rep: Reputation: 30
Thanks for the quick reply! I solved the issue. I ran sshd to restart the daemon, but that did not work. I decided to outright kill the process and restart it, and that works.

Cheers!

Oh, the colors are slightly off. Do you know if there is a way to fix that? (does it have a different default number of colors, and can I change it?)

Last edited by Atmchicago; 04-23-2006 at 07:24 PM.
 
Old 04-23-2006, 07:28 PM   #4
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
I've never noticed the color issue. Maybe it has to do with the gamma difference? Last I knew, X11 on Linux uses 1.0, and Mac uses something like 2.2.
 
Old 04-23-2006, 07:40 PM   #5
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Original Poster
Rep: Reputation: 30
Ah, the local display was in thousands, not millions.
Now, though, all black text has a nasty yellow to it. It's probably some combination of my remote computer and this computer both trying to apply text effects on the letters. (like the sub-pixel hinting or whatever that is)
 
  


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
Need HELP SSH X11 Forwarding wylie1001 Linux - Software 2 04-11-2006 09:12 PM
X11 forwarding over SSH SirSlappy Linux - Networking 1 10-18-2005 02:37 PM
Tunnel x11 thru SSH XaViaR Linux - General 8 07-27-2005 12:30 PM
ssh, X11 blackzone Linux - Networking 1 08-05-2004 07:07 AM
x11 with ssh apax Linux - Newbie 5 09-06-2003 07:16 PM


All times are GMT -5. The time now is 10:15 AM.

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