LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   small question. (https://www.linuxquestions.org/questions/linux-newbie-8/small-question-311603/)

bruse 04-10-2005 02:27 AM

small question.
 
i am using mandrake 10.0 +KDE

i need to know what is the command for " starting new session " in a command mode .

i have the option start new session but i have to know by the command mode starting.

kencaz 04-10-2005 02:43 AM

Hmm you mean starting a new konsole from command line. It that is what your asking then:

konsole -e program

some programs won't actually leave the window open. If you need the window to stay open:

konsole --noclose -e program

Hope that does it for you...

KC

bruse 04-11-2005 12:56 AM

no sir what is the command to start a new GUI KDE from existing KDE.

but in the user name.
i mean i entered through a "staff" username.

now i have enter in a student username...

kencaz 04-11-2005 01:27 AM

Try something like:
WINDOWMANAGER=kde startx -- :8

switch sessions using:
Ctrl+Alt+F7

KC

ravee 04-11-2005 01:56 AM

You could type :

$ startx -e startkde

kencaz 04-11-2005 02:02 AM

Hey, that's even easier...

KC

bruse 04-11-2005 02:11 AM

how to enter in a other username like "student"


WINDOWMANAGER=kde startx -- :8

this is working well...!!


here is not working..!!
[staff@Simlab-node10 staff]$ startx -e startkde
Using authority file /home/staff/.Xauthority
Writing authority file /home/staff/.Xauthority


Fatal server error:
Server is already active for display 0




When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.

[staff@Simlab-node10 staff]$





sir now want to start to otherusename called "student"

so switch to other user how to use.
If this server is no longer running, remove /tmp/.X0-lock
and start again.

bruse 04-11-2005 02:59 AM

it is openning KDE every time

WINDOWMANAGER=gnome startx -- :8

when i give this command kde opening. instead of gnome..!

so please help me how to start gnome in a student user...!!

kencaz 04-11-2005 03:33 AM

Hmmm, Try this maybe within KDE

1) Ctrl + Alt + F2
2) login the new user
3) startx gnome-session -- :1

3times a charm....

KC

mjjzf 04-11-2005 07:22 AM

& if you want to run KDE & GNome at the same time, you may want to upgrade your RAM.


All times are GMT -5. The time now is 10:21 PM.