3

I installed elementary OS on my laptop and tried to install VNC server. First I installed vnc4server, opened and logged from phone. On screen I saw:

failed to load session gnome

How do I need to configure it to run under elementary OS? I am not interested in installing GNOME.

1

Create a file named .xsession in your home directory and write the following content into it.

 gnome-session --session=pantheon

Then restart the vncserver and connect again. I tested this with tightvncserver.


If you want to use display:0 use x11vnc. Here you can find more information about how to setup and connect to a x11vnc server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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