Kali Linux Desktop PC Initial Setup: Difference between revisions

From WikiMLT
Line 45: Line 45:
sudo ./NVIDIA-Linux-x86_64-515.65.01.run
sudo ./NVIDIA-Linux-x86_64-515.65.01.run
sudo nvidia-xconfig
sudo nvidia-xconfig
</syntaxhighlight>Finally reboot the system once again. If there are some performance issues check <code>NVIDIA Settings</code> > <code>PowerMizer</code> > <code>Performance Mode</code>.
</syntaxhighlight>Finally reboot the system once again. If there are some performance issues check <code>NVIDIA Settings</code> > <code>PowerMizer</code> > <code>Performance Mode</code>. You can change the default performance mode by changing <code>[https://forums.developer.nvidia.com/t/how-to-automatically-set-powermizer-to-prefer-maximum-performace-with-340-and-346-drivers/37980 xorg.conf]</code> or you can change it via the CLI by the following [https://forums.developer.nvidia.com/t/always-put-gpu-in-full-speed-p0/41182 commands].<syntaxhighlight lang="shell" line="1">
 
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=0  # Adaptive
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1  # Prefer Maximum Performance
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=2  # Auto
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=3  # Prefer Consistent Performance
</syntaxhighlight>
== Install NextCloud Client ==
== Install NextCloud Client ==
There is [https://nextcloud.com/install/#install-clients AppImage] for NextCloud. It is alos available in the Kali's repository (probably in Ubuntu's and Debian's ones). The version in the repository is little bit older but it works as it is expected with my NextCloud server v.24.04, so I'm using it.<syntaxhighlight lang="shell" line="1">
There is [https://nextcloud.com/install/#install-clients AppImage] for NextCloud. It is also available in the Kali's repository (probably in Ubuntu's and Debian's ones). The version in the repository is little bit older but it works as it is expected with my NextCloud server v.24.04, so I'm using it.<syntaxhighlight lang="shell" line="1">
sudo apt update
sudo apt update
# sudo apt install nextcloud-desktop
# sudo apt install nextcloud-desktop

Revision as of 13:30, 23 August 2022

This is a short guide that cov­er my set­up of Kali Lin­ux as desk­top en­vi­ron­ment. It doesn't cov­er the in­stal­la­tion process of Kali Lin­ux it­self.

En­able Blue­tooth

In Kali Lin­ux 2022 the Blue­tooth ser­vice is dis­abled by de­fault. In or­der to en­able it run thew fol­low­ing com­mand.

sudo systemctl enable --now bluetooth.service

Add Win­dows 10 en­try in­to the Grub menu

sudo nano /etc/default/grub
# SZS: https://wiki.metalevel.tech/wiki/Kali_Linux_Desktop_PC_Initial_Setup
GRUB_DISABLE_OS_PROBER=false
sudo update-grub

In­stall the lat­est Nvidia Dri­ver

Here I'm go­ing to in­stall the Lat­est NVIDIA Dri­ver, rec­om­mend­ed for Quadro T600, which is not pre­sent­ed in the Kali's repos­i­to­ry. The first step is to down­load the lat­est dri­ver: NVIDIA Dri­ver Down­loads > Quadr/​​​RTX T600 > LIN­UX X64 (AMD64/EM64T) DIS­PLAY DRI­VER.

Then Black­list the de­fault Nou­veau dri­ver:

sudo nano /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
sudo update-initramfs -u

Af­ter that re­boot the sys­tem. When the log-in screen come back – don't log-in. Press Ctrl+Alt+F3, and log-in to a TTY, then in­stall the dri­ver.

cd ~/Downloads
chmod +x NVIDIA-Linux-x86_64-515.65.01.run
sudo ./NVIDIA-Linux-x86_64-515.65.01.run
sudo nvidia-xconfig

Fi­nal­ly re­boot the sys­tem once again. If there are some per­for­mance is­sues check NVIDIA Set­tings > Pow­er­Miz­er > Per­for­mance Mode. You can change the de­fault per­for­mance mode by chang­ing xorg.conf or you can change it via the CLI by the fol­low­ing com­mands.

nvidia-settings -a [gpu:0]/GPUPowerMizerMode=0  # Adaptive
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1  # Prefer Maximum Performance
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=2  # Auto
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=3  # Prefer Consistent Performance

In­stall NextCloud Client

There is Ap­pIm­age for NextCloud. It is al­so avail­able in the Kali's repos­i­to­ry (prob­a­bly in Ubuntu's and Debian's ones). The ver­sion in the repos­i­to­ry is lit­tle bit old­er but it works as it is ex­pect­ed with my NextCloud serv­er v.24.04, so I'm us­ing it.

sudo apt update
# sudo apt install nextcloud-desktop
sudo apt install nautilus-nextcloud

Gnome Fa­vorite Ex­ten­sions

Don't up­date the ex­ten­sions de­liv­ered by Kali Lin­ux from the GNOME Shell Ex­ten­sions page!

Ad­di­tion­al Soft­ware In­stal­la­tion and Tweaks