More > JRiver Media Center 21 for Linux

Start Debian without Monitor??

<< < (4/12) > >>

altsouza:
When I load tightvncserver manually, here is the message i got


New 'X' desktop is debian:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/debian:1.log

mwillems:
If it's not loading, it means the cronjob isn't running (or is encountering errors), which is odd;  that's harder to troubleshoot.  

I think I see part of the problem though: in your outputs above it looks like you're running as root, which is a big no no, and is almost certainly a big part of the issues you're seeing. The whole point of exporting your user is that the scripts are supposed to be run as your user in your crontab (not root's crontab).  You should never login as root for normal tasks for a lot of different reasons (security and some programs won't work right).  Additionally, the tilde refers to /root when logged in at root, instead of /home/luiz which is what it refers to when logged in as your user.  So the cronjob won't work correctly.

Can you post the output of the three commands I listed above when logged in as your user (luiz)?  

i.e. login as luiz as run


--- Quote ---cat ~/.vnc/xstartup
cat ~/headless
crontab -l

--- End quote ---

Also, just for insurance, run and post the output of
--- Code: ---ls -la /home/luiz
--- End code ---


--- Quote from: altsouza on November 24, 2015, 07:02:50 am ---2. How to login automatic (with no password ask - when I boot the system)

--- End quote ---

If you get my script setup correctly for your user, VNC and MC will load without a password ask, they'll just be waiting there for you.

altsouza:
You were right, it was the root problem. Almost everything is ok.
Now the last probmem, the Pc does not boot without monitor.
When i disconect the cable i does not boot

mwillems:

--- Quote from: altsouza on November 24, 2015, 07:43:12 am ---You were right, it was the root problem. Almost everything is ok.
Now the last probmem, the Pc does not boot without monitor.
When i disconect the cable i does not boot

--- End quote ---

You'll have to explain what you mean by "does not boot"?  Like doesn't POST?  That sounds like a hardware problem?

altsouza:
It does not boot. The Hdd light stops halfway in the boot process.
When I conect the monitor cable, it boots.

Another question, the Vnc is ok, but when I use a monitor , the desktop seems to be a diferent one, JRiver does not appear.
Does The Desktops can not be the same?? This is optional for me.

Thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version