-
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

Raritan 4U 42PT Paragon II KVM (P2-UMT442)
$1299.90

Comdyna GP-6 Analog Computer Unknown Condition
$888.00

Honeywell Analog Flight Computer from 1965 lots of Germanium parts USA Made.
$250.00

Soviet Union KVANT analog computer ZX Spectrum USSR
$120.00

Soviet Union Baltik analog computer ZX Spectrum USSR
$115.00

1969 EAI TR-20 Analog Computer Operation/Programming PACE Electronic Associates
$45.00

Vintage 1993 Apple Macintosh Color Classic Chassis & Screen Mystic Modded PARTS
$250.00

Analog Computing Magazine - December 1985 no. 37 special holiday issue
$10.00

Extron RGB-160XI Analog Computer Video 60-378-01
$107.06

RARITAN MCD-116 100-240Vac 50-60Hz MCD-LED 16-PORT V1.1 KVM Switch- Working
$127.99