Results 1 to 5 of 5

Thread: Missing Config.txt from /boot/ directory

  1. #1
    Join Date

    Missing Config.txt from /boot/ directory

    I have a brand new Raspberry Pi 3 with the 2017.3 distro installed, along with the full toolset on a 32GB SD card. My plan was to go in and modify the /boot/config.txt file so I can use VNC to control the Pi remotely from another computer. However, when I go to the /boot/ directory, there is nothing listed by the name of config.txt. Any thoughts?

    root@kali:/boot# ls
    COPYING.linux           bcm2708-rpi-b.dtb    bcm2710-rpi-cm3.dtb     bcm2835-rpi-b-rev2.dtb  bootcode.bin  fixup_db.dat  overlays      start_x.elf
    LICENCE.broadcom        bcm2708-rpi-cm.dtb   bcm2835-rpi-a-plus.dtb  bcm2835-rpi-b.dtb       cmdline.txt   fixup_x.dat   start.elf
    bcm2708-rpi-0-w.dtb     bcm2709-rpi-2-b.dtb  bcm2835-rpi-a.dtb       bcm2835-rpi-zero.dtb    fixup.dat     kernel.img    start_cd.elf
    bcm2708-rpi-b-plus.dtb  bcm2710-rpi-3-b.dtb  bcm2835-rpi-b-plus.dtb  bcm2836-rpi-2-b.dtb     fixup_cd.dat  kernel7.img   start_db.elf

  2. #2
    Join Date
    Hi Bedrock1977,

    Out of the box there is no /boot/config.txt.
    The default installation of Kali uses standard settings and parameters and thus does not need the config.txt but you can create one if you need to deviate from the standard, load overlays, overclock, etc.

    What exactly are you planning to do with the config.txt in order to use vnc?
    - - - - - - - - - - - - - - - - - - - - - -
    Check out "Sticky Fingers Kali-Pi":

    Now with mana-toolkit and more goodies!

  3. #3
    Join Date
    Hello re4son,

    Ok. I am testing some of the WiFi tools that only use GUIs. Where I have the Pi connected is in the closet with my routers, switches, and internet connection. It’s connected via Ethernet to a router. Needless to say I can’t stand in the closet to use the Pi, so I opted for VNC. While I have the VNC service running, and I connect with the VNC client, the desktop is about the size of a credit card on the monitor. I want it to be full size, taking up all the screens real estate. When I used Kali on Virtual Box, I would make sure guest additions were installed, and that gave me full resolution. I know Pi is different, so I opted to update config.txt with my monitors resolution, or at least something much larger and easier to work with.

    So i can create a file using an editor such as Nano, and then save it where a I need to while the Pi is running?

  4. #4
    Join Date
    The vnc server that comes with kali should not require changing the resolution in config.txt, at least on a Pi3.
    Did you use a third party vnc server?

    Having said that, to create the file just use nano or any other editor, e.g. sudo nano /boot/config.txt

    Edit: Just checked the defaults and I don't think the stock image comes with a vnc server pre-installed.
    You can install "tigervnc-standalone-server". That'll work nice with TigerVNC client on Windows and it'll give you full resolution:

    apt install tigervnc-standalone-server
    wget -O ~/.vnc/xstartup
    chmod 755 ~/.vnc/xstartup
    Beware of the "$localhost" trap though:
    Last edited by re4son; 2018-01-31 at 10:18.
    - - - - - - - - - - - - - - - - - - - - - -
    Check out "Sticky Fingers Kali-Pi":

    Now with mana-toolkit and more goodies!

  5. #5
    Join Date
    # For more options and information see
    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default "safe" mode

    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan

    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border

    # uncomment to force a console size. By default it will be display's size minus
    # overscan.

    # uncomment if hdmi display is not detected and composite is being output

    # uncomment to force a specific HDMI mode (this will force VGA)

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes

    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display

    # uncomment for composite PAL

    #uncomment to overclock the arm. 700 MHz is the default.

    # Uncomment some or all of these to enable the optional hardware interfaces

    # Uncomment this to enable the lirc-rpi module

    # Additional overlays and parameters are documented /boot/overlays/README

    # Enable audio (loads snd_bcm2835)

    I copied the Pixel_Raspian config.txt this fixed some of the issuses i encounter with kali on a Pi.

Similar Threads

  1. Boot issues - GPU pci config reset
    By bichop545 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2017-08-04, 17:55
  2. Using /EFI/BOOT config files for auto-boot
    By Nerdworld in forum Installing Archive
    Replies: 0
    Last Post: 2015-11-01, 07:41
  3. Kali boot menu missing persistence
    By dasPete in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-08-05, 22:44
  4. Boot Partition Missing! Kali Linux 1.0.7
    By OKCarl in forum Installing Archive
    Replies: 0
    Last Post: 2014-07-04, 17:10
  5. Error! Boot partition is missing
    By OKCarl in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2014-06-22, 12:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts