LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2003, 02:52 PM   #1
fraglord
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Rep: Reputation: 0
How to start x0rfbserver automatically?


hello,

i would like to start the x0rfbserver on my machine before anybody is logged in! so that everybody can login as everybody!
dont know which script is responsable for this hope you can help me guys
 
Old 06-16-2003, 02:18 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Normally to start an application prior to anyone logging in you place the application to execute (using full PATH) in rc.local The location of that file is dependant upon your distro, check /etc and /etc/rc.d

Also, since I am unaware, could you expand on what x0rfbserver is, and more importantly, why you want to be able to login as anyone from anyone???

Cool
 
Old 06-16-2003, 05:23 PM   #3
fraglord
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
x0rfbserver is a program that shows you the exact 0 display and doenst open another xwindow session like the normal vnc!
i dont htink its the right playe to install it in the initta on my suse system because it has to start after xwindows is launched. so better add a line to the config of kdm?
but i dont know how to do that right
 
Old 06-16-2003, 07:23 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
If it has to load after X starts, then it probably depends on how you startx. It looks like you start from a graphical login manager. If that is so, you probably need to edit the corresponding wm entry to start that wm. However that's distro specific and sometimes can be A LOT of work. I prefer the "startx" way of getting to X. Then all you will need to do is edit your .xinitrc file and add, with full path:
/path/to/application/application &
exec /path/to/window/manager/windowmanager

Cool
 
Old 06-17-2003, 04:48 PM   #5
fraglord
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
well, i guess thats too complicated to start this program automatically. so i tried to start it over a ssh connection but it doesnt start, seems not to use display 0 X11 forwaridn is enadbled on ssh server and ssh client and the display offest is set to 0!
 
Old 06-18-2003, 09:54 AM   #6
fraglord
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
here is what i get when i start the x0rfbserver:

X connection to localhost:1.0 broken (explicit kill or server shutdown).

as i said the X11 forwarding is enabled on the server and inc lient ( putty from windows). the display offset is set to 0. dont know whats wrong
 
Old 06-18-2003, 10:50 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Yah, me neither. I've never quite mastered the art of starting X remotely. There's quite a few threads on it, I just can't seem to get them to work for me. Supposedly it's extremely easy:
xhost +
And then startx, but I don't seem to be able to get that to work

Good Luck.

Cool
 
Old 06-20-2003, 01:51 PM   #8
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Rep: Reputation: 15
Using Gnome

I have been using Gnome and I get it to start by going to the main menu Configuration>GNOME>Advanced>Sessions and sticking it in the Startup Programs tab. Unfortunately (for me anyway) it open a little window on the desktop and in the window lsit at the bottom. I want it to just run silently behind the scenes. I can't figure out how to get it to run on startup with KDE though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I automatically start a program at start up? victordh Linux - General 7 10-27-2013 06:02 AM
Xhost - How to start it automatically? shazam75 Linux - Software 3 10-17-2004 08:29 AM
start apps automatically on start up? chunlee Linux - Newbie 3 09-04-2004 12:58 PM
How do I automatically start sshd? jdruin Linux - Software 1 07-05-2004 09:07 PM
X won't start automatically urinal cake Linux - Newbie 5 03-08-2002 05:54 PM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration