I think I may have figured out how to do things from the virtual terminals to affect the X screen.
The vt for X is 6 so we can do:
chvt 6 to switch to the virtual terminal 6
Next we need to have a little delay, so let's add sleep 4 (you can also use 2 if you think that's a bit faster)
We also need to add "export DISPLAY=:0" to set the X display.
Then to change the user, we use "sudo -u knoppix "
So to do xrandr and change the resolution: (this is pretty useful when you mess around with screen resolutions that cause a blank screen)
Hit CTRL+ALT+F4 to switch to VT 4: then type
chvt 6; sleep 4; export DISPLAY=:0; sudo -u knoppix xrandr
chvt 6; sleep 4; export DISPLAY=:0; sudo -u knoppix xrandr --output HDMI-1 --mode 800x600
To launch terminator:
chvt 6; sleep 4; export DISPLAY=:0; sudo -u knoppix terminator &
To open the main menu:
chvt 6; sleep 4; export DISPLAY=:0; sudo -u knoppix lxpanelctl menu
Pi1541 (1541 Raspberry Pi emulator) for Commodore 64/128/VIC20
$50.00
Commodore 1541-ii Disk Drive, Power Supply, Serial Cable, Box Read Description
$69.99
Commodore 64 1802 Monitor CRT Display - Read Description
$160.00
Commodore C64 Personal Computer Original Box Matching Serial Numbers VTG PC
$109.99
Datasoft Video Title Shop For Commodore 64/128
$15.00
Vintage Commodore 64 1764 RAM Expansion Unit 64/128/SX-64 1750 Clone
$189.99
Commodore 1541 Disk Drive With Manuals (Refurbished)
$50.00
Vintage Commodore 1084S-D1 Full Color 13" Monitor CRT 64/128/PC/Amiga (Tested)
$299.99
Retro Commodore 64 Computer UnTested C64 with Programmers Reference Guide
$102.99
TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network
$65.00