Developer Workstations with Proxmox VE and X11: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=Introduction=
== 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.
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.
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=
== Install a standard Proxmox VE system ==
Just install the standard Proxmox VE, following this guide: [[Installation]]
Just install the standard Proxmox VE, following this guide: [[Installation]]


=Install X-windows=
Custom installations: [[Install Proxmox VE on Debian Buster]]
==Adapt your sources.list==
To have access to VNC console you need Java JRE and a browser plugin


If you want to use the non free sun-java, you have to adapt your sources.list to include 'non-free' repository. The repositories where programs are searched are listed in text file: /etc/apt/sources.list
== Install X-windows ==


<pre>deb http://ftp.debian.org/debian lenny main non-free
Update your repository and system by running:
apt-get update && apt-get dist-upgrade


# PVE packages provided by proxmox.com
I choose xfce4 desktop as this a lightweight desktop environment. If you prefer another one, just replace xfce4 with lxde, gnome, icewm, kde, ...
deb http://download.proxmox.com/debian lenny pve


# security updates
apt-get install xfce4 chromium lightdm
deb http://security.debian.org/ lenny/updates main</pre>


If you want to use OpenJDK, normal sources.list are enough.
== Start X-windows ==
Before starting the x-windows, create a normal user with:


In both cases, update your repository and system by running:
# adduser newusername
<pre># aptitude update
# aptitude upgrade</pre>


To install sun's java do:
Start the login manager:
<pre># aptitude install sun-java6-jre sun-java6-plugin</pre>
 
systemctl start lightdm
 
or just reboot.
 
== Optional: Linux Mint Mate Desktop ==
Install  Proxmox VE as described above.
 
install from Debian repository.
apt-get install mate
 
== Optional: NVidia Drivers ==
# tested proxmox 5.3
 
# 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 stretch pve-no-subscription
 
 
 
 
# enable non-free
cat <<EOF >>/etc/apt/sources.list
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
EOF
 
 
# install the headers and nvidia-drivers
apt install pve-headers
apt-get update
apt-get install  nvidia-driver


If you want Free OpenJDK do instead:
<pre># aptitude install openjdk-6-jre icedtea6-plugin</pre>


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


<pre># aptitude install lxde iceweasel</pre>


==Start X-windows==
Just enter:
<pre>startx</pre>
[[Category: HOWTO]][[Category: Installation]]
[[Category: HOWTO]][[Category: Installation]]

Revision as of 19:46, 7 December 2019

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: Linux Mint Mate Desktop

Install Proxmox VE as described above.

install from Debian repository.

apt-get install mate

Optional: NVidia Drivers

# tested proxmox 5.3
# 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 stretch pve-no-subscription



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

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

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


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