in a super-user terminal I get this: # synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:19493): Gtk-WARNING **: cannot open display: :1.0
in a user terminal I get this: $ synaptic bash: synaptic: command not found
from the debian menu, clicking synaptic does nothing.
Am Sonntag, 20. Februar 2011, um 15:25:39 schrieb Paul Cartwright:
in a super-user terminal I get this: # synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:19493): Gtk-WARNING **: cannot open display: :1.0
in a user terminal I get this: $ synaptic bash: synaptic: command not found
from the debian menu, clicking synaptic does nothing.
try this:
locate synaptic
if it isn't found anywhere, it has been uninstalled (probably). you can get it back with
aptitude install synaptic
(as root, obviously)
werner
Werner Joss wrote:
Am Sonntag, 20. Februar 2011, um 15:25:39 schrieb Paul Cartwright:
in a super-user terminal I get this: # synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:19493): Gtk-WARNING **: cannot open display: :1.0
in a user terminal I get this: $ synaptic bash: synaptic: command not found
from the debian menu, clicking synaptic does nothing.
try this:
locate synaptic
if it isn't found anywhere, it has been uninstalled (probably). you can get it back with
aptitude install synaptic
(as root, obviously)
werner
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
if you run the command xhost local: you should then beable to run synaptic as root user its saying command not found when run as normal user because its located in /usr/sbin (witch only root is alowed to run from) or alternatively you could do sudo synaptic (if your in sudoers list)
Am Sonntag, 20. Februar 2011, um 16:21:42 schrieb Patrick Kelly:
if you run the command xhost local: you should then beable to run synaptic as root user its saying command not found when run as normal user because its located in /usr/sbin (witch only root is alowed to run from)
that's correct. but locate should find it anyway in that location, as proposed.
werner
On 02/20/2011 09:40 AM, Werner Joss wrote:
from the debian menu, clicking synaptic does nothing.
try this:
locate synaptic
if it isn't found anywhere, it has been uninstalled (probably). you can get it back with
well, actually, it came back with LOTS, and LOTS of files, including these: /usr/lib/xorg/modules/input/synaptics_drv.so /usr/sbin/se_synaptic /usr/sbin/synaptic /usr/share/synaptic /usr/share/X11/xorg.conf.d/50-synaptics.conf /usr/share/app-install/desktop/synaptic.desktop
if it wasn't found, it would give back this error: # /usr/sbin/synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:6768): Gtk-WARNING **: cannot open display: :1.0
Am Sonntag, 20. Februar 2011 schrieb Paul Cartwright:
in a super-user terminal I get this: # synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:19493): Gtk-WARNING **: cannot open display: :1.0
in a user terminal I get this: $ synaptic bash: synaptic: command not found
from the debian menu, clicking synaptic does nothing.
try this:
$ xhost + $ su # synaptic
On 02/20/2011 11:43 AM, Mag. Dr. Nikolaus Klepp wrote:
from the debian menu, clicking synaptic does nothing.
try this:
$ xhost + $ su # synaptic
# xhost + Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":1.0" #
Am Sonntag, 20. Februar 2011 schrieb Paul Cartwright:
On 02/20/2011 11:43 AM, Mag. Dr. Nikolaus Klepp wrote:
from the debian menu, clicking synaptic does nothing.
try this:
$ xhost + $ su # synaptic
# xhost + Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":1.0" #
oh, i overlooked that tart with ":1.0". try this:
$ xhost + $ su # DISPLAY=:0 synaptic
On 02/20/2011 01:58 PM, Mag. Dr. Nikolaus Klepp wrote:
oh, i overlooked that tart with ":1.0". try this:
$ xhost + $ su # DISPLAY=:0 synaptic
# DISPLAY=:0 synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:10481): Gtk-WARNING **: cannot open display: :0
maybe I should reinstall synaptic..
Am Sonntag, 20. Februar 2011 schrieb Paul Cartwright:
On 02/20/2011 01:58 PM, Mag. Dr. Nikolaus Klepp wrote:
oh, i overlooked that tart with ":1.0". try this:
$ xhost + $ su # DISPLAY=:0 synaptic
# DISPLAY=:0 synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:10481): Gtk-WARNING **: cannot open display: :0
maybe I should reinstall synaptic..
no, that's not the thing. your X is not running as display 0 nor 1. could you make
$ ls /var/log/Xorg.*
This should give some files Xorg.<a number>.log, where <a number> is the display id. that's the thing you pass to synaptic:
# DISPLAY=:<a number> synaptic
On 02/20/2011 02:13 PM, Mag. Dr. Nikolaus Klepp wrote:
$ ls /var/log/Xorg.*
# ls -ltr /var/log/Xorg.* -rwxrwxrwx 1 root root 25688 Feb 3 16:12 /var/log/Xorg.21.log -rw-r--r-- 1 root root 24775 Feb 3 17:03 /var/log/Xorg.22.log -rw-r--r-- 1 root root 24774 Feb 3 17:35 /var/log/Xorg.3.log -rw-r--r-- 1 root root 23678 Feb 17 20:57 /var/log/Xorg.2.log -rw-r--r-- 1 root root 14162 Feb 18 06:38 /var/log/Xorg.20.log -rw-r--r-- 1 root root 19772 Feb 18 11:18 /var/log/Xorg.0.log.old -rw-r--r-- 1 root root 19524 Feb 20 08:03 /var/log/Xorg.1.log.old -rw-r--r-- 1 root root 21107 Feb 20 13:52 /var/log/Xorg.0.log -rw-r--r-- 1 root root 15105 Feb 20 13:55 /var/log/Xorg.1.log
This should give some files Xorg.<a number>.log, where<a number> is the display id. that's the thing you pass to synaptic:
# DISPLAY=:<a number> synaptic
# DISPLAY=:0 synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:10481): Gtk-WARNING **: cannot open display: :0
# DISPLAY=:1 synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:12454): Gtk-WARNING **: cannot open display: :1 # DISPLAY=:2 synaptic
(synaptic:12462): Gtk-WARNING **: cannot open display: :2
Am Sonntag, 20. Februar 2011 schrieb Paul Cartwright:
On 02/20/2011 01:58 PM, Mag. Dr. Nikolaus Klepp wrote:
oh, i overlooked that tart with ":1.0". try this:
$ xhost + $ su # DISPLAY=:0 synaptic
# DISPLAY=:0 synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:10481): Gtk-WARNING **: cannot open display: :0
maybe I should reinstall synaptic..
sorry, forget the last mail, you'r sitting in front of the box, so it's easier:
$ echo $DISPLAY
this gives a thing like ":0" or something
# DISPLAY=<that thing you got> synaptic
On 02/20/2011 02:15 PM, Mag. Dr. Nikolaus Klepp wrote:
Am Sonntag, 20. Februar 2011 schrieb Paul Cartwright:
On 02/20/2011 01:58 PM, Mag. Dr. Nikolaus Klepp wrote:
oh, i overlooked that tart with ":1.0". try this:
$ xhost + $ su # DISPLAY=:0 synaptic
# DISPLAY=:0 synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:10481): Gtk-WARNING **: cannot open display: :0
maybe I should reinstall synaptic..
sorry, forget the last mail, you'r sitting in front of the box, so it's easier:
$ echo $DISPLAY
this gives a thing like ":0" or something
# DISPLAY=<that thing you got> synaptic
# echo $DISPLAY :1.0
# DISPLAY=1.0 synaptic
(synaptic:15881): Gtk-WARNING **: cannot open display: 1.0
but: $ sux - (enter root password) # synaptic
DOES WORK.
[snip]
# DISPLAY=<that thing you got> synaptic
# echo $DISPLAY
:1.0
# DISPLAY=1.0 synaptic
(synaptic:15881): Gtk-WARNING **: cannot open display: 1.0
but: $ sux - (enter root password) # synaptic
DOES WORK.
just one try:
$ echo $DISPLAY $ sux # echo $DISPLAY
On 02/20/2011 02:44 PM, Mag. Dr. Nikolaus Klepp wrote:
$ sux -
(enter root password) # synaptic
DOES WORK.
just one try:
$ echo $DISPLAY $ sux # echo $DISPLAY
$ echo $DISPLAY :1.0 $ sux Password: # echo $DISPLAY :1.0
$ sux -
(enter root password) # synaptic
DOES WORK.
But synaptic is gtk. If anyone got a Trinity app running as root with sux I would really like to know. (I don't/won't use sudo, it's disabled)
I read, can't remember where, it's better to put this in your ~/bashrc than use xhost + :
#maybe this fixes x for root export XAUTHORITY=$HOME/.Xauthority
It works for non-trinity (gtk)
On 02/20/2011 03:44 PM, David Hare wrote:
$ sux -
(enter root password) # synaptic
DOES WORK.
But synaptic is gtk. If anyone got a Trinity app running as root with sux I would really like to know. (I don't/won't use sudo, it's disabled)
I read, can't remember where, it's better to put this in your ~/bashrc than use xhost + :
#maybe this fixes x for root export XAUTHORITY=$HOME/.Xauthority
It works for non-trinity (gtk)
yes, thanks! that worked TOO. Now su & sux both allow me to run synaptic.
On Sunday 20 February 2011 11:44:31 am David Hare wrote:
$ sux -
(enter root password) # synaptic
DOES WORK.
But synaptic is gtk. If anyone got a Trinity app running as root with sux I would really like to know. (I don't/won't use sudo, it's disabled)
I read, can't remember where, it's better to put this in your ~/bashrc than use xhost + :
#maybe this fixes x for root export XAUTHORITY=$HOME/.Xauthority
It works for non-trinity (gtk)
Good point, using 'xhost +' essentially turns off access control. I use:
'xhost +local:<username>'
This controls the host, not necessarily the local box, and the user allowed to connect to the xserver.
On 02/20/2011 02:44 PM, Mag. Dr. Nikolaus Klepp wrote:
just one try:
$ echo $DISPLAY $ sux # echo $DISPLAY
$ echo $DISPLAY :20.0 paulandcilla:~$ ls -l /var/log/Xorg* -rw-r--r-- 1 root root 13869 Feb 21 13:20 /var/log/Xorg.0.log -rw-r--r-- 1 root root 7287 Feb 21 13:16 /var/log/Xorg.0.log.old -rw-r--r-- 1 root root 19230 Feb 21 12:48 /var/log/Xorg.1.log -rw-r--r-- 1 root root 19524 Feb 20 08:03 /var/log/Xorg.1.log.old -rw-r--r-- 1 root root 13870 Feb 21 13:21 /var/log/Xorg.20.log -rw-r--r-- 1 root root 14162 Feb 18 06:38 /var/log/Xorg.20.log.old -rwxrwxrwx 1 root root 25688 Feb 3 16:12 /var/log/Xorg.21.log -rw-r--r-- 1 root root 24775 Feb 3 17:03 /var/log/Xorg.22.log -rw-r--r-- 1 root root 23678 Feb 17 20:57 /var/log/Xorg.2.log -rw-r--r-- 1 root root 24774 Feb 3 17:35 /var/log/Xorg.3.log
ok.... what does this mean??? I had to reboot, and redo my video. When I rebooted ( I thought I would, since I had added so many trinity apps..). when I rebooted I got dropped to a text login prompt. When I looked in & did startx it took me RIGHT to XFCE screen, no kdm/gdm login screen.. tried dpkg-reconfigure kdm-trinity, same thing. tried dpkg-reconfigure gdm & selected gdm. reboot, same text login.. redid the NVIDIA setup yet again, finally started X.. $ ps -ef|grep gdm root 5717 1 0 13:20 ? 00:00:00 /usr/sbin/gdm root 5718 5717 0 13:20 ? 00:00:00 /usr/sbin/gdm root 5722 5718 0 13:20 tty7 00:00:03 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 root 6120 5717 0 13:21 ? 00:00:00 /usr/sbin/gdm root 6122 6120 2 13:21 tty8 00:00:29 /usr/bin/X :20 -auth /var/lib/gdm/:20.Xauth -nolisten tcp vt8 pbc 8163 6446 0 13:45 pts/2 00:00:00 grep gdm
what do I need to do to get kdm-trinity working??
I really have an odd feeling about the changing display id, but I do not know what causes it.
gdm: uninstall gdm and reinstall kdm-trinity, that should do the trick.
Am Montag, 21. Februar 2011 schrieb Paul Cartwright:
On 02/20/2011 02:44 PM, Mag. Dr. Nikolaus Klepp wrote:
just one try:
$ echo $DISPLAY $ sux # echo $DISPLAY
$ echo $DISPLAY
:20.0
paulandcilla:~$ ls -l /var/log/Xorg* -rw-r--r-- 1 root root 13869 Feb 21 13:20 /var/log/Xorg.0.log -rw-r--r-- 1 root root 7287 Feb 21 13:16 /var/log/Xorg.0.log.old -rw-r--r-- 1 root root 19230 Feb 21 12:48 /var/log/Xorg.1.log -rw-r--r-- 1 root root 19524 Feb 20 08:03 /var/log/Xorg.1.log.old -rw-r--r-- 1 root root 13870 Feb 21 13:21 /var/log/Xorg.20.log -rw-r--r-- 1 root root 14162 Feb 18 06:38 /var/log/Xorg.20.log.old -rwxrwxrwx 1 root root 25688 Feb 3 16:12 /var/log/Xorg.21.log -rw-r--r-- 1 root root 24775 Feb 3 17:03 /var/log/Xorg.22.log -rw-r--r-- 1 root root 23678 Feb 17 20:57 /var/log/Xorg.2.log -rw-r--r-- 1 root root 24774 Feb 3 17:35 /var/log/Xorg.3.log
ok.... what does this mean??? I had to reboot, and redo my video. When I rebooted ( I thought I would, since I had added so many trinity apps..). when I rebooted I got dropped to a text login prompt. When I looked in & did startx it took me RIGHT to XFCE screen, no kdm/gdm login screen.. tried dpkg-reconfigure kdm-trinity, same thing. tried dpkg-reconfigure gdm & selected gdm. reboot, same text login.. redid the NVIDIA setup yet again, finally started X.. $ ps -ef|grep gdm root 5717 1 0 13:20 ? 00:00:00 /usr/sbin/gdm root 5718 5717 0 13:20 ? 00:00:00 /usr/sbin/gdm root 5722 5718 0 13:20 tty7 00:00:03 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 root 6120 5717 0 13:21 ? 00:00:00 /usr/sbin/gdm root 6122 6120 2 13:21 tty8 00:00:29 /usr/bin/X :20 -auth /var/lib/gdm/:20.Xauth -nolisten tcp vt8 pbc 8163 6446 0 13:45 pts/2 00:00:00 grep gdm
what do I need to do to get kdm-trinity working??
On 02/21/2011 01:57 PM, Mag. Dr. Nikolaus Klepp wrote:
I really have an odd feeling about the changing display id, but I do not know what causes it.
gdm: uninstall gdm and reinstall kdm-trinity, that should do the trick.
well, as soon as I did apt-get gdm remove X went away.. I removed & reinstalled kdm-trinity. tried startx and got my XFCE desktop screen, no login window. so I reinstalled gdm, ran startx & got my GDM login screen... back to a trinity session for my wife & gnome for me, running under GDM. I guess I don't know how to start kdm-trinity..
On 02/21/2011 02:39 PM, David Hare wrote:
what do I need to do to get kdm-trinity working??
update-alternatives --all
sets defaults
# update-alternatives --all There are 3 choices for the alternative appletviewer (providing /usr/bin/appletviewer).
Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/jvm/java-6-openjdk/bin/appletviewer 1061 auto mode 1 /usr/lib/jvm/java-6-openjdk/bin/appletviewer 1061 manual mode * 2 /usr/lib/jvm/java-6-sun/bin/appletviewer 63 manual mode 3 /usr/lib/jvm/java-gcj/bin/appletviewer 1042 manual mode
what does that have to do with kdm-trinity? or what do I select?
On Monday 21 February 2011 20:52:34 you wrote:
# update-alternatives --all
don't use this (sets defaults for all kind of stuff).
try: dpkg-reconfigure xdm
this should give you the option to select kdm-trinity as default-displaymanager
werner
On 21/02/11 20:04, Werner Joss wrote:
On Monday 21 February 2011 20:52:34 you wrote:
# update-alternatives --all
don't use this (sets defaults for all kind of stuff).
try: dpkg-reconfigure xdm
this should give you the option to select kdm-trinity as default-displaymanager
werner
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
x-session-manager x-terminal-emulator x-window-manager
why do you want those defaulting to gnome/lxde/whatever else, if you want default to Trinity?
On 02/21/2011 03:04 PM, Werner Joss wrote:
# update-alternatives --all
don't use this (sets defaults for all kind of stuff).
yeah, too late.. but it was mostly hit return for defaults.. nice to know stuff anyway!
try: dpkg-reconfigure xdm
this should give you the option to select kdm-trinity as default-displaymanager
I've been doing : dpkg-reconfigure gdm and selecting kdm-trinity, and it still didn't work.
what is the difference with xdm?
# dpkg-reconfigure xdm /usr/sbin/dpkg-reconfigure: xdm is not installed
On 21/02/11 20:16, Paul Cartwright wrote:
On 02/21/2011 03:04 PM, Werner Joss wrote:
# update-alternatives --all
don't use this (sets defaults for all kind of stuff).
yeah, too late.. but it was mostly hit return for defaults.. nice to know stuff anyway!
try: dpkg-reconfigure xdm
this should give you the option to select kdm-trinity as default-displaymanager
I've been doing : dpkg-reconfigure gdm and selecting kdm-trinity, and it still didn't work.
what is the difference with xdm?
# dpkg-reconfigure xdm /usr/sbin/dpkg-reconfigure: xdm is not installed
The other thing is, run sysv-rc-conf and turn off gdm then it can't start
On 02/21/2011 03:20 PM, David Hare wrote:
The other thing is, run sysv-rc-conf and turn off gdm then it can't start
but there is no kdm-trinity, just kdm. both kdm & gdm are selected. I like that command though, lots of good info there!!
On 21/02/11 20:32, Paul Cartwright wrote:
On 02/21/2011 03:20 PM, David Hare wrote:
The other thing is, run sysv-rc-conf and turn off gdm then it can't start
but there is no kdm-trinity, just kdm. both kdm& gdm are selected. I like that command though, lots of good info there!!
Do you have /opt/trinity/bin/kdm ? kdm-trinity is in /etc/init.d here and shows in sysv-rc-conf.
On 02/21/2011 03:43 PM, David Hare wrote:
I like that command though, lots of good info there!!
Do you have /opt/trinity/bin/kdm ? kdm-trinity is in /etc/init.d here and shows in sysv-rc-conf.
ls -l /opt/trinity/bin/kdm -rwxr-xr-x 1 root root 130380 Oct 2 17:33 /opt/trinity/bin/kdm
# ls -l /etc/init.d/k* -rwxr-xr-x 1 root root 6707 Jan 13 14:43 /etc/init.d/kdm -rwxr-xr-x 1 root root 1486 Jul 6 2010 /etc/init.d/keyboard-setup -rwxr-xr-x 1 root root 3649 Oct 31 2009 /etc/init.d/keymap.sh -rwxr-xr-x 1 root root 1293 Jan 1 00:34 /etc/init.d/killprocs -rwxr-xr-x 1 root root 1472 Jun 7 2008 /etc/init.d/klogd
On 21/02/11 21:04, Paul Cartwright wrote:
On 02/21/2011 03:43 PM, David Hare wrote:
I like that command though, lots of good info there!!
Do you have /opt/trinity/bin/kdm ? kdm-trinity is in /etc/init.d here and shows in sysv-rc-conf.
ls -l /opt/trinity/bin/kdm -rwxr-xr-x 1 root root 130380 Oct 2 17:33 /opt/trinity/bin/kdm
# ls -l /etc/init.d/k* -rwxr-xr-x 1 root root 6707 Jan 13 14:43 /etc/init.d/kdm -rwxr-xr-x 1 root root 1486 Jul 6 2010 /etc/init.d/keyboard-setup -rwxr-xr-x 1 root root 3649 Oct 31 2009 /etc/init.d/keymap.sh -rwxr-xr-x 1 root root 1293 Jan 1 00:34 /etc/init.d/killprocs -rwxr-xr-x 1 root root 1472 Jun 7 2008 /etc/init.d/klogd
Looks like kde4's kdm to me, it's kdm-trinity here.
On Monday 21 February 2011 21:16:27 you wrote:
I've been doing : dpkg-reconfigure gdm and selecting kdm-trinity, and it still didn't work.
hm, strange.
what is the difference with xdm?
xdm is just a minimalist x-login manager (like gdm, kdm...). normally it doesn't matter which one (from the installed ones) is configured, as all present alternatives will be selectable. in the end, when nothing else works than gdm, you can always rename /usr/bin/gdm to something else and make /usr/bin/gdm a symlink to /opt/trinity/bin/kdm :) (brute force, I know).
werner
On 02/21/2011 03:31 PM, Werner Joss wrote:
xdm is just a minimalist x-login manager (like gdm, kdm...). normally it doesn't matter which one (from the installed ones) is configured, as all present alternatives will be selectable. in the end, when nothing else works than gdm, you can always rename /usr/bin/gdm to something else and make /usr/bin/gdm a symlink to /opt/trinity/bin/kdm :) (brute force, I know).
I....don't think I want to do that.. It might blow up & I might not remember what really belongs where. It is working now, so I am going to leave well-enough alone:)
I'm glad I got it working so I could update to squeeze yet keep kde3 for my wife, but it sure has used a lot of my time getting it to work!
I see the kdm-trinity in the pastebin link so it is installed. It needs to be also in /etc/init.d (In my system /etc/init.d/kdm-trinity is a file not symlink)
You might just need to run
update-rc.d kdm-trinity defaults
to set it up
In numerous Trinity installs I have done it has always.. just worked.
On 02/21/2011 04:06 PM, David Hare wrote:
You might just need to run
update-rc.d kdm-trinity defaults
to set it up
In numerous Trinity installs I have done it has always.. just worked.
# update-rc.d kdm-trinity defaults update-rc.d: /etc/init.d/kdm-trinity: file does not exist # # dpkg --list kdm-trinity Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii kdm-trinity 4:3.5.12-0debi X display manager for KDE
# locate kdm-trinity ( WOW!!!) /etc/default/kdm-trinity.d /etc/etc/default/kdm-trinity.d /etc/etc/init.d/kdm-trinity /etc/etc/logrotate.d/kdm-trinity /etc/etc/pam.d/kdm-trinity /etc/etc/pam.d/kdm-trinity-np /etc/logrotate.d/kdm-trinity /etc/pam.d/kdm-trinity /etc/pam.d/kdm-trinity-np # ls -l /etc/etc/init.d/kdm* -rwxr-xr-x 1 root root 5659 Oct 4 2007 /etc/etc/init.d/kdm -rwxr-xr-x 1 root root 5981 Aug 12 2010 /etc/etc/init.d/kdm-trinity paulandcilla:/var/log# ls -l /etc/init.d/kdm -rwxr-xr-x 1 root root 6707 Jan 13 14:43 /etc/init.d/kdm
On 21/02/11 21:12, Paul Cartwright wrote:
On 02/21/2011 04:06 PM, David Hare wrote:
You might just need to run
update-rc.d kdm-trinity defaults
to set it up
In numerous Trinity installs I have done it has always.. just worked.
# update-rc.d kdm-trinity defaults update-rc.d: /etc/init.d/kdm-trinity: file does not exist # # dpkg --list kdm-trinity Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii kdm-trinity 4:3.5.12-0debi X display manager for KDE
# locate kdm-trinity ( WOW!!!) /etc/default/kdm-trinity.d /etc/etc/default/kdm-trinity.d /etc/etc/init.d/kdm-trinity /etc/etc/logrotate.d/kdm-trinity /etc/etc/pam.d/kdm-trinity /etc/etc/pam.d/kdm-trinity-np /etc/logrotate.d/kdm-trinity /etc/pam.d/kdm-trinity /etc/pam.d/kdm-trinity-np # ls -l /etc/etc/init.d/kdm* -rwxr-xr-x 1 root root 5659 Oct 4 2007 /etc/etc/init.d/kdm -rwxr-xr-x 1 root root 5981 Aug 12 2010 /etc/etc/init.d/kdm-trinity paulandcilla:/var/log# ls -l /etc/init.d/kdm -rwxr-xr-x 1 root root 6707 Jan 13 14:43 /etc/init.d/kdm
/etc/etc/
??
To get a tidy package list (you can even pipe such a list to apt for install/purge and review it first) :
dpkg -l|grep ii|awk '{print $2}' >packages.txt
dpkg -l|grep ii|awk '{print $2}'|grep trinity >trinity.txt
etc
On 21/02/11 19:52, Paul Cartwright wrote:
On 02/21/2011 02:39 PM, David Hare wrote:
what do I need to do to get kdm-trinity working??
update-alternatives --all
sets defaults
# update-alternatives --all There are 3 choices for the alternative appletviewer (providing /usr/bin/appletviewer).
Selection Path Priority Status
0 /usr/lib/jvm/java-6-openjdk/bin/appletviewer 1061 auto mode 1 /usr/lib/jvm/java-6-openjdk/bin/appletviewer 1061 manual mode
- 2 /usr/lib/jvm/java-6-sun/bin/appletviewer 63
manual mode 3 /usr/lib/jvm/java-gcj/bin/appletviewer 1042 manual mode
what does that have to do with kdm-trinity? or what do I select?
If not sure leave as it is then it moves on. Default web browser x-session-manager x-terminal-emulator and more. It should be clear when you get there.
On 02/21/2011 02:39 PM, David Hare wrote:
what do I need to do to get kdm-trinity working??
update-alternatives --all
sets defaults
oh, my bad... didn't realize there were MULTIPLE screens to configure..
about 45 screens later... There are 3 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager).
Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/gnome-session 50 auto mode 1 /opt/trinity/bin/startkde 40 manual mode 2 /usr/bin/gnome-session 50 manual mode 3 /usr/bin/xfce4-session 50 manual mode
On Feb 20, 2011, at 9:25, Paul Cartwright paul@pcartwright.com wrote:
in a super-user terminal I get this: # synaptic Invalid MIT-MAGIC-COOKIE-1 key (synaptic:19493): Gtk-WARNING **: cannot open display: :1.0
Normal.
in a user terminal I get this: $ synaptic bash: synaptic: command not found
Also normal.
from the debian menu, clicking synaptic does nothing.
Can you check if you have kdesu or kdesudo from trinity installed? Also, if you have gksu installed?
On 02/20/2011 12:03 PM, Robert Xu wrote:
$ synaptic
bash: synaptic: command not found
Also normal.
from the debian menu, clicking synaptic does nothing.
Can you check if you have kdesu or kdesudo from trinity installed? Also, if you have gksu installed?
ii libkdesu5 4:4.4.5-2 the Console-mode Authentication Library for the KDE Platform
paulandcilla:/etc/apt# apt-get install kdesu Reading package lists... Done Building dependency tree Reading state information... Done Package kdesu is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'kdesu' has no installation candidate
ii kdesudo-trinit 4:3.5.12-0debi sudo frontend for KDE3 paulandcilla:/etc/apt# xhost + Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":1.0"
Hi Paul, to start synaptic you normally press Alt+F2 and type into the command line: synaptic. After a few seconds you will be asked for the root password. Then synaptic starts.
On Sun, Feb 20, 2011 at 12:31, HHa hha4491@web.de wrote:
Hi Paul, to start synaptic you normally press Alt+F2 and type into the command line: synaptic. After a few seconds you will be asked for the root password. Then synaptic starts.
That won't work... you should launch it with " /opt/trinity/bin/kdesu synaptic " in order to get the root password dialog. Just putting in "synaptic" won't allow you to do anything with it (it's not being run as root then)
Sorry Robert,
That won't work... you should launch it with " /opt/trinity/bin/kdesu synaptic " in order to get the root password dialog. Just putting in "synaptic" won't allow you to do anything with it (it's not being run as root then)
it always worked ans still works. Thw dialog knows how to treat it. Just try it.
On 02/20/2011 12:34 PM, Robert Xu wrote:
That won't work... you should launch it with " /opt/trinity/bin/kdesu synaptic " in order to get the root password dialog. Just putting in "synaptic" won't allow you to do anything with it (it's not being run as root then) --
# /opt/trinity/bin/kdesu synaptic Invalid MIT-MAGIC-COOKIE-1 keykdesu: cannot connect to X server :1.0 paulandcilla:/etc/apt# /opt/trinity/bin/kdesudo synaptic Invalid MIT-MAGIC-COOKIE-1 keykdesudo: cannot connect to X server :1.0
| # /opt/trinity/bin/kdesu synaptic | Invalid MIT-MAGIC-COOKIE-1 keykdesu: cannot connect to X server :1.0
Try to launch it as normal user, not root.
On 02/20/2011 01:54 PM, Inga Muste wrote:
| # /opt/trinity/bin/kdesu synaptic | Invalid MIT-MAGIC-COOKIE-1 keykdesu: cannot connect to X server :1.0
Try to launch it as normal user, not root.
wow, and it asked for MY password, not ROOT password, and IT RAN!!!
so I searched on trinity, and added the packages that I use from KDE!!
On 02/20/2011 02:15 PM, Paul Cartwright wrote:
| Invalid MIT-MAGIC-COOKIE-1 keykdesu: cannot connect to X server :1.0
Try to launch it as normal user, not root.
wow, and it asked for MY password, not ROOT password, and IT RAN!!!
so I searched on trinity, and added the packages that I use from KDE!!
ok, the REAL answer is!!!!! ( are you really ready???)
$ sux - ( enter root password) # synaptic ( oh YES it works!!! )
$ man sux sux - wrapper around su which will transfer your X credentials