LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2005, 08:15 AM   #1
e-freak
Member
 
Registered: Jan 2005
Location: India
Distribution: Fedora Core 4, x86_64
Posts: 39

Rep: Reputation: 15
Installing a LAN server


Hello,

I am using FC4 and I want to isntall a server on my LAN where users can can login from remote terminals and use the console and/or the GUI based services, like a normal user. The server should be accessible from a Windows machine too using Telnet/SSH.

If someone can guide me with this or provide some useful links, I would be grateful.

Thanx.
 
Old 08-07-2005, 11:11 AM   #2
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
it's really just a matter of making sure SSH is running, and the users have login priviledges (which they do by default). If you're behind a firewall/nat you'll be to enable port forwarding for port 22 to go to the server on your lan.

If you want a gui tools for your remote users then install VNC and setup the port forwarding for that as well.
http://www.realvnc.com/

If you're going to enabled ssh, make sure you go into /etc/ssh/sshd_config and disbaled root login. Do this by finding the line PermitRootLogin and set it to no.
 
Old 08-07-2005, 11:36 AM   #3
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

if you want your clients to run X applications, make sure that X11forwarding is set to yes in sshd.conf...
when I used X11 remote applications from win, I used hummingbird... I don't know if it's cheaper than VNC or not...
 
Old 08-07-2005, 02:23 PM   #4
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
hello i use ssh maybe you could try this
xhost +aries
ssh -x masternige@aries
echo $ DISPLAY
export DISPLAY=192.168.1.100
export DISPLAY=master:0
xterm &

This is an exaple of me connecting to a user called "masternige" at a computer called aries where i have wrote "export DISPLAY=192.168.1.100" This is my ip
where i have wrote "export DISPLAY=master:0" This is my username "master" "0" is the display
"xterm &" is how i open a terminal from there i can do whatever i want use a web browser or whatever i understand ssh to be more secure than "vnc" i hope this is what you are looking for
thanks nige
 
Old 08-08-2005, 01:37 AM   #5
angel_hva
LQ Newbie
 
Registered: Mar 2004
Location: Vietnam
Posts: 24

Rep: Reputation: 15
Anybody help?
http://www.linuxquestions.org/questi...hreadid=351032

Last edited by angel_hva; 08-09-2005 at 05:40 AM.
 
Old 08-08-2005, 11:35 AM   #6
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
nice thread
 
Old 08-15-2005, 07:31 AM   #7
e-freak
Member
 
Registered: Jan 2005
Location: India
Distribution: Fedora Core 4, x86_64
Posts: 39

Original Poster
Rep: Reputation: 15
Hello again

I successfully set up an SSH server thanks to you guys. Now my next step is to let the users use the X desktop environment remotely. How should I go bout doing that? Can multiple users use the X services simultaneously? If yes, how? How do I set up the workstations to 'boot' remotely from my server?

Any help would be appreciated. Thanks!

PS - Master, I really didn't understand your reply. Can you include a simple explanation for it? Thanks!

Last edited by e-freak; 08-15-2005 at 07:34 AM.
 
Old 08-16-2005, 02:08 PM   #8
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
ok imagine this i have a server i want to use all the programmes and resources on it from another computer so this is what i do.
My server is called "Aries"
so i open a terminal from another computer and type.
xhost +Aries
the feedback is
Aries being added to access control list.
You then ssh in the normal way
"ssh -x masternige@Aries"
It will then ask you for a password this is the password for the server once you enter the password you will be conected to the server where i have used the name "masternige"that is just my username on the server.
you then need to type
"echo $ DISPLAY"
"export DISPLAY=192.168.1.100"
Where i have wrote "export DISPLAY=192.168.1.100" this is the ip of the computer i am sat at NOT the server
You then need to type
"export DISPLAY=master:0"
Where i have wrote "master:0"this is the username of the computer i am sat at so yours will be different "0" is the display number

If you want you dont have to use names you could just use ip addresses like this
"xhost +192.168.1.103"
"ssh -x masternige@192.168.1.103"
I hope you can make sense of this if not let me know and i will try again otherwise i think we need some one else to explain it to you.
Thanks nige

Last edited by master; 08-16-2005 at 02:18 PM.
 
Old 08-16-2005, 02:10 PM   #9
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
I am not sure how this works with windows as i only run Linux.
Thanks nige
 
Old 08-16-2005, 10:01 PM   #10
e-freak
Member
 
Registered: Jan 2005
Location: India
Distribution: Fedora Core 4, x86_64
Posts: 39

Original Poster
Rep: Reputation: 15
So is it fine if I have a minimal installation(no X) on the client? Will it still work fine?
 
  


Reply



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
running FTP server on a LAN for folks outside of the LAN johnMG Linux - Networking 4 12-23-2006 04:10 PM
LAN needs name server? burley Linux - Networking 3 09-09-2005 03:47 PM
Installing over LAN Kabuso Linux - Networking 1 12-30-2004 02:51 AM
installing mandrake 10 via peer to peer LAN from XP server humpho Linux - Networking 0 05-29-2004 05:02 AM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:19 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
Open Source Consulting | Domain Registration