3
votes
Accepted
How to start headless X upon boot for non-root users in Debian
This is my working approach.
file /etc/systemd/system/john.service:
[Unit]
Description=xinit - user "john"
[Service]
User=john
Group=john
ExecStart=/usr/bin/xinit openbox-session -- /usr/bin/Xvfb :...
1
vote
Gtk Warning: cannot open display: :0 (for local user!)
You need to install xhost
for arch:
sudo pacman -S xorg-xhost
and then run:
xhost +
1
vote
Accepted
Gtk Warning: cannot open display: :0 (for local user!)
From Ubuntu 16.04 onward, the DISPLAY is no longer on :0. It is on a number which can vary depending on how many users are simultaneously logged in to the console.
To resolve the problem, you need to ...
1
vote
Headless OpenGL rendering on Google Compute
I'm not sure if the same thing applies as your running totally headless but I recently set up a Cloud Compute instance for VNC and to get OpenGL to work I had to follow this guide and install ...
1
vote
XServer, remote Debian workstation
Your question raise a number of concepts whose detailed discussion require more than a book (...as most of those "concepts" originated in the early days of XWindow and evolved up to current days...).
...
1
vote
XServer, remote Debian workstation
On the client you'll need enough OS to boot, load libraries, manage the local video/keyboard/mouse, and run a X server. On the remote headless box, do your regular install of whatever you want and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xserver × 22linux × 3
ssh × 3
debian × 3
vnc × 3
mysql × 2
coldfusion × 2
x11 × 2
x11forwarding × 2
display × 2
windows × 1
ubuntu × 1
google-cloud-platform × 1
remote-desktop × 1
google-compute-engine × 1
solaris × 1
ubuntu-16.04 × 1
sudo × 1
ssh-tunnel × 1
user-accounts × 1
ibm × 1
debian-wheezy × 1
grub × 1
session × 1
cygwin × 1