Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
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.
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...
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
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!
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.