More > JRiver Media Center 21 for Linux

Start Debian without Monitor??

<< < (2/12) > >>

altsouza:
Hi,

I replaced to my user name (luiz).
Now , mc is loading, but tight is still not loading.
When I load it from the terminal, its ok
Here is the Text.

#!/bin/bash
export USER=luiz
ps -e | grep tightvnc || vncserver :1 -geometry 1920x1080
export DISPLAY=':1'
ps -e | grep mediacenter || mediacenter21 /mediaserver

My Gui is Gnome (sorry), but I can replace the Gui if it is easy (you have to teach hor to replace)

Thanks

mwillems:

--- Quote from: altsouza on November 22, 2015, 05:52:57 pm ---Hi,

I replaced to my user name (luiz).
Now , mc is loading, but tight is still not loading.
When I load it from the terminal, its ok
Here is the Text.

#!/bin/bash
export USER=luiz
ps -e | grep tightvnc || vncserver :1 -geometry 1920x1080
export DISPLAY=':1'
ps -e | grep mediacenter || mediacenter21 /mediaserver

My Gui is Gnome (sorry), but I can replace the Gui if it is easy (you have to teach hor to replace)

Thanks



--- End quote ---

If MC is loading, tight is necessarily loading (MC can't run without an xserver).  To repeat, the gray background is expected behavior, and if MC is running everything is working, right?  Can you describe what the current issue is in functional terms:  what do you want to do that you can't currently do (i.e. if MC is loading, what's the issue?)

If what you're saying is you want a full desktop experience over VNC, you've got a tougher case. Gnome and tightVNC are incompatible and have been for a few years unfortunately. So you'll either need to change VNC servers or change desktop environments.  But I'm not sure that's what you want?

altsouza:
Hi,

I build Speakers and Amps for hobby. I am now building a Streamer ( a mini itx computer with Debian-JRiver combo, a song lib in a   Hd (Local music), Wifi (i put an actual wifi router inside) and a DAC. I will put it inside an active Speaker, so it will be a complete standalone system.  I will control it with JRemote. Just turn on the speakers and everything is inside, no wires etc...
I was planing to use Windows, but Linux is more stable, so I opted to use it.
But I still need to control the Os!! Sometimes I need to twek Mc, or I need to copy more music to computer, and so on.
So I need a VNC, as there are no monitor in my Project. I use ultraVnc , and boot it without monitor, with windows with no problem, but Linux is giving me a Headache.

I can replace the Gui if you want. I just need a Gui to copy files, twek the network, adjust the Dsp in Mc, simple tasks I will need in to use the Gui.

Thanks

Antonio

mwillems:
Ok so you do need a full desktop running via VNC, that was the part I was missing.

As noted above, Gnome doesn't work with tightVNC (but does work with more modern VNC servers like TigerVNC).   

Given that you're setting up a system to only ever be headless, I would advise using a lighter weight desktop than gnome like xfce or lxde.  They will work with tightVNC and have a much, much lower memory footprint. Depending on which one you choose, you'll need to modify your ~/.vnc/xstartup to launch the appropriate desktop environment. 

First backup your existing ~/.vnc/xstartup (if you have one).  Then delete the file and create a new one like this:

--- Code: ---#!/bin/sh/
exec startxfce4
--- End code ---

That one is for xfce.  If you use lxde, replace the second line with
--- Code: ---exec startlxde
--- End code ---

If you want to use a different DE or WM, you'll need to look up how to invoke it on the command line (they're not all the same, or obvious from the name of the DE/WM)

altsouza:
Ok, how to replace the desktop??

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version