Link to home
Start Free TrialLog in
Avatar of Snody
Snody

asked on

Start VNC automatically under SUSE 7.3

Hi,

I'm a newbie in Linux Suse. I want to autostart VNC under SUSE 7.3 automatically...

Can anybody help me please?

Greets & Thanks,
Andy
Avatar of flashtek
flashtek

Are you wanting to start the server or client end ?

Server end is started from /etc/inittab with lines similar to the following;

V1:5:respawn:/etc/govnc 1 800x600 8 1>/tmp/axvnclog1 2>&1
V2:5:respawn:/etc/govnc 6 1024x768 8 1>/tmp/axvnclog2 2>&1
V3:5:respawn:/etc/govnc 10 1024x768 16 1>/tmp/axvnclog3 2>&1

V1 = 800x600 8 bit colour
V2 = 1024x768 8 bit colour
V3 = 1024x768 16 bit colour

HTH

Neil
Avatar of Snody

ASKER

I normaly start vnc (server) in the shell with /usr/bin/vncserver so I though it has to be in the inittab:

vnc:5:respawn:/usr/bin/vncserver

that doesn't work... I don't know why...

for what exactly is ">/tmp/axvnclog 2 2>&1"?

I know that the ">" is vor a redirection, I think that will generate a log-file or so...but I really don't know for what the "2 2>&1" is

Can you help me again?

Big thanks anyway,
Andy

Avatar of Snody

ASKER

I saw there is an error message at the console:

vnc: couln't find "xauth" on your path

and

respawning too fast: wait for 5 minutes

I searched trough the internet, but I only found the tip to try to run the app in the shell...

In the shell I can start vncserver without any problems...

I don't know what is the problem with the xauth... Can you help me? Do I have to specify something else? As I said if I login and start svcserver I don't have any problems.

I use realvnc from http://www.realvnc.com

It would be really nice if you can help me...

Thanks a lot,
Andy
Avatar of Snody

ASKER

Can nobody help me?
Snody:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Be PAQ'd/Points No Refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of RomMod
RomMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial