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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
09-13-2004, 07:30 AM
|
#1
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Rep:
|
thightVNC for Mandrake 10.0
I did some searching,
but can't figure out what thightVNC sources I should download
to build and install on my mandrake 10 server.
The purpose is to use tightVNC inside the firewall,
monitorring the linux server from a win xp.
So, if anyone knows a download site WITH instructions,
I'm (very) new to linux, getting my webserver with db and all
running was like a miracle ... and a very though job ...
|
|
|
09-13-2004, 07:45 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
As far as I know, VNC on Mandrake CDs is TightVNC! No need to compile. At least that was the case on Mandrake9.1.
Go to the software manager, and look for vnc.
|
|
|
09-13-2004, 08:04 AM
|
#3
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
You're right, found it ...
but it gives (Missing signature) error
anyway, I know what to look for now ...
The documentations seems to be on the (missing) cd 4 ...
horray !
|
|
|
09-13-2004, 08:21 AM
|
#4
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
horray,
downloaded and installed it.
eh, how do I use it ?
Can't find the installed documentation, how nasty ...
|
|
|
09-14-2004, 09:05 AM
|
#5
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
anybody who can help me out how to start the thightVNC server on linux (Mandrake 10) ?
|
|
|
09-15-2004, 06:47 AM
|
#6
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
the command
vncserver
did the trick ...
life can be so simple, it actually configurred it and it works.
up to next problem:
How can I make it run at startup ?
I putted it in rc.local, but it doesn't help.
|
|
|
09-15-2004, 07:39 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
What do you mean "at startup"? You mean after you have logged in? Or when the PC is booting?
In the latter case, what should the session display?
Yves.
|
|
|
09-15-2004, 07:46 AM
|
#8
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
You're right, I should made it more clear.
What I mean is that it's up and running at boot,
the goal is that the server is running completely
just by pressing the power button.
that's why I used rc.local,
this works to make my apache and tomcat server running ...
|
|
|
09-15-2004, 07:54 AM
|
#9
|
Member
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141
Rep:
|
TightVNC will require an xserver to be running so try placing in xinitrc to start it when X starts up.
I've found this VNC server http://xf4vnc.sourceforge.net/, which loads as an X module and supports all TightVNC features apparently. I've used it and it works well, and has advantage of allowing you to connect to an existing X session rather than starting a new one.
|
|
|
09-15-2004, 08:11 AM
|
#10
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
wow, not so fast, I'm new to linux, 2 months ago I never saw a linux.
First: I can't find xinitrc.
Second: X server runs already (as far as I know), it starts automatic at boot,
I get a graphical login screen. The only thing I don't want to do is actually have to log on ...
I want to do this remotely, so I can put this server in the attic (in a way of speaking)
and control everything from my windoze pc here (for now I'm still running windows,
one step at a time.)
I would be happy if I don't have to install another vnc server ...
|
|
|
09-15-2004, 09:43 AM
|
#11
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
OK. If I understand correctly, you want to boot the PC, which will then start at boot some servers, among which is a VNC server.
This VNC server should display *your* desktop without you having to log in locally.
But this PC will be hidden, so it really does not need a local display.
Am I right?
If so, I think the simplest solution is to (1) switch to text mode, and (2) start VNC without a local display. For that here are the steps:
1) Open /etc/inittab in a text-editor, and change the default runlevel from 5 to 3. This can also be done somewhere in the boot options of MandrakeControlCenter.
2) Open /etc/rc.d/rc.local in a text-editor, and append those 2 lines to it:
rm -f ~you/.vnc/*.pid ~you/.vnc/*.log
su - you -c vncserver
where you replace "you" by your real login.
3) reboot.
Do those steps only when you're sure that vncserver starts OK as your user, and without asking for anything.
There may be interesting options to use for vncserver, among which is asking for a password to people connecting remotely. But I don't remember vncserver's options. I hope this helps.
Yves.
Last edited by theYinYeti; 09-15-2004 at 09:44 AM.
|
|
|
09-15-2004, 10:15 AM
|
#12
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
rm -f ~you/.vnc/*.pid ~you/.vnc/*.log
su - you -c vncserver
did the trick, no need to change the runlevel.
THANX !
next to the last question I hope:
how to remotely reboot the whole pc ?
closing the session seems to be the only option I have from remote.
|
|
|
09-15-2004, 11:21 AM
|
#13
|
Member
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141
Rep:
|
open an xterm and type
after entering password machine should reboot
|
|
|
09-17-2004, 08:27 AM
|
#14
|
Member
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140
Original Poster
Rep:
|
thanx,
this works fine.
Yet another small problem.
How to shutdown remotely ?
the command
shutdown
or
su -c shutdown
doesn't work at all
|
|
|
09-17-2004, 09:09 AM
|
#15
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
On Mandrake: halt.
Yves.
|
|
|
All times are GMT -5. The time now is 03:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|