openSUSE Forums > Archives > Novell Archives » How to return back in KDE after working at the command line terminal

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-Jul-2006, 14:29
F.Leerink
Guest
 
Posts: n/a
Default How to return back in KDE after working at the command line terminal

Hello all,

I need some help.

I exit my current KDE-Session via K-Menu/Logout/Current Session and via CTRL
+ ALT + F1 end up in one of the command-line terminals where I log in and
perform a certain task. After that I want to return to KDE but I cannot
find the proper command to do it directly.

Currently I log in as root and shutdown the system, with option -R, to
restart the system, make my selection at the boot screen and login in KDE.
--
Regards,

Frans Leerink
  #2 (permalink)  
Old 11-Jul-2006, 14:35
Lance Reynolds
Guest
 
Posts: n/a
Default Re: How to return back in KDE after working at the command line terminal

F.Leerink,

'init 5' as root should do it.

Regards,
Lance
  #3 (permalink)  
Old 11-Jul-2006, 15:43
F.Leerink
Guest
 
Posts: n/a
Default Re: How to return back in KDE after working at the command line terminal

Lance Reynolds wrote:

> F.Leerink,
>
> 'init 5' as root should do it.
>
> Regards,
> Lance


Hello Lance,

Thanks for the quick reply.
That's what I taught too but entering as root the command init 5 gives me an
other root prompt.
This happens in openSuseLinux 10.1 final version.
Should I enter the command from a certain directory ?
--
Regards,

Frans Leerink
  #4 (permalink)  
Old 12-Jul-2006, 00:45
Peter B. West
Guest
 
Posts: n/a
Default Re: How to return back in KDE after working at the command line terminal

F.Leerink wrote:
> Hello all,
>
> I need some help.
>
> I exit my current KDE-Session via K-Menu/Logout/Current Session and via CTRL
> + ALT + F1 end up in one of the command-line terminals where I log in and
> perform a certain task. After that I want to return to KDE but I cannot
> find the proper command to do it directly.
>
> Currently I log in as root and shutdown the system, with option -R, to
> restart the system, make my selection at the boot screen and login in KDE.


Try ALT-7

Peter
  #5 (permalink)  
Old 12-Jul-2006, 00:46
Peter B. West
Guest
 
Posts: n/a
Default Re: How to return back in KDE after working at the command line terminal

F.Leerink wrote:
> Hello all,
>
> I need some help.
>
> I exit my current KDE-Session via K-Menu/Logout/Current Session and via CTRL
> + ALT + F1 end up in one of the command-line terminals where I log in and
> perform a certain task. After that I want to return to KDE but I cannot
> find the proper command to do it directly.
>
> Currently I log in as root and shutdown the system, with option -R, to
> restart the system, make my selection at the boot screen and login in KDE.


Oops. Make that ALT-F7.

Peter
  #6 (permalink)  
Old 12-Jul-2006, 01:20
Kevin Nathan
Guest
 
Posts: n/a
Default Re: How to return back in KDE after working at the command lineterminal

On Tue, 11 Jul 2006 19:29:27 GMT
"F.Leerink" <f.leerink@hccnet.nl> wrote:

> I exit my current KDE-Session via K-Menu/Logout/Current Session and
> via CTRL + ALT + F1 end up in one of the command-line terminals where
> I log in and perform a certain task.


No need to logout of KDE. You can use Ctrl-Alt-F1 through Ctrl-Alt-F6
for terminals.


> After that I want to return to KDE but I cannot find the proper
> command to do it directly.
>


As Peter mentioned, Ctrl-Alt-F7 will take you back to the X session
(KDE), but *only* if you didn't logout first.


> Currently I log in as root and shutdown the system, with option -R, to
> restart the system, make my selection at the boot screen and login in
> KDE.


Not necessary -- simply execute:

startx

if you logged out of KDE first. If you switched to a terminal with
Ctrl-Alt-Fx, then use the Ctrl-Alt-F7 to get back. (Actually, when you
are in the terminals, you only need Alt-Fx; the Ctrl is only needed
when you are in KDE -- but it doesn't hurt to use it.)


--
Kevin Nathan (Arizona, USA)
Linux is not a destination, it's a journey -- enjoy the trip!

Linux 2.6.13-15.10-default
11:15pm up 45 days 4:02, 12 users, load average: 0.08, 0.12, 0.09
  #7 (permalink)  
Old 12-Jul-2006, 05:27
F.Leerink
Guest
 
Posts: n/a
Default Re: How to return back in KDE after working at the command line terminal

Kevin Nathan wrote:

> On Tue, 11 Jul 2006 19:29:27 GMT
> "F.Leerink" <f.leerink@hccnet.nl> wrote:
>
>> I exit my current KDE-Session via K-Menu/Logout/Current Session and
>> via CTRL + ALT + F1 end up in one of the command-line terminals where
>> I log in and perform a certain task.

>
> No need to logout of KDE. You can use Ctrl-Alt-F1 through Ctrl-Alt-F6
> for terminals.
>
>
>> After that I want to return to KDE but I cannot find the proper
>> command to do it directly.
>>

>
> As Peter mentioned, Ctrl-Alt-F7 will take you back to the X session
> (KDE), but *only* if you didn't logout first.
>
>
>> Currently I log in as root and shutdown the system, with option -R, to
>> restart the system, make my selection at the boot screen and login in
>> KDE.

>
> Not necessary -- simply execute:
>
> startx
>
> if you logged out of KDE first. If you switched to a terminal with
> Ctrl-Alt-Fx, then use the Ctrl-Alt-F7 to get back. (Actually, when you
> are in the terminals, you only need Alt-Fx; the Ctrl is only needed
> when you are in KDE -- but it doesn't hurt to use it.)
>
>


Hello Kevin

I tried to execute startX after I logged out of current KDE session and
reached the command line terminal via Ctrl+Alt+F1 but that generates the
following output and returned to the prompt:

xauth:creating new authority file /home/frans/.serverauth.4753
Fatal server error
Server is alreadyactive for display 0. If this server is no longer running
remove /tmp/.x0-lock and start again.
Please consult The X.Org Foundation Support at http://wiki.X.Org for help
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key giving up
/usr/x11R6/bin/xinit: unable to connect to X server
/usr/x11R6/bin/xinit: No such process (errno 3): Server error.

If I just pressed Alt+F7 I returned to the graphical login screen where I
entered my password and came back in KDE.


PS: I wanted to be logged out from my user account since I wanted to create
a gzipped tar archive of my home directory to move it to my other computer
according to the following URL Move Your /home to Another Computer
http://www.novell.com/coolsolutions/feature/11865.html

Thanks for the help
--
Regards,

Frans Leerink
  #8 (permalink)  
Old 12-Jul-2006, 23:08
Kevin Nathan
Guest
 
Posts: n/a
Default Re: How to return back in KDE after working at the command lineterminal

On Wed, 12 Jul 2006 10:27:14 GMT
"F.Leerink" <f.leerink@hccnet.nl> wrote:

> I tried to execute startX after I logged out of current KDE session
> and reached the command line terminal via Ctrl+Alt+F1 but that
> generates the following output and returned to the prompt:
>


My fault! I didn't pay close enough attention -- if you were using
Ctrl-Alt-F1 to get to a terminal, then you were *not* out of X! I
should have caught that; I'll go sit in the corner, now . . . ;-)


> PS: I wanted to be logged out from my user account since I wanted to
> create a gzipped tar archive of my home directory to move it to my
> other computer according to the following URL Move Your /home to
> Another Computer
> http://www.novell.com/coolsolutions/feature/11865.html
>


When I'm doing this sort of thing, I like to be in runlevel 1. Once
you've gotten to a terminal, do:

su
(enter root password)
init 1

When you are all finished and want to return to KDE, do:

init 5 && exit


> Thanks for the help


You are more than welcome! :-)


--
Kevin Nathan (Arizona, USA)
Linux is not a destination, it's a journey -- enjoy the trip!

Linux 2.6.13-15.10-default
9:04pm up 46 days 1:50, 12 users, load average: 0.05, 0.05, 0.09
 

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2