SYSTEM SERVICES
GUI of redhat is maintained by XORG
All config files related to GUI is available in /etc/X11
1. Gui in runlevel 3 --> /etc/X11/xinit/xinitrc
2. Gui in runlevel 5 --> /etc/X11/prefdm
vim /etc/X11/xorg.conf -->config files to set display resolution
system-config-display -->tool to change display settings
TO ADD MULTIPLE GUI'S
Syntax: startx -- :n ->where n is number.
EX: startx -- :5 ->create 5th gui.
Configuring vnc server (virtual network console )
Server Config
1. yum list vnc-server
2a. vncserver -->creates passwd and creates .vnc/xstartup file OR
2b. vncpasswd -->change passwd
3. vim /root/.vnc/xstartup
uncomment first 2 lines of above file
4. vim /etc/sysconfig/vncservers
uncomment last two lines of file + set
root:20 ->where root is user and 20 is session id
5. service vncserver restart
Client Config
1. yum install vnc -y
2. vncviewer //Opens a rectangular box
3. type serverip:sessionid / and you get connectd to server gui
SSH -->secured shell remote login
ssh <remoteip> -->connect to text terminal of remote machine
ssh <user>@<remoteip> ->connect as u1 txt termial of remote machine
ssh -X <remoteip> -->connect to GUI of of remote machine
ssh <remoteip> <command> -->execute command from remote machine
Crontab -->used to schedule jobs
1. cat /etc/crontab -->main config file of crontab
cat /etc/cron.weekly -->system scheduled weekly job
cat /etc/cron.hourly -->system scheduled hourly job
cat /etc/cron.monthly -->system scheduled montly job
cat /etc/cron.deny -->adding user to this file denies user
from scheduling job
2. User scheduled cron jobs are stored here.
ls /var/spool/cron/root
ls /var/spool/cron/student.
cat /etc/cron.allow file doens not exist, if you add user to
both /etc/cron.deny and /etc/cron.allow file.
cron.allow file takes precedence.
GUI of redhat is maintained by XORG
All config files related to GUI is available in /etc/X11
1. Gui in runlevel 3 --> /etc/X11/xinit/xinitrc
2. Gui in runlevel 5 --> /etc/X11/prefdm
vim /etc/X11/xorg.conf -->config files to set display resolution
system-config-display -->tool to change display settings
TO ADD MULTIPLE GUI'S
Syntax: startx -- :n ->where n is number.
EX: startx -- :5 ->create 5th gui.
Configuring vnc server (virtual network console )
Server Config
1. yum list vnc-server
2a. vncserver -->creates passwd and creates .vnc/xstartup file OR
2b. vncpasswd -->change passwd
3. vim /root/.vnc/xstartup
uncomment first 2 lines of above file
4. vim /etc/sysconfig/vncservers
uncomment last two lines of file + set
root:20 ->where root is user and 20 is session id
5. service vncserver restart
Client Config
1. yum install vnc -y
2. vncviewer //Opens a rectangular box
3. type serverip:sessionid / and you get connectd to server gui
SSH -->secured shell remote login
ssh <remoteip> -->connect to text terminal of remote machine
ssh <user>@<remoteip> ->connect as u1 txt termial of remote machine
ssh -X <remoteip> -->connect to GUI of of remote machine
ssh <remoteip> <command> -->execute command from remote machine
Crontab -->used to schedule jobs
1. cat /etc/crontab -->main config file of crontab
cat /etc/cron.weekly -->system scheduled weekly job
cat /etc/cron.hourly -->system scheduled hourly job
cat /etc/cron.monthly -->system scheduled montly job
cat /etc/cron.deny -->adding user to this file denies user
from scheduling job
2. User scheduled cron jobs are stored here.
ls /var/spool/cron/root
ls /var/spool/cron/student.
cat /etc/cron.allow file doens not exist, if you add user to
both /etc/cron.deny and /etc/cron.allow file.
cron.allow file takes precedence.
If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!
No comments:
Post a Comment