• Announcements

    • Emistry

      Rules and Regulations - General/Script/Database/Source Support   11/17/16

      In all sub-forums of this section , you are still bound to follow the rAthena Board Rules. Topic Author: Do not release scripts that are not of your own creation unless you can provide evidence of explicit permission from the original author to do so. Attempt to post your script in the proper section. If you're not certain as to where to post it, feel free to ask one of the Moderators. Do provide an informative title.  Do provide at the very least a 3-4 sentences description or summary that clearly states what your script does.  Attempt to have multiple hosts for your scripts as to prevent dead links. 3 or more links are ideal. Links to your issue should directly provide the relevant items without the need for registration.  Make use of BBCode for respective contents.  Mark the reply as "Best Answer" in case it solved your issue. You may as well consider give them a reputation for the help. Vote Up relevant replies, and Vote Down for irrelevant replies. You're not allowed to bump your topics if you're not providing any new updates prior to your previous post.   Member: You're not allowed to bump your topics if you're not providing any new updates prior to your previous post. Do not post anything irrelevant contents in the topic. Vote Up relevant replies, and Vote Down for irrelevant replies. You may only post into this area if you are willing to either write new or make changes to scripting code yourself.  Do not criticize others reply being too general or without concrete scripting code.    Everyone: Violate these rules may result in immediate deletion of the topic/post, warning increase, and restriction of posting abilities for a certain period of time. On future offenses, member is to receive an increase in the warn level and have their posting abilities restricted for a certain period of time to be determined by the Moderators handling the case.
      * rAthena Staff reserves the right to add to and change the rules at any time. It is your duty to keep up with any changes and follow them to the best of your ability.   Your cooperation in this regard will be highly appreciated. Thank you.
  • 0
deathscythe13

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

Question

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
2

Share this post


Link to post
Share on other sites

5 answers to this question

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

This may find a home better in the wiki.

Also, in lieu of installing gnome-desktop-environment which would probably install a whole bunch of desktop crap you'll never use, such a mail client, some games, etc. install gnome-core instead.

2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now