0% found this document useful (0 votes)
32 views1 page

OS - VNC - On - Linux - 7

The document configures VNC access on a server for the root, grid, and oracle users. It sets up Xstartup scripts to launch a desktop environment for each user's VNC session, configures passwords for VNC access, and starts and stops VNC servers on ports 1-3 to allow remote graphical access as those users.

Uploaded by

Asif Ghazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

OS - VNC - On - Linux - 7

The document configures VNC access on a server for the root, grid, and oracle users. It sets up Xstartup scripts to launch a desktop environment for each user's VNC session, configures passwords for VNC access, and starts and stops VNC servers on ports 1-3 to allow remote graphical access as those users.

Uploaded by

Asif Ghazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

su – root

check all processes in /tmp


ls -la
deleted all file like .X2-lock

su – oracle
vncpasswd
cd .vnc/
vi xstartup

#!/bin/sh
# 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 &
#twm &

chmod 777 xstartup

vncserver :2
vncserver -kill :2

root:
vncserver :1
vncserver -kill :1

grid:
vncserver :2
vncserver -kill :2

oracle:
vncserver :3
vncserver -kill :3

You might also like