VNC(Desktop) Setup on Centos
Hi everyone. Now I show How to setup VNC desktop on Centos.
This method my special technique.
1. we check new updates and setup open ssh and login and you enter that code
2. Now we start to setup vnc desktop
FOR KDE
For example:
if you use domain your login ID "server.yourserver.com:1".
if you use IP adress your login ID "123.123.123.123:1".
Now you Download REAL VNC VIEVER on google and use your login ID and pass with login your server Desktop.
Good Luck. My next lesson = How to setup WINe(Virtual Windows) on Centos?
1. we check new updates and setup open ssh and login and you enter that code
sudo yum -v check-updatenow we check new updates, now try to setup this updates
yum -y updatewhen finish updates, we will continue...
2. Now we start to setup vnc desktop
yum -y install kde* vnc* nanoNow if you want use your desktop with GNOME use this code after vnc setups
yum -y groupinstall "GNOME Desktop Environment"My choose is KDE so I am not install GNOME sension after installing we set password for login vnc desktop write this code on ssh
vncserverNow you see this screen
Password: Verify: xauth: creating new authority file /root/.Xauthorityyou set password 2 times on this screen. and now we must edit some files
nano /root/.vnc/xstartupNow you delete all codes in ssh screen and enter this codes
FOR KDE
#!/bin/shFOR GNOME
xrdb $HOME/.Xresources
xsetroot -solid gray
vncconfig -nowin &
exec /usr/bin/autocutsel &
/usr/bin/rxvt -T "`whoami`@`hostname`" -e bash -l &
startkde &
#!/bin/sh3. Now reboot your server for start use VNC desktop. After reboot you enter this code on ssh
xrdb $HOME/.Xresources
xsetroot -solid gray
vncconfig -nowin &
exec /usr/bin/autocutsel &
/usr/bin/rxvt -T "`whoami`@`hostname`" -e bash -l &
gnome-session &
vncserverwhen enter this code on ssh you see this code
New 'server.yourserver.com:1 (root)' desktop is server.yourserver.com:1This is your login ID's.
For example:
if you use domain your login ID "server.yourserver.com:1".
if you use IP adress your login ID "123.123.123.123:1".
Now you Download REAL VNC VIEVER on google and use your login ID and pass with login your server Desktop.
Good Luck. My next lesson = How to setup WINe(Virtual Windows) on Centos?
Yorumlar
Yorum Gönder