Linux screen control

xrandr alone will give you available resolutions for each display attached
xrandr

Some examples:
xrandr –output eDP –mode 1280×720
xrandr –output HDMI1 –mode 1280×720
xrandr –output -eDP1 –mode 1280×720
xrandr –output HDMI2 –mode 1280×1024

Dual-monitor setup where the desktop is extended to the right of the main PC monitor
xrandr –output HDMI1 –mode 1920×1200 –right-of eDP1

 

Various handy commands for interacting with a PowerEdge C BMC

bmc -H 10.1.1.64 -U jonas -P jonas allinfo
bmc -H 10.1.1.64 -U jonas -P jonas pecagent_health
bmc -H 10.1.1.64 -U jonas -P jonas bmc_hostname
bmc -H 10.1.1.64 -U jonas -P jonas bmc_hostname get
bmc -H 10.1.1.64 -U jonas -P jonas psus_required
bmc -H 10.1.1.64 -U jonas -P jonas psus_redundant
bmc -H 10.1.1.64 -U jonas -P jonas psus_seen
bmc -H 10.1.1.64 -U jonas -P jonas power_draw_node
bmc -H 10.1.1.64 -U jonas -P jonas power_draw_chassis
bmc -H 10.1.1.62 -U jonas -P jonas platform

SOL / Serial Over Lan connection from Linux to Dell iDRAC or BMC

Enable SOL with Racadm (or via the web interface – whichever):
racadm -r 10.2.2.2 -u root -p calvin config -g cfgIpmiLan -o cfgIpmiLanEnable 1

NOTE: for the ipmitool commands, create a new user with SOL permission first if root/root or root/calvin doesn’t work. This seems to be the case with the C series servers.

Connect using ipmitool:
jonas@erebus:~$ ipmitool -I lanplus -U jonas -P jonas -H 10.2.2.2 sol activate
jonas@erebus:~$

Terminate session:
▒~. [terminated ipmitool] (yes, termninate with “~.”)
jonas@erebus:~$