using multiple screen on linux server without WM , DE etc

naxsis61

New Member
Joined
Nov 6, 2022
Messages
10
Reaction score
0
Credits
111
few hours ago I install for my 15 pc ubuntu server. I handle the res problem via grub.cfg file but the problem now I face is;

some info here

current grub res data : 1920x1080x32

laptop 15.6 "
external monitor : 34 "

what I need and want to do sperate those screens via cfg file if it detected by the system.


for linux expert , I'll like to listening your words.

thx y'all from now.
 


Why would you have screens on a server OS? Just use SSH.

If you want graphics, especially multiple monitors, use a desktop distro.

You're just going to make it harder and more frustrating if you try to wrangle a server into a desktop - especially as a new user.
 
The best you can do without a windowing system is to use the GNU screen command to split a console login into multiple regions. GNU screen (the screen command), supports:
  • ctrl-a | split the screen vertically into two regions
  • ctrl-a S spit the screen horizontally
  • ctrl-a TAB to move between panes
  • ctrl-a c to start a shell in a region (regions are by default empty)
But you will still not be making use of both monitors. See the man screen, or Google for examples.

You could run a lightweight X11 setup using openbox or similar.

Otherwise most admins just use multiple ssh sessions from a remote desktop.
 
Why would you have screens on a server OS? Just use SSH.

If you want graphics, especially multiple monitors, use a desktop distro.

You're just going to make it harder and more frustrating if you try to wrangle a server into a desktop - especially as a new user.
first of all I uses in my all computers server.

after that every server has monitor but that laptop is my carriable main dev environment so time to time I have to use that monitor.

also I use ssh for every computer , that's not the problem and not the point.

if I want graphic I know I have to use DEnv or WM , what am I u ?


instead of using denv or am on linux servers and terminal more flexible for me also who the hell told u I'm newbie in linux ?

focus on the question and possible solutions. no need to make meaning-less noise got it kido
 
The best you can do without a windowing system is to use the GNU screen command to split a console login into multiple regions. GNU screen (the screen command), supports:
  • ctrl-a | split the screen vertically into two regions
  • ctrl-a S spit the screen horizontally
  • ctrl-a TAB to move between panes
  • ctrl-a c to start a shell in a region (regions are by default empty)
But you will still not be making use of both monitors. See the man screen, or Google for examples.

You could run a lightweight X11 setup using openbox or similar.

Otherwise most admins just use multiple ssh sessions from a remote desktop.
first of all I want 2 sy thx for ur feedback but;

I want 2 start away from WM or denv that's why I choose linux servers in all my comps.

btw I handle the splitting thing with tmux not a problem 4 me.


btw is there anyone talk bout remote session or ssh. Like the other guy u didnt understand the problem fundamentally but that's fine


simply problem is second monitor detection in linux server like WM OR d env do ( multi monitor setup thing , that I'm talking bout :) )



so I got x11 and Xrandr but I have to manipulate the conf file to detach the hemi connected second monitor.


Simply why. ? just think like u got double terminal and u just want to send one of them to another monitor without GUI shit ( I kinda hate gui these day honestly :) )


so simply if is there any possibility to make that just gimme the info pls & thx

otherwise I start to developing TUI TILING ' window ( but not a window ) ' manager for servers so with that TWM availability for those the WMs like gnome , xfce etc got almost a same availability for servers without gui shit.

hope these comment make u more understand-able f the problem itself fundamentally.
 
focus on the question and possible solutions. no need to make meaning-less noise got it kido
Talking like that is not going to want more people to respond to your topic.

Like the other guy u didnt understand the problem fundamentally but that's fine
If three people are already not understanding your problem it seems more like you did a bad job of explaining and describing your problem and the end result you want.

If there are monitors connected to your server there must also be a keyboard connect to your server? The only solution to configure your moniitors with no DE is to install X11 and use xrandr to configure you X11 setup to use your monitors, which you have already done it seems?

What you are asking doesn't really sound logical even though there are monitors connected to you server, you are wanting a headless setup because you don't want a DE installed on your server. If the point is to be able use different terminal sessions on your monitors it would be more logical to connect those same monitors to your laptop use different terminal sessions and spread them over your monitors and combine that with something such as Tmux or a tiling window manager setup on your laptop.
 
Last edited:
Talking like that is not going to want more people to respond to you.


If three people are already not understanding your problem it seems more like you did a bad job of explaining and describing your problem and the end result you want.

If there are monitors connected to your server there must also be a keyboard connect to your server? The only solution to configure your displays with no DE is to install X11 and use xrandr to configure you X11 setup to use your monitors, which you have already done it seems?

What you are asking doesn't really sound logical even though there are monitors connected to you server, you are wanting a headless setup because you don't want a DE installed on your server. If the point is to be able use different terminal session on your monitors it would be more logical to connect those same monitors to your laptop use different terminal sessions and spread them over your monitors and combine that with something such as Tmux or a tiling window manager setup on your laptop.
1. as i gave the first comment item ' separate ' word totally understand-albe , if u cant , dont understand that's ur problem bro

2. without having the information that u talk with

how much knowledge have or time spend on the linux universe etc....

without asking them u just say some words that I never comment like " graphics , distro " etc , what u think I didnt think them ? i ask cause a reason and in kind way , that's not ur business , simply. first of all agree with that.

If I want graphics yeah I can use awesome, face WM or DE etc, but I dont want it.

3. if person or people doesnt understand it is not just because of the explanation issue might be u dont even understand fundemantaly , isn't it so u mean u can understand everything ? kindly asking / sayin;

think bout this, we u watching an example space

story is;


really bat exaplainging teacher of the concepts of quantum mechanics


but there is a really clever student who understand the QM even with the bad explanation.


is it just make the teacher dumb or student clever ?


yeah the teacher might be dumb bout QM or really f... bad bout explanating of the QM but in the other hand the student can see the diff connections from that explanation that teacher never figured out!

thing reverse of the example universe

teacher is clever
but student dump


what was the situation than with those properties ?

I just guess , u write ur first comment without fundamentally understand the core problem. that's what I say but that's okay.
 
I'm not your teacher and neither is anyone else here on the forum, if you want to learn something you can get input from the forum members but the actual learning you have to do yourself. So what's the idea behind your setup where you want monitors connected to your server and no desktop environment installed, help me understand your problem and what you want then?
 
Hello naxsis61. I wonder if you wrote your text in your preferred language, and then used an online translator to translate it into English, which you could then edit if it wasn't quite satisfactory, was worth a try. Just a thought, without prejudice. I find that members here do wish to help.
 
I'm not your teacher and neither is anyone else here on the forum, if you want to learn something you can get input from the forum members but the actual learning you have to do yourself. So what's the idea behind your setup where you want monitors connected to your server and no desktop environment installed, help me understand your problem and what you want then?
like I said that ryays example space , of course u cant be my teacher, come on but everyone can teach something everyone. like I said or make it visible bout " u dont understand the problem fundamentally, simply ". also I am agree bout " do it yourself idea , that's the right one " after there is no proper solution / explanation bout the problem.




let's move on that and get back the topic , shall we.


like I said I choose the use server ( all in my comps ) as a main and sub dev env. like u like blue I like red got it?

what's behind my setup?

1. getting more of performance of the system for the current working project like compiling , like transferring files one place 2 another etc.


2. Getting / giving all my focus the project that I currently working on without any shiny distractions like msg, notification popups , like problem reports , even like saturation of the background of desktop etc etc.


3. probably I familiar the project of tmux / terminator ( terminal multiplexer ) etc. what they r simply gui based terminal software in a most basic explanation. so what I want to do screw the whole gui shit and just getting the terminal with multiple screen


here's a example you got to terminal and u have two screen than u just move one on another. so that's the thing that I want to do without gui, WM, DE etc things. hope this make u more okay with situation.


like I said in the 2 the reason is this.


so simply if you dont;


how to configure core and file to detect another monitor as second or third screen? ( if u know , I'll ready to listen u )

how to make TUI ( TERMINAL USER INTERFACE ) based ' window ' ( but not window, but u get it I hope ) manager.

otherwise I start to develop Terminal Tiling Manager for linux from ground up and scratch.
 
Hello naxsis61. I wonder if you wrote your text in your preferred language, and then used an online translator to translate it into English, which you could then edit if it wasn't quite satisfactory, was worth a try. Just a thought, without prejudice. I find that members here do wish to help.
so u say I cant write in eng ? u make my day good brother.
 
so u say I cant write in eng ? u make my day good brother.
I read your writing carefully several times. I want to help. I do not understand your Linux problem yet. Much of your writing is not about your Linux problem. That makes it harder for us to learn how we can help you.

Please do this to help us understand your Linux problem:
  • Write a description of your Linux problem in your native language, not English.
    • Write ONLY about your Linux problem.
  • Go to this website:
  • Paste your native language Linux problem description in the left box.
  • Choose your native language in the left box, and English in the right box.
  • Copy the English. Paste it here in this thread. Thank you.
 
Alright for who doesnt understand the problem/ issue I have I'm gonna make it step by step

1.
20230102_093602.png


2. As u see at first item there are two screen
a) laptop pc screen ( 15.6" )
b) external 34" wide screen connected via hdmi


3. here's the problem: linux OS doesnt detect the external screen as a SECOND SCREEN

4. what I do;

edit the grub.cfg file. ( not work and take back the changes )


edit the x11 cfg files
Xsession, Xsessions.options

( doesnt work , take back the changes )


look at the Chrish tituss tech, learn linux tv and some other yt channels ( their changes doesnt work to , take back the changes btw )


5. even I try reinstalling the server os while the external monitor pluged in and check the third party drivers etc ( doesnt work too )



so finally I post the problem here but we can make progress yet.


so kindly even with this comment and attachment of the image you guys dont understand. yeah it's my fault .

hope u guys have a nice day and happy new year y'all
 
Are these of any help to you?
 
Are these of any help to you?
just see now , check out fee mons mins later. it help or not I'll update the comment or write new, thx btw.

but as u read talk bout DM. I dont wanna use dm , I hate it ( till I develop fresh one :) )
 
just see now , check out fee mons mins later. it help or not I'll update the comment or write new, thx btw.

but as u read talk bout DM. I dont wanna use dm , I hate it ( till I develop fresh one :) )
Are these of any help to you?
UPDATE

this doesn't help

even I try to reverse eng the x11 I couldn't find the exact place to make detection for one last try before I start to developing terminal screen manager like DM I like to ask one last thing.

i reinstall the os if there is something happed that I cant notice. For X11 someone GUIDE ME to edit detection in like cfg file or something else. Thanks everyone, happy new year.
 

Attachments

  • 20230103_095437.png
    20230103_095437.png
    1.4 MB · Views: 196
(If you are still around, & haven't found a solution, or for anyone else interested.)

From what I can make out of this thread, you want to put the terminal output from your laptop onto your external screen....

For this to happen, there should be a key combination on your laptop keyboard that lets you do that.
 

Staff online

Members online


Top