INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: having issues starting jriver on debian VM via VNC client  (Read 4995 times)

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 303
having issues starting jriver on debian VM via VNC client
« on: January 17, 2017, 05:26:17 am »

Hi,

Preface this with - I do not have good *NIX skills & am out of my depth.  Appreciate some help if anyone has time

Background
  • Long time Media Center user on Windows.  Have been running on Raspberry Pi without issues - but dependent on articles by mwilliams, awesome donkey and hilton to get up and running
  • I have built a FreeNAS Server.  To summarise my set-up
    • Freenas 9.10 running on an  Intel Xeon machine
    • VirtualBox (phpVirtualBox) installed in a Jail
    • Debian 8 guest built within VirtualBox
    • Debian guest has access to the NAS filesystem (via VirtualBox Guest Addins)
    • JRiver MediaCenter 22 installed on Debian guest
    • JRiver working perfectly.  other JRiver instances, DLNA devices and JRemote all configured to access the library installed on the VM.  Very happy household

When I need to access JRiver for tagging or other admin work I do so via a VNC client (TightVNC Viewer) on a Windows machine.  The VNC client is using the IP address allocated to VirtualBox installation and the port allocated for the debian guest within VirtualBox (eg 192.168.2.150:9000).  This works but the screen resolution is poor & it takes a lot of time to do things.

I thought about installing vncserver on the debian VM and accessing it directly (instead of via VirtualBox).  So
  • Installed vncserver on the Debian guest
  • Started vncserver (& set the password)
  • TightVNC Viewer successfully connects to debian guest (eg 192.168.2.99:1)  Happy with the screen resolution
  • Unable to start MediaCenter.  syslog shows a segfault (see below)

Code: [Select]
Jan 17 21:58:20 deb64vm001 kernel: [   105.948190] mediacenter22[1358]: segfault at 10 ip 0000000000eb1799 sp 00007fff713075a0 error 4 in mediacenter22[400000+1185000]

I'm at a bit of a loss at what to check / look at.  I'm guessing I have setup vncserver incorrectly, but not skilled enough to progress further. Any thoughts?

Appreciate your help & sorry for the complex setup

Cheers,

Steve
Logged

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 303
Re: having issues starting jriver on debian VM via VNC client
« Reply #1 on: January 17, 2017, 05:33:12 am »

and some further info

if I start mediacenter22 from a terminal session via the TightVNCViewer I get the following

Code: [Select]
Xlib: extension "RANDR" missing display on ":1.0".
Segmentation fault

cheers,

Steve
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: having issues starting jriver on debian VM via VNC client
« Reply #2 on: January 17, 2017, 06:12:01 am »

If you use Authentication on the Linux Server, you could use another copy of MC on another machine to do tagging.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: having issues starting jriver on debian VM via VNC client
« Reply #3 on: January 17, 2017, 06:25:02 am »

It's a known issue that's been happening that Bob's aware of. I think this might fix it - try installing these in Debian where MC is running from;

Code: [Select]
sudo apt-get install libxrandr2 x11-xserver-utils
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 303
Re: having issues starting jriver on debian VM via VNC client
« Reply #4 on: January 17, 2017, 06:29:37 am »

Thanks Jim

Authentication already enabled

made tag change & selected sync changes with library server & it worked.
then created a playlist, synced & playlist available on library server

that addresses the more common reasons for needing to access the VM.  Appreciate it

Steve

Logged

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 303
Re: having issues starting jriver on debian VM via VNC client
« Reply #5 on: January 17, 2017, 06:37:24 am »

It's a known issue that's been happening that Bob's aware of. I think this might fix it - try installing these in Debian where MC is running from;

thanks

apt-get reports these are already installed and are latest version

retried and get same issue

cheers,

Steve
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: having issues starting jriver on debian VM via VNC client
« Reply #6 on: January 17, 2017, 11:05:32 am »

Just did some testing on this and the issue appears to be the vncserver on the linux side. By itself it doesn't support xrandr which is necessary for multiple monitors and has been part of MC's requirements since theaterview was added.

What I do here is use the dummy xserver and x11vnc on top of that. It works without any issues. Can even use remote desktop protocol with xrdp as well.
Logged

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 303
Re: having issues starting jriver on debian VM via VNC client
« Reply #7 on: January 20, 2017, 02:22:04 am »

thx Bob. 

Working OK.
Logged

prahl

  • Recent member
  • *
  • Posts: 12
Re: having issues starting jriver on debian VM via VNC client
« Reply #8 on: March 27, 2017, 12:26:03 pm »

What I do here is use the dummy xserver and x11vnc on top of that. It works without any issues. Can even use remote desktop protocol with xrdp as well.

Hi Bob,
we are running into issues as well. We were using just using vncserver on our (console only debian 8) linux machine in the past, which now fails with latest mediacenter.
I followed your instructions here to install xserver-xorg-video-dummy and x11vnc (https://yabb.jriver.com/interact/index.php/topic,109419.msg757258.html).

Should these steps still work without any problems?
I installed both packages (with all prerequisites), updated the xorg.conf, but the x-server won't start with the dummy device.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13871
Re: having issues starting jriver on debian VM via VNC client
« Reply #9 on: March 27, 2017, 01:27:02 pm »

Hi Bob,
we are running into issues as well. We were using just using vncserver on our (console only debian 8) linux machine in the past, which now fails with latest mediacenter.
I followed your instructions here to install xserver-xorg-video-dummy and x11vnc (https://yabb.jriver.com/interact/index.php/topic,109419.msg757258.html).

Should these steps still work without any problems?
I installed both packages (with all prerequisites), updated the xorg.conf, but the x-server won't start with the dummy device.
It should.
How are you trying to start it?
Logged

prahl

  • Recent member
  • *
  • Posts: 12
Re: having issues starting jriver on debian VM via VNC client
« Reply #10 on: April 03, 2017, 07:26:39 am »

Hi Bob,

I got it working.

I expected that the x-server will start automatically with existing xorg.conf.

I just needed to start the x-server with "sudo Xorg :0" and everthing works fine.

Thanks
Logged
Pages: [1]   Go Up