Sunday 23 November 2008

START THE GRAPHIC WITHOUT INSERT LOGIN AND PASSWORD

Here is 2 Method , pls go through one by one

1)This thing has been tryied on redhat 7.1
------------------------------------------
-Modify the file /etc/sysconfig/desktop
Insert the name of desktop that will start, es. fvwm2
Modify the file /etc/X11/xinit/Xclients replacing the name of predefined desktop (GNOME)
with fvwm2.
Modify the file /etc/X11/xinit/xinitrc.d/xinput replacing the name of desktop predefined
(GNOME) with fvwm2.
Create the file .xinitrc inside the directory of the user or root and write inside:
fvwm2
Modify the file /etc/rc.d/rc.local inserting on the first row (or replacing the first row) with:
#!/bin/bash
After this row write the path of file .xinitrc and after the written startx, resuming:
#!/bin/bash
cd /root & startx
or
cd /root & startx fvwm2
At this point reboot pc and see the result.

2)Inserting a user with the home and the group of belongings.
-------------------------------------------------------------
Modify the file /etc/profile
inserting these dates:
HOME="/username"
export HOME
Save the file.
Enter in /etc/inittab disabling from row Run gettys until the end putting a # in front of all the
rows.
Over the row Run getty insert another row:
1:12345:wait:/bin/bash -login
Save the file and reboot. At start enter such as user withou insert username and password.
If inside /home/user we insert a file .xinitrc where we write graphic desktop to start for
example fvwm2. It's possible to copy the file /etc/X11/fvwm2/system.fvwm2rc inside
/home/user and rename it in .fvwm2rc
Inside file .bash_profile at the end write startx, so will start the graphic automatically.
Rebooting the pc we will enter such as user and automatically will start the X chosen.

---------------------------------------------------------------
reference : http://www.softwarelibero.it/gnudoc/fdl.it.html
----------------------------------------------------------------

No comments: