General Linux commands

Checking OS flavor and version of Linux

    cat /etc/os-release

Create Fedora GUI

    yum grouplist

    yum groupinstall "X Window System"

    init 5

Create VNCServer session

    vncserver

Create VNC password

    vncpasswd

Remove VNC session

    vncserver -kill :2

If GUI is not shown in VNC then https://www.youtube.com/watch?v=B6et8JZFylA

 vi /home/tsutrave/.vnc/xstartup

Uncomment below 2 line and the do vncserver

#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" &
twm &


Comments

Popular posts from this blog

How to do AJAX using XMLHttpRequest for large data

Caching mechanisms in modern world browser

Polymorphism in Java OOP