Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a ubuntu machine that can be accessed remotely using putty. I run xming in the windows and Enabled X11 forwarding in putty. So if i start wireshark in the putty, i get the display in my windows. If I need to do the same thing from ubuntu, what should be installed. That is. From one ubuntu pc I am doing ssh to the remote machine. what software should be installed so that i can see the ui(if i start wireshark in the remote pc in the ssh).

Thanks & Regards, JS

share|improve this question
up vote 1 down vote accepted


You can install putty if you like, but there is a command line ssh client installed by default. There is no need for another X Server (that is what xming is).

The default command to start a ssh session with X fordwarding enabled is:

ssh -X target.machine.address
share|improve this answer
Yeah.. I am able to do ssh to the remote machine. But If i start wireshark in the remote machine, I get this error "(wireshark:12931): Gtk-WARNING **: cannot open display: :0.0" – user1667630 Jan 3 '13 at 9:46
I have made an edit to the answer, if it doesn't help please add: How are you connecting?. Using putty or the default ssh cliente?. Are you using any command line switchs?. Have you changed something in putty config? – Javier Rivera Jan 3 '13 at 9:49
Hi. Thanks a lot.. It is working :) – user1667630 Jan 3 '13 at 9:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.