# Pi-Hole & LXDE (via VNC)

**URL:** https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543
**Category:** General Discussion
**Created:** [16 October 2020 13:23 UTC](https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543 "2020-10-16T13:23:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Superblond](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Superblond](https://dietpi.com/forum/u/Superblond)
#### Post date: [16 October 2020 13:23 UTC](https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543/1 "2020-10-16T13:23:52Z")

</div>

Hello Forum!

I am a proud owner of a RasPi4 with 4GB and installed DietPi only with Pi-Hole and WebServer.  
Now I liked to have a LXDE with GUI on the same RasPi.

Problem: After I installed the LXDE pakage I cant access the Pi-Hole web-frontend (./admin/index.php) anymore.  
?\> How can make sure the Pi-Hole is still working, after installing the LXDE-SW?

I addtion I am confused about using a VNC-Tool to conect to LXDE on the RasPi from a Windows10-PC.  
As far as I understood the RealVNC (e.g.) -Software needs an extra server install on the RDietPi side and the client install on Win10 to work?  
?\> Is there any other way to ‘emulate’ a monitor for that DietPi installation on my RasPi to have acces to a GUI?

Sorry for my poor english & thanks for your help!  
SB

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [16 October 2020 13:37 UTC](https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543/2 "2020-10-16T13:37:29Z")

</div>

Hi,

many thanks for your request. Let’s start with first question.

PiHole: pls check if your web server is still running.

```nohighlight
systemctl status lighttpd.service

```

Remote desktop: basically you would have 2 options. RealVNC or XRDP. Both options are available via dietpi-software. In both cases a VNC sever will be installed on your device. Something you are not able to avoid as this is a prerequisite to be able to connect with a desktop environment.

RealVNC: This is afree of charge service, available on Raspberry Pi only and it’s actually good and solid solution. On your Windows computer, you would need to install RealVNC client

XRDP: this will install TigerVNC server + XRDP server. To connect, you can use remote desktop client on your Windows computer

In both cases a desktop environment will be installed automatically by dietpi scripts. There is no need to install LXDE separately because dietpi magic’s will take care on all dependency.

In you case, this means to install PiHole + VNC (RealVNC or XRDP) from dietpi-software catalogue only

---

<div class="post-metadata">

### Author: ![Superblond](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Superblond](https://dietpi.com/forum/u/Superblond)
#### Post date: [17 October 2020 08:54 UTC](https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543/3 "2020-10-17T08:54:08Z")

</div>

Hey Joulinar,

thx for your fast reply & help!

I followed the hints/tipps and reinstalled the pi-hole & TigerVNC software dietpi-software gui.

After a RasPi reboot

- the Pi-hole is up and running and I could import my settings. Perfect!
- web-frontend is running and I can acces everthing. Perfect!
- and the vncserver is now running under DietPi and I could set a password via _vncpasswd_ for server & viewer & started a session with _vncserver :1_

I also checked the ports 5901-5909 (was mentioned here somwhere in forums) are open and not blocked by my router firewall, but…  
…when I try to conect via the TigerVNC-Viewer on my Win10-Client with 192.168.178.9:1 (all encrytion : off) it asks for a password, while username is greyed out, means I can’t edit it.

Is there a default password or is it the missing username in the Viewer-Client?

Thx again!  
SB

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [17 October 2020 08:58 UTC](https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543/4 "2020-10-17T08:58:20Z")

</div>

As told above, you need to install XRDP. This is the component allowing you to connect via Windows RDP client. You would need to install it in addition.

---

<div class="post-metadata">

### Author: ![Superblond](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Superblond](https://dietpi.com/forum/u/Superblond)
#### Post date: [22 October 2020 14:47 UTC](https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543/5 "2020-10-22T14:47:18Z")

</div>

It’s working, nice, fast & smooth! I now have a GUI that really helps me a lot when it comes to copy, move or edit files and folder!  
So my problem is solved!

![](https://i.imgur.com/E12nvkR.jpg)

Thx a lot for the help!  
SB

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [22 October 2020 15:04 UTC](https://dietpi.com/forum/t/pi-hole-lxde-via-vnc/4543/6 "2020-10-22T15:04:12Z")

</div>

as far as I can see, you are using RealVNC now 🙂
