Jump to content
  • 0

[GUIDE] How to install vnc4server in Debian OS to operate gui in Windows


deathscythe13

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

To anyone who doesn't know about what is VNC Software - it is a remote control that let you controls your vps and with gui to easily navigate linux.

FIRST GUIDE IS FOR YOUR VPS:

first get vnc4server and install in your os:

apt-get install vnc4server

next get GNOME and install this may take a while so wait

apt-get install gnome-desktop-environment

next is if you dont have another user aside root yet do the following else SKIP!:

adduser "youruser"

passwd "yourpass"

next if you already have a user which you will be using to start vnc server, switch to your user:

su - "youruser"

then type:

vncpasswd

it will then let you type a new vnc password like this and dont forget your password we will use it to connect your vnc client:

Password: "yourvncpass"

Verify: "yourvncpass"

next is in order for the ".vnc/xstartup" file to appear you will run vnc for the first time:

vncserver :1

<-- NOTE: The :1 here is the id you put next to your ip, so for example yourserverip:1 / yourdomain.com:1

next is you stop your vnc to do this:

vncserver -kill :1<-- NOTE: The :1 is the id that your vnc started, so in order for you to stop you must put the right id

that was running

next is you change ".vnc/xstartup" file to do this:

vi .vnc/xstartup

you can also locate this file in /home/USERXXX/.vnc using FTP..

the code above will lead you to ".vnc/xstartup" file and edit it, you will add below:

# exec /etc/X11/xinit/xinitrc

exec gnome-session &

To Edit: Press "A" so that you can type in the file

To Exit: Press "Esc" and type ":wq" to go back and save.

after all of that run again your vnc using this:

vncserver :1 -geometry 1024x768 -depth 24

TADA!! and your VNC Server is now running!!

NEXT GUIDE IS FOR YOUR PC/MACHINE THAT YOU WANT TO CONNECT TO YOUR VPS:

Download: http://realvnc.com/p...1/download.html from here or Search in: http://www.google.com

Run your VNC it should look like this:

72429938k.jpgOR 19018893.jpg

Next is you enter your vnc password in STEP 5 of GUIDE for VPS:

86136910.jpg

Lastly The GUI inside!! :D

29038464.jpg

Edited by deathscythe13
  • Upvote 2
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

Nice, LOVE IT!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

Nice guide! Very descriptive, this probably would work for Ubuntu Server as well.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

Nice guide! Very descriptive, this probably would work for Ubuntu Server as well.

This same method works pretty much on every RPM based OS's.

Good Luck

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  206
  • Reputation:   16
  • Joined:  01/03/12
  • Last Seen:  

Of course the installation packages may differ for their names depending on the distro though but since Ubuntu is based on Debian, I'm pretty sure they're the same.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...