Kamis, 25 September 2014

Menjalankan Playonlinux Dalam Mode Root

Buka terminal dan masukan perintah ini:
leafpad /usr/share/playonlinux/lib/sources

Cari dan edit tulisan ini:
You will need to change the lines looking like this:
if [ "$(id -u)" = "0" ]
then
echo "PlayOnLinux is not supposed to be run as root. Sorry"
exit
fi

Menjadi:
#if [ "$(id -u)" = "0" ]
#then
# echo "PlayOnLinux is not supposed to be run as root. Sorry"
# exit
#fi


Save

Masukkan perintah ini di terminal:
leafpad /usr/share/playonlinux/python/mainwindow.py

Cari dan edit tulisan ini:
#### Root uid check
if(os.popen("id -u").read() == "0\n" or os.popen("id -u").read() == "0"):
wx.MessageBox(_("{0} is not supposed to be run as root. Sorry").format(os.environ["APPLICATION_TITLE"]),_("Error"))
os._exit(0)

Menjadi:
#### Root uid check
#if(os.popen("id -u").read() == "0\n" or os.popen("id -u").read() == "0"):
# wx.MessageBox(_("{0} is not supposed to be run as root. Sorry").format(os.environ["APPLICATION_TITLE"]),_("Error"))
# os._exit(0)

Save

Good luck happy

4 komentar:

Unknown mengatakan...

Trim"s master,,,,sukses atas panduan di atas

Anonim mengatakan...

mantap djiwa (y)

bearrrrr mengatakan...

mantullllll

Admin mengatakan...

bro.....saya minta tolong, caranya install repeater merk tp-link di kali linux versi 2019.4 gimana yaa..... Tolong di balas

Posting Komentar

×