Difference between revisions of "Developer Workstations with Proxmox VE and X11"

From Proxmox VE
Jump to navigation Jump to search
m
 
(9 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
Just install the standard Proxmox VE, following this guide: [[Installation]]
 
Just install the standard Proxmox VE, following this guide: [[Installation]]
  
Custom installations: [[Install Proxmox VE on Debian Jessie]]
+
Custom installations: [[Install Proxmox VE on Debian Buster]]
  
 
== Install X-windows ==
 
== Install X-windows ==
Line 21: Line 21:
 
Before starting the x-windows, create a normal user with:
 
Before starting the x-windows, create a normal user with:
  
  # useradd newusername
+
  # adduser newusername
  
 
Start the login manager:
 
Start the login manager:
Line 29: Line 29:
 
or just reboot.
 
or just reboot.
  
== Optional: Linux Mint Mate Desktop ==
+
== Optional: Mate Desktop ==
 
Install  Proxmox VE as described above.
 
Install  Proxmox VE as described above.
  
 
install from Debian repository.
 
install from Debian repository.
  apt-get install mate
+
  apt-get install mate chromium lightdm
  
or install the linuxmit packages see below.
+
== Optional: NVidia Drivers ==
=== Update Apt Sources List===  
+
# tested proxmox 6.2
  
  echo "deb http://www.deb-multimedia.org jessie main non-free" >>/etc/apt/sources.list.d/mint.list
+
# nouveau was faulting system. blacklist or unload driver
  echo "deb http://packages.linuxmint.com betsy main" >>/etc/apt/sources.list.d/mint.list
+
# lspci -k |grep VGA
  echo "deb http://extra.linuxmint.com betsy main" >>/etc/apt/sources.list.d/mint.list
+
# add 0000: to unbind driver.
 +
# echo "0000:24:00.0" > /sys/bus/pci/drivers/nouveau/unbind
  
 +
# blacklist
 +
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
  
=== Add Keyring===
+
  # /etc/apt/sources.list
Run the following one at a time
+
# PVE pve-no-subscription repository provided by proxmox.com,
 +
# NOT recommended for production use
 +
# deb http://download.proxmox.com/debian/pve buster pve-no-subscription
  
  apt-get update
 
  apt-get install deb-multimedia-keyring
 
  apt-get install linuxmint-keyring
 
  apt-get install debian-archive-keyring
 
  apt-get update
 
  apt-get dist-upgrade
 
  
=== Install Mate Desktop ===
 
  # tested proxmox 5.3
 
  
  apt-get update
+
 
  apt-get install mate-desktop-environment xorg lightdm
+
# enable non-free
 +
cat <<EOF >>/etc/apt/sources.list
 +
deb http://deb.debian.org/debian buster main contrib non-free
 +
deb-src http://deb.debian.org/debian buster main contrib non-free
 +
 +
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
 +
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free
 
   
 
   
  # apt-get install mint-backgrounds-debian
+
deb http://deb.debian.org/debian buster-updates main contrib non-free
  # apt-get install X11vnc
+
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
  # reboot
+
EOF
  
==== NVidia Drivers ====
 
  # tested proxmox 5.3
 
  
  # nouveau was faulting system. blacklist or unload driver
+
# install the headers and nvidia-drivers
  # lspci -k |grep VGA
+
apt install pve-headers
  # add 0000: to unbind driver.
+
apt-get update
  # echo "0000:24:00.0" > /sys/bus/pci/drivers/nouveau/unbind
+
apt-get install  nvidia-driver
  
  # blacklist
+
Note: [https://askubuntu.com/questions/1129516/black-screen-at-boot-after-nvidia-driver-installation-on-ubuntu-18-04-2-lts black-screen-at-boot-after-nvidia-driver-installation]
  echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
+
apt-get purge nvidia*
 
+
apt-get install nvidia-driver
  # /etc/apt/sources.list
+
init 6
  # PVE pve-no-subscription repository provided by proxmox.com,
 
  # NOT recommended for production use
 
  # deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
 
  
  apt install pve-headers
 
  apt-get update
 
  apt-get install  nvidia-driver
 
  
 
[[Category: HOWTO]][[Category: Installation]]
 
[[Category: HOWTO]][[Category: Installation]]

Latest revision as of 23:07, 10 November 2020

Introduction

Proxmox VE is primarily used as virtualization platform with NO additional software installed. In some case it makes sense to have a full desktop running on Proxmox VE, for example for developers using Proxmox VE as their primary workstation/desktop.

Installing additional packages could lead to a hardly upgradeable system and is not supported from the Proxmox support team and therefore only for expert use.

Install a standard Proxmox VE system

Just install the standard Proxmox VE, following this guide: Installation

Custom installations: Install Proxmox VE on Debian Buster

Install X-windows

Update your repository and system by running:

apt-get update && apt-get dist-upgrade

I choose xfce4 desktop as this a lightweight desktop environment. If you prefer another one, just replace xfce4 with lxde, gnome, icewm, kde, ...

apt-get install xfce4 chromium lightdm

Start X-windows

Before starting the x-windows, create a normal user with:

# adduser newusername

Start the login manager:

systemctl start lightdm

or just reboot.

Optional: Mate Desktop

Install Proxmox VE as described above.

install from Debian repository.

apt-get install mate chromium lightdm

Optional: NVidia Drivers

# tested proxmox 6.2
# nouveau was faulting system. blacklist or unload driver 
# lspci -k |grep VGA
# add 0000: to unbind driver.
# echo "0000:24:00.0" > /sys/bus/pci/drivers/nouveau/unbind
# blacklist 
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
# /etc/apt/sources.list
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
# deb http://download.proxmox.com/debian/pve buster pve-no-subscription



# enable non-free
cat <<EOF >>/etc/apt/sources.list
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
EOF


# install the headers and nvidia-drivers
apt install pve-headers
apt-get update 
apt-get install  nvidia-driver

Note: black-screen-at-boot-after-nvidia-driver-installation

apt-get purge nvidia*
apt-get install nvidia-driver
init 6