Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to enable X11 forwarding from my headless ubuntu server (12.10) to regular ubuntu to forward virt-manager so I can install windows kvm machines. The problem is when I try to open an X window from an X-enabled ssh session (ssh -X user@server), the $DISPLAY variable is empty, and I get the error "display is not set".

Can somebody please point me in the right direction, I read several topics on the internet that advise to install xvbf, some that don't, issues with xauth,... But a lot of that information contradicts each other. To be clear: I'm not searching for other methods of virtualization or a different way to install my vm, I just want X forwarding fixed.

share|improve this question

1 Answer 1

Check to see if forwarding is disabled:

grep Forwarding /etc/ssh/sshd_config

More info on this page: https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding

share|improve this answer

Your Answer

 
discard

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.