installing the X to set a minimal graphical environment for shh -X
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
installing the X to set a minimal graphical environment for shh -X
Hello all
Im installing a minimal graphical environment in my debian server, so i can SSH -X from another machine, i dont really need a desktop on the server itself because its a headless server.
I have doubs both in components, and overall install details, lets see:
Ok, first one installs the graphical libraries i suppose, second one the login screen? (DO I REALLY NEED THAT?) and the 3rd one the desktop (AND THIS?).
As i stated in the title, i just want to run SSH -X from a client to remotelly control firefox, virtualbox and little more.
QUESTONS: Could xorg and xserver-xorg-core be the only really necesary packages???(except the app's ones)
Everytime i restart my server, i guess it will reboot on graphical mode.. can i disable the graphical mode as default, and still use SSH -X? i mean, boot in text mode, and type: "startx" only if i need it running? but still be working for ssh -x petitions?
After all, am i on the correct way to achieve what i stated in the thread subjet?, what would you change?
This question goes as expanding knowledge on the subject:
x-window-system-core
gnome-desktop
x-window-system
ok, its easy to make a test in a VM and install just firefox on a server, lets see what does it install
and about the login manager, is there any way to enable / disable the X11 boot? i mean, text boot, and ONLY if i want, make a startx
Yes, just don't install a graphical login manager. As far as I know from your four steps is only step 4 needed, install the apps you want to use over SSH. No need for a startx, just call, from the console, iceweasel or virtualbox, ... .
You will need the xorg and x-server packages on the remote system as that is how the client apps know how to talk to the local system. You will obviously also need the apps. To get a system to boot into text mode, modify /etc/inittab and change the id line to 'id:3:initdefault:'.
Also, you probably want to use "ssh -Y" instead of "ssh -X" as it is more secure.
If you don't need to install a graphival environment for iceweasel, I think you also won't need it to run virtualbox.
But if you do it, please let me know if that works.
If you don't need to install a graphival environment for iceweasel, I think you also won't need it to run virtualbox.
But if you do it, please let me know if that works.
yeah right i dont need, but i dont know if i expressed myselft correctly.
I mean, its cool to work with iceweasel or virtualbox via GUI in another PC. I can have 1 window with one, and another window with the other program, but, i only have that: windows.
Can i go one step further, and, without installing graphical libraries on the server, connect to a "desktop environment" where i can run both of my "simple windows" app's?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.