How do I start gnome from command line?
Answer
To launch gnome from terminal use the command startx . You can use ssh -X or ssh -Y to his machine to run apps on your friend’s machine but using your Xorg. The web browser will still be making the connection from his hostname.