//Create a none root Linux account with out Super User commands. Also make a very strong password.
useradd matrixfox8
passwd matrixfox8
//After "passwd yourusername" it will prompt you for Unix password.
TIP: You can also stop here and go straight to installing the basis of rathena and mysql. Them come back here later.
// DO NOT RUN AS ROOT!!!NEVER, NEVER, FOR THE LOVE OF GOD, NEVER RUN AS ROOT!!!!!!!!!!!!! //After starting and killing the processes, it will create a xstartup file for that account.
vncserver :2
//In the middle of this you will be prompt to setup a VNC password.
vncserver -kill :2
//Edit your xstartup with Nano
nano ~/.vnc/xstartup
//Remove the # in front of unset, exec. Then add and edit these two following lines.
Quote
#!/bin/sh (while true ; do xterm ; done ) & # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] & exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] & xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session &
TIP: Make sure you press enter at the very end of nano, leaving a blank syntax line..
//Start VNC n' get ready to log in.
vncserver :2
//Now open your VNC client and log in as your ip, remember the :2 for the port number at the end of the IP.
Quote
192.168.1.100:2
//VNC Super User Commands
/sbin/service vncserver start /sbin/service vncserver stop /sbin/chkconfig vncserver on
--------------
I followed this guide and i still cant connect on my vnc viewer
Question
BugsLIFE
//You can start by installing Gnome Environment and VNC.
//Use Nano to edit /etc/sysconfig/vncservers
//Remove the # in front of these syntax. Change the user name and geometry.
Quote
//Create a none root Linux account with out Super User commands. Also make a very strong password.
//After "passwd yourusername" it will prompt you for Unix password.
TIP: You can also stop here and go straight to installing the basis of rathena and mysql. Them come back here later.
// DO NOT RUN AS ROOT!!! NEVER, NEVER, FOR THE LOVE OF GOD, NEVER RUN AS ROOT!!!!!!!!!!!!!
//After starting and killing the processes, it will create a xstartup file for that account.
//In the middle of this you will be prompt to setup a VNC password.
//Edit your xstartup with Nano
//Remove the # in front of unset, exec. Then add and edit these two following lines.
Quote
TIP: Make sure you press enter at the very end of nano, leaving a blank syntax line..
//Start VNC n' get ready to log in.
//Now open your VNC client and log in as your ip, remember the :2 for the port number at the end of the IP.
Quote
//VNC Super User Commands
/sbin/service vncserver stop
/sbin/chkconfig vncserver on
Link to comment
Share on other sites
0 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.