<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aman Kumar Happy</title>
    <description>The latest articles on DEV Community by Aman Kumar Happy (@amankumarhappy).</description>
    <link>https://dev.to/amankumarhappy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2894333%2Fa54d9ed3-0f07-4b62-813e-8b82ff23d3ac.jpg</url>
      <title>DEV Community: Aman Kumar Happy</title>
      <link>https://dev.to/amankumarhappy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amankumarhappy"/>
    <language>en</language>
    <item>
      <title>Kali Linux XFCE Panel Missing in VirtualBox — Complete Fix (2025)</title>
      <dc:creator>Aman Kumar Happy</dc:creator>
      <pubDate>Mon, 22 Dec 2025 13:52:16 +0000</pubDate>
      <link>https://dev.to/amankumarhappy/kali-linux-xfce-panel-missing-in-virtualbox-complete-fix-2025-526f</link>
      <guid>https://dev.to/amankumarhappy/kali-linux-xfce-panel-missing-in-virtualbox-complete-fix-2025-526f</guid>
      <description>&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While using Kali Linux (XFCE) inside VirtualBox, I suddenly lost the entire desktop panel:&lt;/p&gt;

&lt;p&gt;No Applications menu&lt;/p&gt;

&lt;p&gt;No top bar / taskbar&lt;/p&gt;

&lt;p&gt;Only wallpaper visible&lt;/p&gt;

&lt;p&gt;Right-click menu shows basic options like Terminal Emulator, File Manager&lt;/p&gt;

&lt;p&gt;Small movable panel fragments appear on screen&lt;/p&gt;

&lt;p&gt;The system itself was not broken — only the XFCE panel configuration was corrupted.&lt;/p&gt;

&lt;p&gt;Root Cause&lt;/p&gt;

&lt;p&gt;XFCE stores panel configuration in user config files.&lt;br&gt;
A wrong click (like deleting a panel) or display glitch in VirtualBox can corrupt these files, causing XFCE to load without the panel.&lt;/p&gt;

&lt;p&gt;Solution (100% Working)&lt;/p&gt;

&lt;p&gt;Open Terminal Emulator and run the following commands in order.&lt;/p&gt;

&lt;p&gt;1️⃣ Stop XFCE panel services&lt;br&gt;
xfce4-panel --quit&lt;br&gt;
pkill xfconfd&lt;/p&gt;

&lt;p&gt;2️⃣ Remove corrupted panel configuration&lt;br&gt;
rm -rf ~/.config/xfce4/panel&lt;br&gt;
rm -rf ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml&lt;/p&gt;

&lt;p&gt;3️⃣ Restart the XFCE panel&lt;br&gt;
xfce4-panel &amp;amp;&lt;/p&gt;

&lt;p&gt;Wait a few seconds.&lt;/p&gt;

&lt;p&gt;Expected Result&lt;/p&gt;

&lt;p&gt;Applications menu restored&lt;/p&gt;

&lt;p&gt;Top panel with clock, network, sound icons back&lt;/p&gt;

&lt;p&gt;Normal Kali XFCE desktop working again&lt;/p&gt;

&lt;p&gt;No reboot required.&lt;/p&gt;

&lt;p&gt;If It Still Doesn’t Work (Rare Case)&lt;/p&gt;

&lt;p&gt;Reinstall XFCE desktop components:&lt;/p&gt;

&lt;p&gt;sudo apt update&lt;br&gt;
sudo apt install --reinstall kali-desktop-xfce xfce4 xfce4-goodies -y&lt;br&gt;
reboot&lt;/p&gt;

&lt;p&gt;Prevention Tips&lt;/p&gt;

&lt;p&gt;Avoid deleting XFCE panels unless intentional&lt;/p&gt;

&lt;p&gt;Don’t overuse display scaling in VirtualBox&lt;/p&gt;

&lt;p&gt;Take VM snapshots before UI changes&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;This issue looks serious but is purely a configuration problem, not a broken Kali install.&lt;br&gt;
Resetting the XFCE panel fixes it instantly.&lt;/p&gt;

&lt;p&gt;Hope this saves someone hours of reinstalling Kali unnecessarily.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>tutorial</category>
      <category>ui</category>
    </item>
    <item>
      <title>Fixing Hugging Face Login Issue (504 Gateway Timeout &amp; Invalid Token Error)</title>
      <dc:creator>Aman Kumar Happy</dc:creator>
      <pubDate>Sat, 22 Feb 2025 11:04:06 +0000</pubDate>
      <link>https://dev.to/amankumarhappy/fixing-hugging-face-login-issue-504-gateway-timeout-invalid-token-error-34nn</link>
      <guid>https://dev.to/amankumarhappy/fixing-hugging-face-login-issue-504-gateway-timeout-invalid-token-error-34nn</guid>
      <description>&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;br&gt;
I was trying to log in to Hugging Face CLI, but I kept getting the following error:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: &lt;a href="https://huggingface.co/api/whoami-v2" rel="noopener noreferrer"&gt;https://huggingface.co/api/whoami-v2&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Even after trying multiple fixes, the error persisted and eventually changed to:&lt;br&gt;
requests.exceptions.HTTPError: Invalid user token.&lt;/p&gt;

&lt;p&gt;What I Tried (But Didn’t Work)&lt;br&gt;
Logging in again using huggingface-cli login → Failed&lt;br&gt;
Upgrading Hugging Face Hub (pip install --upgrade huggingface_hub) → No effect&lt;br&gt;
Clearing cache &amp;amp; re-installing dependencies → Still the same error&lt;/p&gt;

&lt;p&gt;Final Solution That Worked &lt;/p&gt;

&lt;p&gt;After many attempts, the issue got fixed by setting up a virtual environment and reinstalling everything from scratch. Here’s what worked:&lt;/p&gt;

&lt;p&gt;python -m venv hf_env&lt;br&gt;
source hf_env/bin/activate  # (Windows users: &lt;code&gt;hf_env\Scripts\activate&lt;/code&gt;)&lt;br&gt;
pip install huggingface_hub&lt;br&gt;
huggingface-cli login&lt;/p&gt;

&lt;p&gt;Why This Works?&lt;br&gt;
A virtual environment creates an isolated Python environment, avoiding conflicts with existing dependencies.&lt;br&gt;
If there’s an issue with your global Python installation, this helps bypass it.&lt;br&gt;
It ensures a clean install of huggingface_hub without any corrupted files.&lt;/p&gt;

&lt;p&gt;If you’re facing similar issues, try this approach and let me know if it works for you!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
