-
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

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working
$99.99

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D
$49.29

UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE
$34.25

Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On)
$300.00

Atari XE 130XE Computer NTSC with Power Supply Powers On Untested
$159.95

Atari OS & Memory Expansion Cartridges Lot - Untested Possibly For Parts/Repairs
$149.97

Gotek USB Floppy Emulator v3.44 OLED (no speaker) Amiga Atari IBM Roland AKAI
$44.00

SOLD AS IS Lot of 5.25" Floppy Disks w/ Games & Software? Commodore 64 Atari 800
$59.99

VTG Atari 1200XL Home Computer System 1200 XL ** Tested ** Parts or Repair
$323.75

Atari 400 Computer System console with Power Supply TESTED and Working
$150.00