-
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
Altair 8800 CPU Board Working *TESTED* reproduction
$790.00
MITS ALTAIR 8800 B Original Vintage Microcomputer
$5250.00
MITS ALTAIR 8800 Vintage Computer w/ Keyboard, Floppy, boards - Buy It Now
$9275.00
Cromemco Z-80 Monitor v1.0 Paper Tape - 1976 Altair IMSAI
$79.99
Cromemco Assembler / ROS Paper Tape - 1977 Altair IMSAI
$79.99
MITS ALTAIR 8800 Original Vintage Microcomputer with 14 boards - Buy It Now
$8900.00
MITS ALTAIR 8800 Original Vintage Microcomputer
$6000.00
IMSAI 8080A MPU-A CPU Parts Kit Not Altair MITS (board NOT included)
$59.95
Vintage Computer Notes Newsletter Altair MITS Nov 1976 Vol.2 Issue 6
$99.99
Altair MSAI Douglas Electronics 11 DE Prototype Card S100 circuit board #AX44
$69.00