Enabling VNC graphics
On enabling VNC server on linux machine, it give us a kind of weird look, to make it colorful here is the solution.
1) To enable VNC run command
$vncserver
2) Open xstartup file
vi /root/.vnc/xstartup
3) Remove #from last two lines of first three lines
From this
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
To this
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
Start vnc server again
$vncserver
Change port from 1 to 2 on VNC viewer
Change option to (prefer on)
Comments
Post a Comment