Skip to main content

Posts

Installing Dansguardian Webmin Module

Download the webmin module and run the following: cd /usr/share/webmin/ install-module.pl  dgwebmin-0.7.0beta1b.wbm # <-- webmin dansguardian module location $ sed -i "s|autorestart=0|autorestart=1|" /etc/webmin/dansguardian/config $ sed -i "s|file=/sbin|file=/usr/sbin|" /etc/webmin/dansguardian/config $ sed -i "s|/rc.d/init.d|/init.d|" /etc/webmin/dansguardian/config $ sed -i "s|/rc.d/init.d|/init.d|" /etc/webmin/dansguardian/config

Using Sublime Text or gedit when logging as User

For me I used xhost + and it solved the problem. You can use it when you are working in a  remote instance and you wanna use gedit. By default, and for security reasons, the only user that interacts with X-server is the logged-in user. Meaning, You can not initiate a connection to x-server as a different user or in your case as root, unless you have overridden the default setting to allow different users/hosts to connect to x-server. So the error message you are getting is related to x-server since any other user can't connect to it. In order to get around it, you have various fixes you can apply. What I normally do when ever I need to run an X-app as root is as follows. From normal user terminal, I run  xhost +  to grant access to all user temporarily Then I log in as root from a different terminal and execute the X-app ie  gedit tester.php To make it permanent (which I don't suggest), edit  /etc/profile  and add the following line: expor...

How to mount a Windows 8.1 partition on Ubuntu 14.04

If you guys have a problem mounting a Windows 8.1 partition on Ubuntu 14.04 , Here's a Quick fix that worked for me : Disable the default hibernation mode by using CMD program as administrator – Boot into Windows and type “cmd” in the search field on the built-in Windows search app >> launch the app and type: powercfg -h off >> press enter and your done.

How to restore the Windows 8.1 bootloader

==========Comment récupérer le Bootloader de Windows 8 ou Windows 8.1=========== Pour les amis qui ont essayé d'implémenter le dual-Boot pour Ubunutu 14 à coté de Windows 8 ou Windows 8.1: Et ont malheureusement rencontré un problème lors du démarrage en ayant un message tel que : "no partition found grub rescue >" ====> La solution est la suivante : 1---Vous devez bootez de votre CD d'installation Windows ou USB bootable Windows. 2---Après vous allez avoir une interface pour choisir la langue et la langue de saisie, cliquez alors sur suivant . 3----Sur la page suivante choisissez "Réparer mon ordinateur" 4----Après choisissez "Troubleshoot my computer" 5----Après choisissez "Advanced Options " 6---- Enfin choisissez "Command Prompt", ici saisissez "bootrec.exe /fixboot" et après saisissez cette commande "bootrec.exe /fixmbr". Maintenant fermez le prompt et choisissez "Turn off my co...