LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   set up user to start with terminal (https://www.linuxquestions.org/questions/linux-newbie-8/set-up-user-to-start-with-terminal-582886/)

linuxbetty 09-07-2007 05:46 AM

set up user to start with terminal
 
Hi,

I have set up a user that starts with an application (by setting the application as login shell in passwd). The application is a command line interface, so I get an x-server xsession error when I try to log in from my standard graphical Fedora Core 2 login page.

I can log in via ssh or from any other command line terminal alright.

Is there any way to set the user up so that I can log into the x-server, but with a command line terminal running?

Thanks.

bigrigdriver 09-07-2007 06:34 AM

In Kde, each user has a ~/.kde/Autostart folder. One can drag the icon of the console from the system tray and drop it in the Auto start folder. From the dialogue box that pops up, select 'Link here' to add a link. On boot and login, Kde starts with a console window open and ready for use.

I would expect that the Gnome desktop has something similar to autostart an application.

Valkyrie_of_valhalla 09-07-2007 07:23 AM

If you want Linux to boot in CLI mode you need to set the default runlevel in /etc/inittab . Usually CLI mode is 3. Graphical runlevel is usually 4 or 5.

There should be a line such as
Code:

id:3:initdefault:
Where 3 is the runlevel. The file should give you details regarding the runlevels on Fedora.

But I'm curious... what kind of application is that, and why is it needed? Why not use the standard bash or sh, and then launch that program? Depending on that, changing runlevels might make it work or not...

linuxbetty 09-07-2007 01:56 PM

Thank you for your suggestions.

To satisfy your curiosity: I don't always want to give access to the linux system, just to the CLI of that application.

Thanks for your help.


All times are GMT -5. The time now is 02:43 PM.