Results 1 to 4 of 4

Thread: Missing Config.txt from /boot/ directory

  1. #1
    Junior Member
    Join Date
    Jan 2015
    Posts
    4

    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?

    Code:
    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
    root@kali:/boot#

  2. #2
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    166
    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":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  3. #3
    Junior Member
    Join Date
    Jan 2015
    Posts
    4
    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
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    166
    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:

    Code:
    apt install tigervnc-standalone-server
    wget -O ~/.vnc/xstartup https://github.com/Re4son/vncservice/raw/master/xstartup
    chmod 755 ~/.vnc/xstartup
    Beware of the "$localhost" trap though:

    https://whitedome.com.au/re4son/topic/vnc/
    Last edited by re4son; 2018-01-31 at 10:18 AM.
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

Posting Permissions

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