First of all: I googled all day and tried several suggestions on different forums with no luck
The problem: I am not able to start a vnc server on a remote machine through ssh Additional information:
- Host: Ubuntu 12.04
- client: Ubuntu 14.04 in VritualBox
- I have no physical access to the remote machine
this works:
ssh -Y user@hostname
When I check the Display i get this:
$ echo $DISPLAY
localhost:10.0
now I start the vnc server: /usr/lib/vino/vino-server
=> this works but when I connect to vnc I see my own screen (from the ssh client) and not the remote screen
It looks like localhost:10.0
takes my local screen. Am I right?
I also tried this as I want the remote screen:
/usr/lib/vino/vino-server --display :0.0
which results in the following:
$ /usr/lib/vino/vino-server --display 0.0
(process:6843): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Cannot open display: 0.0
Run 'vino-server --help' to see a full list of available command line options
Why is it not able to open display 0.0?