Benutzer:Bogomips: Unterschied zwischen den Versionen

Aus wiki.archlinux.de
Bogomips (Diskussion | Beiträge)
Kram den ich selten nutze und daher ständig vergesse. Das Alter...
Bogomips (Diskussion | Beiträge)
ssh von host zu vboxguest
Zeile 25: Zeile 25:
         BusID          "PCI:0:2:0"
         BusID          "PCI:0:2:0"
EndSection</nowiki>
EndSection</nowiki>
SSH von Host zu virtualbox-guest
settings>network>attached to NAT>advanced>Portforwarding
HostIP 127.0.0.1
HostPort 3456 (z.B.)
GuestIP 10.0.2.15 (ip a)
GuestPort 22 (/etc/ssh/sshd.conf)
ssh -p 3456 $USER@localhost
ODER
settings>network>attached to Bridged Adapter
ip a
ssh $USER@GuestIP

Version vom 16. November 2017, 11:46 Uhr

Mein virtuelles Gehirn...

/etc/systemd/system/peelock.service

[Unit]
Description=Lock X session using slock

[Service]
User=john
Environment=DISPLAY=:0
ExecStart=/usr/bin/slock

[Install]
WantedBy=sleep.target 


/usr/share/X11/xorg.conf.d/20-intel.conf

# to make the display work again after sleep.
# first find out the bus ID for vga
# lspci | grep VGA
Section "Device"
        Identifier      "Intel Graphics"
        Driver          "intel"
        Option          "Backlight" "intel_backlight"
        BusID           "PCI:0:2:0"
EndSection

SSH von Host zu virtualbox-guest

settings>network>attached to NAT>advanced>Portforwarding
HostIP 127.0.0.1
HostPort 3456 (z.B.)
GuestIP 10.0.2.15 (ip a)
GuestPort 22 (/etc/ssh/sshd.conf)
ssh -p 3456 $USER@localhost

ODER

settings>network>attached to Bridged Adapter
ip a
ssh $USER@GuestIP