Well if you want to run a script as diferent user you should try to run with su comand.
If you will run like this
su - x -c "/path/script.sh"
after the script is run the su comand return at your user.
Well if you want to run a script as diferent user you should try to run with su comand.
If you will run like this
su - x -c "/path/script.sh"
after the script is run the su comand return at your user.
Hello
Well even you will think you should run yum install php-pecl this is wrong.
You should run
yum install php-pear
to install pecl
I had an issue where I’d get a pop-up message when going to reboot or shutdown saying that the administrator password was required in order to shut down with multiple users logged in.
How to solve this. Well first of all locate this file org.freedesktop.consolekit.policy . After this you will have something like this
Stop the system
System policy prevents stopping the system
no
yes
Stop the system when multiple users are logged in
System policy prevents stopping the system when other users are logged in
no
auth_admin_keep
Restart the system
System policy prevents restarting the system
no
yes
Restart the system when multiple users are logged in
System policy prevents restarting the system when other users are logged in
no
auth_admin_keep
Well you have to modify it like this
Stop the system
System policy prevents stopping the system
no
yes
Stop the system when multiple users are logged in
System policy prevents stopping the system when other users are logged in
no
yes
Restart the system
System policy prevents restarting the system
no
yes
Restart the system when multiple users are logged in
System policy prevents restarting the system when other users are logged in
no
yes
Basically you replace
with
Hello
If you want that your computer to autologin and is a centos /rhel then you must modify /etc/gdm/custom.conf
Add to that file
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username
If you stil want to have a delay and after autologin , you must add
[daemon]
TimedLoginEnable=true
TimedLogin=centoslive
TimedLoginDelay=10
Hello
Well my computer started with another resolution then my monitor and I could not see the menu.
So right klick on desktop, opened a terminal, from there run
xrandr -s 800x600
This will set 800×600, now you may see your menu and modify acordly with your monitor.
If you want to see al resolution available you should run simply
xrandr
Powered by WordPress