-
Doing things from the virtual terminal on the X screen
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Amiga Model 1080 RGB color CRT monitor - Parts Or Repair - Doesn’t Power On
$100.00

Microbotics Starboard 2MB + SCSI Sidecar for Amiga 1000 Vintage Computer READ
$329.00

RGB2HDMI Amiga 500 UltraLong (Accelerator Friendly) HDMI Games, non-RTG A500
$50.00

HighFlyer Amiga 4000 Tower & Bus Extender, Expansion Systems A4000T Kit
$888.50

Amiga 1000 Computer w/ Monitor Keyboard Mouse Disc Drive Sidecar Expansion Discs
$895.00

Amiga Emplant Emulator Card For Commodore Amiga 2000 4000 3000
$249.00

Commodore Amiga 4000 Motherboard Rev B - untested
$225.00

BlueSCSI v2 Internal 50-pin 3.5" SCSI Drive ,Wi-Fi,For Macintosh, Amiga, PC
$52.99

ALS Storage Box with Assorted Amiga Format 3.5" Floppy Disks
$199.00

OPEN BOX - AMIGA Genlock Interface Vintage Video Adapter 1300- GREAT
$329.95