Posts

Showing posts with the label vnc

HowTO: Install VNC Server On CentOS 6.3

1. Install Tigervnc Server view plain copy to clipboard print ? [root@demo ~]# yum -y install tigervnc-server   2. Install X Windows and GNOME. This used to be yum groupinstall "X Window System" "GNOME Desktop Environment", but is now simply: view plain copy to clipboard print ? yum groupinstall  "X Window System"   "Desktop"    3. Create a user (or use and existing user) and create VNC login. view plain copy to clipboard print ? [root@demo ~]# useradd david   [root@demo ~]# passwd david   Changing password  for  user david.   New password:   Retype  new  password:   passwd: all authentication tokens updated successfully.   [root@demo ~]# su - david   4. Switch to the user (su - user) and is...

VNC Server On Ubuntu

#sudo apt-get install vnc4server Now setup a password to login using the following command. It will prompt to setup a password and verify it #vncpasswd Than run the vnc server using #vncserver :1 Now before you proceed kill it once using #vncserver -kill :1 Now open the config file from .vnc/xstartup or ~/.vnc/xstartup using editor .vnc/xstartup  Than uncomment the line which says unset SESSION_MANAGER And add sh to the line below it like this exec sh /etc/X11/xinit/xinitrc Exit the file and run the command as below  #vncserver :1 -depth 16 -geometry 1024×768 connect using <ip-addr>:1 (:1 is for the vnc server window) You now have GUI access to your server.