Starting Puppy/X with no monitor and VNC

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
aliG
Posts: 76
Joined: Sun 15 Jul 2007, 09:52
Location: Glasgow, Scotland

Starting Puppy/X with no monitor and VNC

#1 Post by aliG »

Hi,

I have searched everywhere for this but can't find the answer...

Embedded System : VIA MINI-ITX EPIA M 533 Mhz, 1Gb CF card in IDE adaptor, Puppy 2.16

I have sucesfully installed puppy, X works fine and I have managed to get VNC to start automatically by adding the line:

vncserver :1 -geometry 1024x768
to /root/.xinitrc

The system boots with no problems, VNC server starts and I can connect using VNC client from my desktop (Win 2k or SUSE).

The problem comes when I remove the monitor plug, when Puppy boots it then asks me to select Xserver and video mode etc - just like first time.

Does anyone know how to stop the monitor "auto detection" running so Puppy will start without the monitor. There is a lot of stuff in xwin file but I dont feel competent to mess with it...

Thanks for reading this far

Alison

micron2121
Posts: 8
Joined: Fri 10 Aug 2007, 14:08

#2 Post by micron2121 »

Hi Alison,

I restart my puppy server remotley now, and without a monitor connected, and never get the wizard. I'm using Xversa.

User avatar
aliG
Posts: 76
Joined: Sun 15 Jul 2007, 09:52
Location: Glasgow, Scotland

#3 Post by aliG »

micron2121 wrote:Hi Alison,

I restart my puppy server remotley now, and without a monitor connected, and never get the wizard. I'm using Xversa.
Micron - I am encouraged! (I also run Xvesa)

Q1 : What Puppy version / system are you running
Q2 : how are you starting VNC / connecting to the machine when not booted?

Alison

micron2121
Posts: 8
Joined: Fri 10 Aug 2007, 14:08

#4 Post by micron2121 »

I'm running Puppy 2.16, with a intel celeron 800mhz, 128mb ram, 256 swap partion, 1.1G ext2 partion (for puppy it self) and a second 80G hd for the share's.

my vnc settings are vncserver -geometry 800x600 -display 16

I tried several ways of starting Vnc, added the line to .initrc which started vnc, but jwm would load and then instantly crash again back to the command line, so now use a Autostart Program to start vnc.

All works like a charm.

User avatar
aliG
Posts: 76
Joined: Sun 15 Jul 2007, 09:52
Location: Glasgow, Scotland

Updated (with a solution...)

#5 Post by aliG »

Micron, thanks this is most appreciated - I have now had some success - for anyone else reading this my situation is as follows:


Using Xorg
=======
It is possible to start VNC server automatically by adding the line

vncserver:1 -geometry 1024x768

to the end of .xinitrc just vefore the exec jwm bit.

However if you start with no monitor the video wizard starts and the system is "stuck" before the VNC server starts - hence you can't connect

Using Xvesa
=======
Like you I can get VNC server to start adding the line as above - but then JWM dies and I just get a grey blank "x" window when I connect via VNC.

Using Xvesa however does mean the PC boots without the video wizard starting.

So I used the "auto start" .PUP in Microns post above - works fine!

This is probably a more sophiticated method of doing this - anyone who knows more feel free to post!

xx
Alison

dino9832
Posts: 9
Joined: Tue 31 Jul 2007, 19:34

#6 Post by dino9832 »

Check out the last post in this thread.
http://www.murga-linux.com/puppy/viewto ... 24&t=16339

You have to add

Code: Select all

 echo -n "false" > /etc/.XLOADED 
to the file

Code: Select all

/etc/rc.d/rc.local

Post Reply