Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have found next instruction on how to do that

  1. Install packages. Code: sudo apt-get install x11vnc vnc-java
  2. Set up a password for clients. Code: x11vnc -storepasswd
  3. Open up ports 5800 and 5900 on your firewall Run the terminal command:
    x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800

    and add it for auto-starting in future sessions

    Additionally I have executed

    x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5900

    But no success from my vnc client, although I can ping ubuntu

share|improve this question
    
Does your server have X installed? –  Andrew Aug 8 '10 at 22:34
    
i am not sure, and probably not, how can i do that? –  volody Aug 8 '10 at 23:06
add comment

1 Answer 1

up vote 1 down vote accepted

To expand on my comments: being a server, it probably doesn't have X installed.

The simplest way to get "everything" would be sudo apt-get install ubuntu-desktop. For a more minimal setup you will need xorg and a window manager of your choice; apt-cache search x-window-manager will give you a list.

share|improve this answer
    
i did that "sudo apt-get install ubuntu-desktop", but what should i do next. vnc still is not available –  volody Aug 12 '10 at 0:00
    
it looks like i have found how to start desktop: startx –  volody Aug 12 '10 at 0:16
    
i was able to run x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 from terminal and able to use vnc, but how i can set it permanently –  volody Aug 12 '10 at 0:27
add comment

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.