Linux - SoftwareThis 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.
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.
OK first off, I'm a Linux newbie and may appear to be diving in a little too deep but unfortunately I don't have much choice.
I currently have 2 w2k boxes on my network (an ADSL router) and control them remotely from work using TightVNC - I need a Linux box set up similarly.
So far I have installed MDK9.2 on an old P3/450. It has a 20g drive and 384Mb ram so hopefully the spec is OK. Gnome is the installed GUI which has allowed me to setup the networking correctly - such that I can access the shares on my w2k PCs, print though my network print-server and surf the net.
Before I can remotely control the Linux box, I need to configure TightVNC - this is where I'm confused. MDK 9.2 appears to have installed TightVNC, however when I run VNCServer, all I see is a small window + a Terminal session ????????
Ideally, I'd like TightVNC to run at startup, hopefully enabling two sessions - one for root & another for a normal user (i.e. the one I would normally use).
I'm very familiar with Windows but utterly clueless with Linux... unfortunately I really need to sort this out BEFORE I can start to learn about it.
Can anyone help ?
When the VNC issue is resolved I'll move onto firewalls...Doh !
I don't know if you know this, but VNC on Linux does not share the X server, it is an X server in its own right. You can however share your X session using the VNC protocol. You can also configure VNC to start two desktop environments without starting X on the Linux Box.
If you would like to share your Linux display like the VNC implementation on Windows you should take a look at http://www.tjansen.de/krfb/. or http://forum.hexonet.com/. Otherwise you need to configure VNC, details are found in the manual for VNC.
I hope this helps,
Marcel
Last edited by Hertattack; 01-13-2004 at 09:17 AM.
I don't want VNC operating in the same way as Windoze - I hoped for 2 VNCServers, 1 as root and another as a 'user'... then I connect to whichever I need at the time.
I had hoped for a simple script I could drop in because I'm pretty clueless with Linux - I just don't get the time at home, hence needing to get VNC up & running so that I can learn while I'm at work
open a terminal and start vncserver if you have not already done so. The startup files will be created. You need to do this as the user you want the server running as.
Go to /home/user/.vnc and edit the file xstartup, mine now looks like this:
#!/bin/sh
when i start vncserver now, it will start xfce4. If you want gnome you can do the following:
keep only the #!/bin/sh and the xrdb .... line in the xstartup file, leave the editor and type: which gnome-session >> ./xstartup
or
which startkde >> ./xstartup
and after that:
edit the xstartup file again and add an & after the last line.
The only thing you need to do now is put vnc in the startup scripts. If you need help with that let me know. First try to get the windowmanager of your choice running.
Marcel
Last edited by Hertattack; 01-13-2004 at 10:37 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.