Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 09-07-2007, 06:46 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
set up user to start with terminal


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?

Old 09-07-2007, 07:34 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
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.
Old 09-07-2007, 08:23 AM   #3
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
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
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...
Old 09-07-2007, 02:56 PM   #4
LQ Newbie
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set wallpaper via terminal? Vitalka Linux - General 3 05-13-2010 02:35 AM
Cannot start vnc server because the USER environment variable is not set izac5 Linux - Newbie 4 11-21-2009 09:10 PM
cpufreqd can't start (Couldn't set profile "Performance High" set for cpu0) simopal6 Linux - Laptop and Netbook 2 05-10-2007 09:31 AM
Dumb X terminal; how to set up? outsider787 Linux - Networking 3 10-21-2005 06:15 PM
How to view set-user-ID and set-group-ID Xris718 Linux - General 7 01-10-2004 02:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration