Ubuntu Fan

life with ubuntu on a thinkpad T40

Remote X Applications

Posted by ubuntufan on August 17, 2007

I know, I know…I’ve disappeared for a while. Summer is busy for me and I had to…..well I really have no excuse, but I’m back again for at least a while.

As you may or probably do not know, my work environment is composed of 29 glorious, non-windows servers. A fair amount of them are Solaris 9 with a dusting of Solaris 10, with the rest being various Linux distros. I wish I could change them all to the same distro but everything works, so I won’t complain too much. I occasionally wander away from the command line and need to run an X application of some sort; usually an installer. No problem right? From a CLI, just type xhost + , ssh to the Solaris box I need, export the display and that’s it…run any X app you like. Wait…what’s this? Error: Can’t open display: ????

This was making me mad….I had to install Oracle and didn’t feel like having to dig around to find out what the problem was. I brought up my Chatzilla window and logged into #ubuntu ( a great place for answers) The solution was simple and I believe it is a new security “feature” in 7.04 ( but I’m not 100% sure) All you have to do is go to the system menu, click on Administration and then click on Login Window. From there, click on the security tab and un-check the “Deny TCP connections to Xserver” check box….that’s it. Everything will work as expected from there.

There is a chance that this could possibly be a security hole but it’s easy enough to toggle on and off when needed if you’re paranoid. Hope this helps.

Dale

About these ads

15 Responses to “Remote X Applications”

  1. kevin said

    thanks Dale – this was very very very useful.

  2. Tom said

    Exactly what I was looking for. I think you have to logout and log back in before the change takes effect however.

  3. buy ebay said

    The main thing i’m enjoying while reading your blog is the way you write, you are a really charismatic person and your posts are wonderful, keep it up!

  4. yann said

    Thaaaaaaaaaaanks !

  5. Sri said

    You are awesome.. I was thinking of moving to some other distro after fiddling with x11 setting for 3+ hours. I found your suggestion so useful

  6. Jake said

    Thanks for this! I was also work at it all yesterday before discovering your post. FYI, to accomplish the same thing from the command line, you just need to edit /etc/X11/xinit/xserverrc and remove the -nolisten tcp flag. I do believe you need to restart X after changing this setting.

    Thanks again,

    Jake

  7. Allotropy said

    Somehow i missed the point. Probably lost in translation :) Anyway … nice blog to visit.

    cheers, Allotropy
    .

  8. Just wondering if this blog is dead? I’m running Ubuntu on a T41 and would love to see a blog/site dedicated to running Linux on “T” series laptops.

  9. technology said

    I are is confused …

  10. thanks

  11. thanks again

  12. cam balkon said

    thnks you

  13. perde said

    thansk efm

  14. suratem said

    SURA-TEM compatible with today’s technology there-Jul tracking technology to sign on the glass balcony design service sector has entered 2007 on a range of products have expanded at a later time is a glass decoration company.

  15. Vishal said

    We can offer far more better configuration for Linux VPS in less $ in compare anyone offer today. On top of it we also now offer 30% flat discount on every purchase.
    For example:-
    200 GB HD
    3 GB RAM
    Unlimited Bandwidth (We don’t keep counter on this)
    Dual Core 2.0 GHz
    1 Static IP
    ———–
    30$ / Month
    ———–

    lot more to explore… guys.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: