--- /dev/null
+diff -urp slim-1.3.1_/app.cpp slim-1.3.1/app.cpp
+--- slim-1.3.1_/app.cpp 2014-10-19 03:03:12.620870228 +0300
++++ slim-1.3.1/app.cpp 2014-10-19 04:42:05.373090987 +0300
+@@ -956,7 +956,7 @@ int IgnoreXIO(Display *d) {
+ }
+
+
+-void App::StopServer() {
++void App::StopServerWork() {
+ // Stop alars clock and ignore signals
+ alarm(0);
+ signal(SIGQUIT, SIG_IGN);
+@@ -1013,6 +1013,12 @@ void App::StopServer() {
+ cerr << endl;
+ }
+
++void App::StopServer() {
++ StopServerWork();
++ // yet another pandora hack: switch to tty1, where user can log in
++ system("/usr/bin/chvt 1");
++}
++
+
+ void App::blankScreen()
+ {
+Only in slim-1.3.1_: .app.cpp.swp
+diff -urp slim-1.3.1_/app.h slim-1.3.1/app.h
+--- slim-1.3.1_/app.h 2014-10-19 03:03:12.624870228 +0300
++++ slim-1.3.1/app.h 2014-10-19 04:41:54.873090597 +0300
+@@ -34,6 +34,7 @@ public:
+ ~App();
+ void Run();
+ int GetServerPID();
++ void StopServerWork();
+ void StopServer();
+
+ // Lock functions
HOMEPAGE="http://slim.berlios.de"
LICENSE = "GPL"
-PR = "r7"
+PR = "r8"
inherit update-rc.d
file://delay.patch;patch=1 \
file://pam-unix2.patch;patch=1 \
file://pandora_xmodmap_hack.patch;patch=1 \
+ file://chvt_on_exit.patch;patch=1 \
file://rc.slim \
file://slim-dynwm \
file://update_slim_wmlist \