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 have my linux workstation at home and my linux laptop, which goes to my office with me. I would like to be able to logon to the workstation from my laptop in my office so that I can write/compile/run code on the actual workstation. I think I've seen this done before with vnc/telnet/ssh...does that sound right?
If someone could post a step-by-step for me or be able to explain it clearly that would be greatly appreciated! I'm still really new to linux and I'm learning as I go. Thanks for your patience and help...Cheers!
i think best way is ssh. if X is installed at both side, u can run X applications. but u must work at X windows at client side.
1- make sure ssh deamon works on server side. it is probably installed.
2- make sure no firewall blocks tcp 22 port, (by default ssh deamon listens to tcp 22)
3- login to server from client side:
$ssh ip_of_server -l username
Location: Somewhere between silicone and silicon valley.
Distribution: OpenSUSE, Mint, Fedora, Ubuntu
Posts: 17
Rep:
Along these same lines, I have ssh server running on a suse 8.0 enterprise box with X running. When I ssh to it from my fedora core 2 workstation and launch an X app it says that it cannot connect to the X server. I am logging in remotely as root. I am logged in locally as a normal user. The server is sitting at the X login screen. Does someone have to be logged in on the server for this to work?
k3...I have the same question. In what state should the server be in order for me to be able to log on to it remotely? Does it need to be logged in as a user? as root? sitting at the login screen? I'm doing this on Suse 9.1 Pro, but it shouldn't be too different. Thanks again for all the help! Cheers!
i can run X app trou ssh. server is redhat 8.0 with X. server works in runlevel 3. client is fedora 2. it works for MDK too. maybe there is a issue between suse and fedora.
Does someone have to be logged in on the server for this to work?
Not at all.
There is no need for someone to login on server to provide you a remote access.
I think you should login as a normal user using ssh and then do a su to switch to root.
In my case Red hat doesn't provide a remote login as root which might be due to some security reasons.
Once you enable ssh DO NOT forget to secure your home box by restricting ssh access in the firewall so that your box is accessible only from work IP address (IP address range if using DHCP).
vnc works really well...
just allow a script to run at boot... perhaps in rc.local.
run a man on vncserver and vncviewer to figure out how it works. You can also download tightVNC or realVNC that runs on windows, so you can use your linux box or windows box to remotely access whatever is running vncserver.
It's pretty cool when you get it down. I think there is an article at linux-mag.com that can really help you out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.