-
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

Dell PowerEdge VRTX Blade Server Enclosure Chassis Only NO HDD NO OS NO Blades
$399.99

Dell PowerEdge FX2S FC830 Blade Server Chassis Enclosure 2*2000W PSU NO BLADES
$179.99

HPE ProLiant BL460c Gen8 735151-B21 E5-v2 Blade Server LOADED w 512 GIGS MEMORY
$280.00

Dell PowerEdge M610 Blade Server
$80.00

Dell PowerEdge FC830 blade server with 4x processors E5-4669v3 no memory
$179.00

Zima BLADE ZBB001-BK20032 NEW SEALED
$83.66

Dell PowerEdge R720 Blade Server
$100.00

Cisco UCS C240 M4 24-Bay SFF Server 2*E5-2640 V3 2.60GHz CPU 384GB RAM *No HDD*
$149.99

Cisco UCS-B200-M3 Blade Server 2x E5-2620 2.00 GHz 384GB RAM
$50.00

DELL PowerEdge M630 Blade 2x E5-2680v4 2.4GHz =28 Cores 256GB H330 2x10Gb X520
$327.00