You are not logged in.

#1 2016-02-07 09:30:14

folatt
Member
Registered: 2015-08-01
Posts: 96

Getting graphics to work on my Xen-project DomU PV [solved]

- To clear things up a bit -

What I want:

A development environment where I can safely develop plugins for ArkOS, fix bugs in ArkOS and if necessary even develop new features on ArkOS.
ArkOS is a derivative OS of Arch Linux.

Why I want it:

I've achieved this via Virtualbox before, but running two graphical OSes, made my computer slow. It's especially annoying to see Eclipse slow down to a crisp whenever
I would scroll around. Sometimes the whole thing even crashed my computer.

So I thought, why not use two computers instead?
Keep leisure and hobby project separated and dividing the CPU/RAM workload across two computers.

How I want to achieve this:

Install Eclipse on my DomU and be able to use my home computer to somehow remotely login to my DomU and use Eclipse there.

My setup:

Computer #1 - leisure computer
OS: Ubuntu

30j362e.jpg

Computer #2 - hobby project computer
Dom0    - OS:  Arch Linux
L DomU - OS:  Arch Linux/ArkOS

21ltjr4.jpg

What I have achieved so far:

I have set up a Dom0.
I have set up a DomU.
I can open a console to my DomU.

My problem:

- No working connection from my leisure computer to my hobby project, or at least, not one that shows a desktop environment.
L In fact, I can't even start the desktop environment on my DomU itself, though I don't know if that's a necessity.


I now have a new computer because I thought perhaps it's AMD with it's odd drivers fault.

Because Xorg :0 -configure results in video card not found as I'm in a DomU, I created a xorg config file.

Both Dom0 and DomU are Arch linux.

Because `Xorg :0 -configure` results in video card not found
as I'm in a DomU, I created a xorg config file.

I have managed to get vncserver running on my DomU and was able to connect to it via tightvnc, but got a black screen.
One of my questions is, what does the line "vfb = ['vnc=1,vnclisten=0.0.0.0']" exactly do?

Is that supposed to enable me access to my DomU GUI via my Dom0? Can I use it access my DomU
via a remote vnc viewer?

/etc/X11/xorg.conf.d/10-monitor.conf

    Section "Monitor"
        Identifier             "Monitor0"
    EndSection

    Section "Device"
        Identifier             "Device0"
        Driver                 "vesa" 
    EndSection

    Section "Screen"
        Identifier             "Screen0"  
        Device                 "Device0"
        Monitor                "Monitor0"
        DefaultDepth           16 
        SubSection             "Display"
            Depth              16
            Modes              "1024x768_75.00" 
        EndSubSection
    EndSection

My `startx` output:

/var/log/Xorg.0.log

    [  3450.215] 
    X.Org X Server 1.18.0
    Release Date: 2015-11-09
    [  3450.215] X Protocol Version 11, Revision 0
    [  3450.215] Build Operating System: Linux 4.2.5-1-ARCH x86_64 
    [  3450.215] Current Operating System: Linux ArkOS_Dev 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
    [  3450.215] Kernel command line: root=UUID=a6ecbc99-beca-4c22-b591-51846a193e25 ro xen-fbfront.video=32,1024,768 root=/dev/xvda rw (null)
    [  3450.216] Build Date: 08 January 2016  05:56:16PM
    [  3450.216]  
    [  3450.216] Current version of pixman: 0.34.0
    [  3450.216] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
    [  3450.216] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [  3450.216] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb  6 00:34:40 2016
    [  3450.217] (==) Using config file: "/etc/X11/xorg.conf"
    [  3450.217] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [  3450.217] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [  3450.217] (==) No Layout section.  Using the first Screen section.
    [  3450.217] (**) |-->Screen "Screen0" (0)
    [  3450.217] (**) |   |-->Monitor "Monitor0"
    [  3450.218] (**) |   |-->Device "Device0"
    [  3450.218] (==) Automatically adding devices
    [  3450.218] (==) Automatically enabling devices
    [  3450.218] (==) Automatically adding GPU devices
    [  3450.218] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [  3450.218] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
    [  3450.218] (==) ModulePath set to "/usr/lib/xorg/modules"
    [  3450.218] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
    [  3450.218] (II) Loader magic: 0x819d40
    [  3450.218] (II) Module ABI versions:
    [  3450.218] 	X.Org ANSI C Emulation: 0.4
    [  3450.218] 	X.Org Video Driver: 20.0
    [  3450.218] 	X.Org XInput driver : 22.1
    [  3450.218] 	X.Org Server Extension : 9.0
    [  3450.221] (--) using VT number 2

    [  3450.221] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [  3450.221] (II) no primary bus or device found
    [  3450.222] (II) Open ACPI successful (/var/run/acpid.socket)
    [  3450.222] (II) LoadModule: "glx"
    [  3450.222] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [  3450.226] (II) Module glx: vendor="X.Org Foundation"
    [  3450.226] 	compiled for 1.18.0, module version = 1.0.0
    [  3450.226] 	ABI class: X.Org Server Extension, version 9.0
    [  3450.226] (==) AIGLX enabled
    [  3450.226] (II) LoadModule: "vesa"
    [  3450.227] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    [  3450.227] (II) Module vesa: vendor="X.Org Foundation"
    [  3450.227] 	compiled for 1.18.0, module version = 2.3.4
    [  3450.227] 	Module class: X.Org Video Driver
    [  3450.227] 	ABI class: X.Org Video Driver, version 20.0
    [  3450.227] (II) VESA: driver for VESA chipsets: vesa
    [  3450.231] (WW) Falling back to old probe method for vesa
    [  3450.232] (EE) No devices detected.
    [  3450.232] (EE) 
    Fatal server error:
    [  3450.232] (EE) no screens found(EE) 
    [  3450.232] (EE) 

My DomU PV config:

/etc/xen/ArkOS-dev_PV.cfg

    name = 'ArkOS_Dev'
    bootloader = "pygrub"
    #kernel = "/mnt/arch/boot/x86_64/vmlinuz"
    #ramdisk = "/mnt/arch/boot/x86_64/archiso.img"
    #extra = "archisobasedir=arch archisolabel=ARCH_201511"
    memory = 2048
    vcpus = 3
    disk = [ "format=raw, vdev=xvda, access=rw, target=/dev/vm_volumes/root.ArkOS_Dev",
         "format=raw, vdev=xvdb, access=rw, target=/dev/vm_volumes/swap.ArkOS_Dev"
       ]
    vif = [ 'mac=00:16:3e:49:2b:a1,bridge=xenbr0' ]
    vfb = ['vnc=1,vnclisten=0.0.0.0']
    root = "/dev/xvda rw" 

inxi -F (Dom0)

    System:    Host: hypervisor Kernel: 4.4.1-2-ARCH x86_64 (64 bit)
               Console: tty 0 Distro: Arch Linux
    Machine:   Mobo: ASRock model: N3700-ITX
               Bios: American Megatrends v: P1.30 date: 08/19/2015
    CPU:       Single core Intel Pentium N3700 (-UP-) cache: 1024 KB
               speed: 1600 MHz (max)
    Graphics:  Card: Intel Device 22b1
               Display Server: N/A driver: N/A
               tty size: 80x24 Advanced Data: N/A out of X
    Audio:     Card Intel Device 2284 driver: snd_hda_intel
               Sound: Advanced Linux Sound Architecture v: k4.4.1-2-ARCH
    Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
               driver: r8169
               IF: enp3s0 state: up speed: 100 Mbps duplex: full
               mac: d0:50:99:8f:1e:31
    Drives:    HDD Total Size: 120.0GB (7.8% used)
               ID-1: /dev/sda model: OCZ size: 120.0GB
    Partition: ID-1: / size: 16G used: 6.8G (44%) fs: btrfs dev: /dev/sda2
               ID-2: /boot size: 511M used: 41M (8%) fs: vfat dev: /dev/sda1
               ID-3: swap-1 size: 2.15GB used: 1.32GB (61%) fs: swap dev: /dev/sda4
    Sensors:   None detected - is lm-sensors installed and configured?
    Info:      Processes: 101 Uptime: 0 min Memory: 901.9/927.2MB Init: systemd
               Client: Shell (bash) inxi: 2.2.32 

inxi -F (DomU)

    System:    Host: ArkOS_Dev Kernel: 4.4.1-2-ARCH x86_64 (64 bit) Console: tty 0 Distro: Arch Linux
    Machine:   No /sys/class/dmi; using dmidecode: dmidecode is not installed.
    CPU:       Single core Intel Pentium N3700 (-) cache: 1024 KB 
               clock speeds: max: 1600 MHz 1: 1600 MHz 2: 1600 MHz 3: 1600 MHz
    Graphics:  Card: Failed to Detect Video Card!
               Display Server: X.org 1.18.0 driver: vesa tty size: 117x34 Advanced Data: N/A out of X
    Network:   Card: Failed to Detect Network Card!
    Drives:    HDD Total Size: 95.9GB (4.6% used) ID-1: /dev/xvda model: N/A size: 93.7GB
               ID-2: /dev/xvdb model: N/A size: 2.1GB
    Partition: ID-1: / size: 86G used: 4.1G (6%) fs: ext4 dev: /dev/xvda
    Sensors:   None detected - is lm-sensors installed and configured?
    Info:      Processes: 73 Uptime: 1 min Memory: 84.7/1997.3MB Init: systemd     
               Client: Shell (bash) inxi: 2.2.32

Last edited by folatt (2016-02-07 21:58:18)

Offline

#2 2016-02-07 22:01:11

folatt
Member
Registered: 2015-08-01
Posts: 96

Re: Getting graphics to work on my Xen-project DomU PV [solved]

The whole problem seems to be my network bridge configuration, so all the info dump is irrelevant.

Thread needs to close and I will ask a new question.

Offline

Board footer

Powered by FluxBB