LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Removing GUI and running ubuntu in text mode at every reboot and removing log in also (https://www.linuxquestions.org/questions/ubuntu-63/removing-gui-and-running-ubuntu-in-text-mode-at-every-reboot-and-removing-log-in-also-4175478594/)

rohaanembedded 09-26-2013 01:02 AM

Removing GUI and running ubuntu in text mode at every reboot and removing log in also
 
Dear sir,

i want to use the ubuntu as terminal that is a text mode only i want to skip log in. Means direct log in is what i expect.

there is one more thing, when i will remove the GUI and if i run the app like cutecom or putty i want the GUI of that app open. is it possible how can i do this
i have tried this http://http://askubuntu.com/question...user-interface
but this procedure doesnt allow me to use GUI based App in text mode

thanks & regards
rohan

ilesterg 09-26-2013 06:37 AM

Hi,

Your concern is a bit confusing. Initially, I though you would like to use your machine in 'text mode only'. To do this, you would just need to edit /etc/inittab file and modify the default runlevel from 5 to 3 (multi-user and networking enabled cli).

But then you would like to
Quote:

Originally Posted by rohaanembedded (Post 5035017)
but this procedure doesnt allow me to use GUI based App in text mode

With 'text mode only', do u mean no GUI at all? Or would you like to just open up a 'text mode' terminal and launch GUI apps as well?

rohaanembedded 09-26-2013 08:12 AM

Quote:

Originally Posted by ilesterg (Post 5035142)
Hi,

Your concern is a bit confusing. Initially, I though you would like to use your machine in 'text mode only'. To do this, you would just need to edit /etc/inittab file and modify the default runlevel from 5 to 3 (multi-user and networking enabled cli).

But then you would like to


With 'text mode only', do u mean no GUI at all? Or would you like to just open up a 'text mode' terminal and launch GUI apps as well?

Dear sir,
i want to do
just open up a 'text mode' terminal and launch GUI apps as well.

actually what i want to do is run ubuntu in text mode and terminal will open GUI based app.
MY Basic need is i want to run terminal emmulator with vt220 facility on every boot

sorry for confusing words
please do help me

Thanks and regards
rohaan

TobiSGD 09-26-2013 09:35 AM

Quote:

Originally Posted by ilesterg (Post 5035142)
Your concern is a bit confusing. Initially, I though you would like to use your machine in 'text mode only'. To do this, you would just need to edit /etc/inittab file and modify the default runlevel from 5 to 3 (multi-user and networking enabled cli).

Ubuntu, like most Debian derivatives, uses a different scheme for runlevels, all runlevels from 2 to 5 are the same. If you want to disable booting to GUI you have to disable the service for your display manager (on standard Ubuntu LightDM).

@rohaanembedded: What you want is not possible for usual GUI apps, only the small number that is able to use svgalib (maybe using SDL) is able to do that. You will have to start a graphical environment to run GUI apps.

rohaanembedded 09-27-2013 12:54 AM

Dear sir,

i am trying to make clear what i am trying to do,

right now what i want is running ubuntu in the text mode that i had done successfully but at the time of every boot i want my mini com to get open rather the text mode.

i tried shell script like,
Code:

#!/bin/bash

echo "admin123" | sudo -S minicom

and ran this script in .bashrc
like
Code:

./st.sh
now on every boot minicom gets open but then after it get closed.
dont know y its getting closed please help me.

Thanks & Regards
rohaan


All times are GMT -5. The time now is 08:57 AM.