Kanotix - Gtk help
Moderators: snarkout, Patrick, dann
-
steve riley
- Posts: 38
- Joined: Mon Oct 03, 2005 10:42 am
Kanotix - Gtk help
I'm taking Patrick's recommendation and trying Kanotix. Looks good but I'm having trouble with Synaptic.
(I installed Kanotix once for practice and saw Synpatic. Then I reintalled and could not find Synaptic in the menus any more.)
I downloaded it with apt-get (thanks for the repo thread!) and I have the Synaptic command. However, when I run the command I get:
Gtk-WARNING **: cannot open display:
I looked around for suggestions and tried "xhost +" and then tried apt-get install gnome-common, but still get the same error.
I suspect there is still some Gnome component missing. Please let me know any suggestions!
(I installed Kanotix once for practice and saw Synpatic. Then I reintalled and could not find Synaptic in the menus any more.)
I downloaded it with apt-get (thanks for the repo thread!) and I have the Synaptic command. However, when I run the command I get:
Gtk-WARNING **: cannot open display:
I looked around for suggestions and tried "xhost +" and then tried apt-get install gnome-common, but still get the same error.
I suspect there is still some Gnome component missing. Please let me know any suggestions!
-
steve riley
- Posts: 38
- Joined: Mon Oct 03, 2005 10:42 am
- CptnObvious999
- Posts: 798
- Joined: Fri Jun 03, 2005 7:54 pm
- Location: Maryland
- Contact:
chances are you did this from the command line. when you start a program under the command line as a regular user it should automatically redirect the GUI program to your current X session (assuming you are running the X session as a user and not root...which you damn well should be
). When you change to the super user in the command line it doesn't like to start GUI programs. You can get around this by running "kdesu yourprogram" or "gksu yourprogram"
-
steve riley
- Posts: 38
- Joined: Mon Oct 03, 2005 10:42 am
Thanks.
sux is there and worked. (I thought maybe that was a joke!)
Out of curiosity I did ps -ef after a fresh reboot and found:
root 3067 2994 0 05:32 ? 00:00:01 /usr/X11R6/bin/X -nolisten tcp -dpi 72 -br :0 vt7 -auth /var/run/xauth/A:0-n5ux6l
root 3078 2994 0 05:32 ? 00:00:00 -:0
user11 3942 3078 0 05:46 ? 00:00:00 /bin/sh /usr/bin/x-session-manager
user11 3975 3942 0 05:46 ? 00:00:00 /usr/bin/ssh-agent x-session-manager
So root starts X but user11 owns the X session.
What is that "-:0" ?
sux is there and worked. (I thought maybe that was a joke!)
Out of curiosity I did ps -ef after a fresh reboot and found:
root 3067 2994 0 05:32 ? 00:00:01 /usr/X11R6/bin/X -nolisten tcp -dpi 72 -br :0 vt7 -auth /var/run/xauth/A:0-n5ux6l
root 3078 2994 0 05:32 ? 00:00:00 -:0
user11 3942 3078 0 05:46 ? 00:00:00 /bin/sh /usr/bin/x-session-manager
user11 3975 3942 0 05:46 ? 00:00:00 /usr/bin/ssh-agent x-session-manager
So root starts X but user11 owns the X session.
What is that "-:0" ?