Question: how to connect two laptops via hdmi cable?
Answer: To do this you need 2 HDMI ports (Output and Input) on the laptop to support this. Alienware M17x and M18x models have 2 HDMI ports. One for input and one for output. You could use an HDMI splitter if you like to use second external laptop monitor is going to simply be a mirror of the first.