View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jul 19, 2005 12:47 pm 
Offline
Joined: Tue Apr 06, 2004 7:28 am
Posts: 38
Location: Boston
My main mythtv box is in the livingroom attached to the TV. Although X works fine on the TV, I often want to mess with the configuration from my Windows computer in the office. (I don't always want to reboot into Linux.)

I have Cygwin/X installed on the Windows box. I've tried using ssh -X to log into mythtv box, which works, but then I can't bring up X applications. I get the message Xlib: No protocol specified

xterm Xt error: Can't open display: 192.168.1.100:0

Also, if I use auth list, I get the message:

xauth: creating new authority file /home/rben/.Xauthority

but the file never gets created, even though I have complete permissions to the directory.

I'm stumpled. Any help would be appreciated.

Thanks,
Ray

_________________
-- All that is gold does not glitter -- J.R.R. Tolkien


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 19, 2005 1:10 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Check /etc/ssh/sshd_config
Is X11Forwarding yes or no? Don't forget to restart ssh after making the change.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 19, 2005 4:14 pm 
Offline
Joined: Sun Jan 16, 2005 8:23 pm
Posts: 94
Another option is to use VNC. This works really well for me. There are some instructions on the wiki (http://knoppmythwiki.org/index.php?page=x11vncHowTo)

First, I connect from my windows box as root using the PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) ssh client, and issue the following command to start the VNC server on my myth box:
Code:
x11vnc -display :0 -auth /var/lib/gdm/:0.Xauth &

Then I connect using the windows RealVNC client.
When you disconnect the VNC client, the VNC server will shut down on your myth box, so you have to restart it again to connect again.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 19, 2005 5:16 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Ray, maybe try 192.168.1.100:0.0 instead.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject: It works now!
PostPosted: Tue Jul 19, 2005 8:19 pm 
Offline
Joined: Tue Apr 06, 2004 7:28 am
Posts: 38
Location: Boston
Cesman had it right, as usual. I didn't have X11Forwarding set to yes in the sshd_config file. Once I changed that and did xhosts +, I was able to run X applications easily. It's very nice. I can now do all my maintenance for the livingroom box from the office.

Thanks guys

_________________
-- All that is gold does not glitter -- J.R.R. Tolkien


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 76 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu