deathscythe13 Posted April 17, 2012 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 118 Reputation: 7 Joined: 01/25/12 Last Seen: February 11, 2023 Share Posted April 17, 2012 (edited) 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: OR Next is you enter your vnc password in STEP 5 of GUIDE for VPS: Lastly The GUI inside!! Edited April 18, 2012 by deathscythe13 2 Quote Link to comment Share on other sites More sharing options...
Matrixfox Posted April 17, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 277 Reputation: 76 Joined: 11/23/11 Last Seen: September 21, 2014 Share Posted April 17, 2012 Nice, LOVE IT! Quote Link to comment Share on other sites More sharing options...
Hayate Yoshida Posted April 17, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 206 Reputation: 16 Joined: 01/03/12 Last Seen: March 16, 2024 Share Posted April 17, 2012 Nice guide! Very descriptive, this probably would work for Ubuntu Server as well. Quote Link to comment Share on other sites More sharing options...
Matrixfox Posted April 18, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 277 Reputation: 76 Joined: 11/23/11 Last Seen: September 21, 2014 Share Posted April 18, 2012 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 Quote Link to comment Share on other sites More sharing options...
Hayate Yoshida Posted April 18, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 206 Reputation: 16 Joined: 01/03/12 Last Seen: March 16, 2024 Share Posted April 18, 2012 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. Quote Link to comment Share on other sites More sharing options...
Question
deathscythe13
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:
Next is you enter your vnc password in STEP 5 of GUIDE for VPS:
Lastly The GUI inside!!

Edited by deathscythe13Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.