LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-13-2006, 12:47 PM   #1
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Rep: Reputation: 30
xhost?


hi,

i m a little confused abt the whole x windows thing~! i mlooking it up on the web..
but here is my immediate problem..i export the display variable and set it from a remote m/c so that i can see the display on my local machine..however my local m/c runs Debian linux, in which i think by default there is a nolisten to TCP on the display port...where do i disable this from?

also is xhost + an unsecure option to use?

thanks
ashlesha.
 
Old 07-13-2006, 01:25 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
It's definitely a security hole; if you need the whole remote desktop
I'd suggest using tightVNC; if you're after a single programs output
use ssh with X-forwarding.


Cheers,
Tink
 
Old 07-13-2006, 01:32 PM   #3
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
man iptables, man xhost I suggest for the first try.
And for 'xhost +' - I think it's bad to have it on all of the time. By the way, do you go through ssh all the time? man ssh, /-X: ssh -X rules and is more secure.
 
Old 07-13-2006, 01:50 PM   #4
ashlesha
Member
 
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
yeah ssh -X is a good one..
thanks guys!
ashlesha.
 
Old 07-14-2006, 03:13 AM   #5
osio
Member
 
Registered: Jun 2005
Posts: 70

Rep: Reputation: 15
ssh -X user@server

Wow, ssh -X user@server is amazing! Super, thanks a lot!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
xhost + mlykam Linux - Software 3 03-17-2005 09:50 AM
xhost itsjung Linux - Newbie 4 12-22-2004 05:58 AM
xhost + and 9.1 Mufasa SUSE / openSUSE 1 11-14-2004 11:19 AM
xhost + RoaCh Of DisCor Slackware 3 10-02-2004 04:31 PM
xhost invasian Linux - Newbie 3 08-08-2004 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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