Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


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

Rep: Reputation: 30


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?

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

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
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.

Old 07-13-2006, 01:32 PM   #3
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
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
Registered: May 2005
Location: PA
Distribution: Ubuntu
Posts: 204

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

Rep: Reputation: 15
ssh -X user@server

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


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration