xdm and gdm

2012-07-21 Thread Wojciech Puchar
i run xdm normally. after logging it runs my $HOME/.xsession that starts 
things like fvwm2


i wanted to run gnome-session once, changed fvwm2 to 
/usr/local/bin/gnome-sessions


after loggin in it just exits. no .xsession-errors is created. no idea 
where to seek error messages at all.


with gdm loading gnome works.

any ideas? (except: just use gdm please)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xdm and gdm

2012-07-21 Thread Polytropon
On Sat, 21 Jul 2012 19:19:15 +0200 (CEST), Wojciech Puchar wrote:
 i run xdm normally. after logging it runs my $HOME/.xsession that starts 
 things like fvwm2
 
 i wanted to run gnome-session once, changed fvwm2 to 
 /usr/local/bin/gnome-sessions
  ^
Is this a typo?

According to the Handbook, /usr/local/bin/gnome-session
(without trailing 's') should be executed.

Source:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
See 6.7.1.2: Installing GNOME.



 after loggin in it just exits. no .xsession-errors is created. no idea 
 where to seek error messages at all.

Maybe errors are reported to the 1st virtual terminal
where the XDM process outputs its messages to (currently
not running xdm, so I can't check).



 with gdm loading gnome works.

Do you have

gdm_enable=YES
gnome_enable=YES

in /etc/rc.conf, and /proc mounted, as suggested in the Handbook?
Maybe gdm has some preparations that aren't found by gnome-session
when started autonomously. But the Handbook says it works without
GDM, so it should work either per .xinitrc (startx command) _and_
also with xdm (and therefore with wdm and others).



 any ideas? (except: just use gdm please)

Just use... computer. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xdm and gdm

2012-07-21 Thread Wojciech Puchar

Is this a typo?

According to the Handbook, /usr/local/bin/gnome-session
(without trailing 's') should be executed.


indeed a typo.
thank you.


after loggin in it just exits. no .xsession-errors is created. no idea
where to seek error messages at all.


Maybe errors are reported to the 1st virtual terminal
where the XDM process outputs its messages to (currently
not running xdm, so I can't check).


there are imho nowhere.


Do you have

gdm_enable=YES
gnome_enable=YES

in /etc/rc.conf, and /proc mounted, as suggested in the Handbook?
Maybe gdm has some preparations that aren't found by gnome-session
when started autonomously. But the Handbook says it works without


gdm is fine and works. the problem is that i wasn't able to my non-gnome 
.xsession work properly with gdm at all.


at the same time i like xdm and want to use, RARELY use it to run gnome.

Do you have any data about preparations that gdm do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xdm and gdm

2012-07-21 Thread Polytropon
On Sat, 21 Jul 2012 20:40:44 +0200 (CEST), Wojciech Puchar wrote:
  after loggin in it just exits. no .xsession-errors is created. no idea
  where to seek error messages at all.
 
  Maybe errors are reported to the 1st virtual terminal
  where the XDM process outputs its messages to (currently
  not running xdm, so I can't check).
 
 there are imho nowhere.

When I do startx, the vitrual terminal from which I issue
this command will capture the messages related to X. In case
of xdm, I did assume that would be ttyv0 implicitely.



 Do you have any data about preparations that gdm do?

The Handbook mentions /proc to be mounted, but that's not
related. The settings

gdm_enable=YES
gnome_enable=YES

in /etc/rc.conf would (if I understand the mechanism correctly)
correspond to scripts

/usr/local/etc/rc.d/gdm
/usr/local/etc/rc.d/gnome

respectively. So any possibly relevant preparations should be
done by those scripts. I can't check those as I haven't got
Gnome installed here.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SOLVED: xdm and gdm

2012-07-21 Thread Wojciech Puchar

adding

DisplayManager*authName:MIT-MAGIC-COOKIE-1

solves the problem.








Do you have any data about preparations that gdm do?


The Handbook mentions /proc to be mounted, but that's not
related. The settings

gdm_enable=YES
gnome_enable=YES

in /etc/rc.conf would (if I understand the mechanism correctly)
correspond to scripts

/usr/local/etc/rc.d/gdm
/usr/local/etc/rc.d/gnome

respectively. So any possibly relevant preparations should be
done by those scripts. I can't check those as I haven't got
Gnome installed here.


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gdm background picture missing

2010-04-09 Thread Jian Jun Wang
this solution worked, although it took me a lot of time to download
packages,  thank you so much.

On Fri, Apr 9, 2010 at 1:40 AM, Adam Vande More amvandem...@gmail.comwrote:

   On Thu, Apr 8, 2010 at 10:38 AM, Jian Jun Wang wangjian...@gmail.comwrote:

 Any suggestion on stepsto solve the problem?


 Follow the steps in /usr/ports/UPDATING when you are updating ports.

 Another option would be to pkg_delete * and install everything again from
 ports.  There are good instructions for this in the portmaster man page.

 --
 Adam Vande More




-- 
TNT - Today, Not Tomorrow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gdm background picture missing

2010-04-08 Thread Jian Jun Wang
hi all,

I am not familiar with Freebsd, I installed 8.0-release, it had been working
well.  I read one post that USB webcam could be used in Freebsd 8.0
so I tried to install multimedia/webcamd, multimedia/cuse4bsd-kmod from the
port. It also upgraded jpeg from 7.0 to 8.0 and a lot of dependency ports.
when I rebooted my pc, gdm background picture was missing, the background
was in GREEN, and gimageview could not show pictures. I deinstalled jpeg8
and reinstalled jpeg7, then the gdm background picture/gimageview were good.

then I tried to install multimedia/pwcview , it compiled from ports, but
failed when tried to install gtk2.20 (I remember), it has upgraded some
lib/ports which I had no idea of. I can not tell which ports have been
upgraded while I tried to install pwcview.

then reboot machine, gdm background picture was missing, all background was
in GREEN. when I log in, gimageview works well, and other softwares such as
firefox/putty, all were good except rox-filer, (I was using fvwm-crystal)
when I opened rox-filer, all files/directories were displayed as red
exclamation mark, all files/directories. when I click on it, it still
worked, if I clicked on avi files, it will be open in gmplayer, that was
good.

1. files/directories in rox-filer are all red exclamation mark.
2. gdm login background picture missing, all in green (the orginal picture
was a green leaf)
3. in gdm login window, it also shows red-cross mark where it should be a
host picture.

So I think it might be that I upgraded some dependency ports/libraries or
whatever by accident, but I can not tell which one. Any suggestion on steps
to solve the problem?

Thank you very much.

Jerry.

-- 
TNT - Today, Not Tomorrow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gdm background picture missing

2010-04-08 Thread Adam Vande More
On Thu, Apr 8, 2010 at 10:38 AM, Jian Jun Wang wangjian...@gmail.comwrote:

 Any suggestion on stepsto solve the problem?


Follow the steps in /usr/ports/UPDATING when you are updating ports.

Another option would be to pkg_delete * and install everything again from
ports.  There are good instructions for this in the portmaster man page.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gdm background picture missing

2010-04-08 Thread Chris Whitehouse

Adam Vande More wrote:

On Thu, Apr 8, 2010 at 10:38 AM, Jian Jun Wang wangjian...@gmail.comwrote:


Any suggestion on stepsto solve the problem?



Follow the steps in /usr/ports/UPDATING when you are updating ports.

Another option would be to pkg_delete * and install everything again from
ports.  There are good instructions for this in the portmaster man page.



I've always had good success with ports-mgmt/portmanager

#cd /usr/ports/ports-mgmt/portmanager
#make install clean
#rehash
#cd

then portmanager -s to tell you what needs upgrading, eg
#portmanager -s  portmanager.status
#portmanager -l -u
to actually do it. See the man page for more options.

I extract a list of ports that are not CURRENT from portmanager.status 
then cycle through them doing 'make config' in each ports directory so 
that portmanager can be left to run unattended, eg (assuming csh)

#foreach i ( `cat ports_to_upgrade`)
foreach? cd /usr/ports/$i
foreach? make config
foreach? cd
foreach? end
#

where ports_to_upgrade contains something like
converters/libiconv
devel/gettext
databases/mysql51-client
databases/mysql51-server
devel/m4
misc/help2man
sysutils/tmux
databases/p5-DBD-mysql51
audio/mpg123
x11/dri2proto
...

Note upgrading ports can take a long time, even days if you have lots of 
ports and a slow machine. You can quite happily interrupt portmanager 
though and start it again later (but see the man page for a caveat).


I haven't tested on the bump from jpeg7 to jpeg8 but mostly portmanager 
just works.


Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gnome gdm diable_user_list

2010-03-27 Thread Manolis Kiagias
On 26/03/2010 3:42 ?.?., n dhert wrote:
 FreeBSD8.0, gnome2-2.28.2_1, using gdm to login.
 Gdm login screen presents a list of all users on the system to choose from.
 I don't want the list, just a prompt for a username and password.
 I tried
 # gconf-editor
 this graphical config program allows to set in apps / gdm / simple-greeter
 the setting  'disable_user_list' to checked (default is not checked)
 after setting it to checked, closing the program, rebooting
 I still have the user list at the gdm login window.
 I verified with starting the gconf-editor again: the option is still checked
 ..
 (also $ gconftool-2 -R /apps/gdm/simple-greeter shows: disable_user_list =
 true )

 Why do I still have the user list?
 How to fix?
   

gconf-editor changes the settings of the current user, the gdm settings
are global (system) so should be changed by root or the user gdm is
running in.
I don't currently have gdm on any of my systems but AFAIR there is a gdm
user created for running the greeter.  You should be able to change the
disable_user_list setting for this user which will have the desired
effect. Something along the lines of this blog post
http://lionlix.wordpress.com/2009/11/07/hack-ubuntu-9-10-disabling-userlist-in-gdm-login-screen/
should work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gnome gdm diable_user_list

2010-03-26 Thread n dhert
FreeBSD8.0, gnome2-2.28.2_1, using gdm to login.
Gdm login screen presents a list of all users on the system to choose from.
I don't want the list, just a prompt for a username and password.
I tried
# gconf-editor
this graphical config program allows to set in apps / gdm / simple-greeter
the setting  'disable_user_list' to checked (default is not checked)
after setting it to checked, closing the program, rebooting
I still have the user list at the gdm login window.
I verified with starting the gconf-editor again: the option is still checked
..
(also $ gconftool-2 -R /apps/gdm/simple-greeter shows: disable_user_list =
true )

Why do I still have the user list?
How to fix?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gdm won't start at 7.2

2009-05-25 Thread Frank Bonnet

Hello

I've installed from scratch a i386 7.2 machine , when I try to start gdm
the machine display the login screen with other written on it
but it is totally hanged , even the mouse.

Any info ?

Thanks


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gdm won't start at 7.2

2009-05-25 Thread mct

Frank Bonnet wrote:

Hello

I've installed from scratch a i386 7.2 machine , when I try to start gdm
the machine display the login screen with other written on it
but it is totally hanged , even the mouse.

Any info ?

Thanks


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


i would ask in freebsd-gnome mailing list innstead, but sounds like 
could be related ot xorg configuration + hal
option AllowEmptyInput off. have you checked that? if not, find info 
in /usr/ports/UPDATING

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


GDM users list

2009-05-10 Thread Marco Beishuizen


Hi,

When I use GDM for logging in, the only possible users I can choose from 
are the logcheck system account and other, but not my regular user 
account. Why is that?


Marco

--
Only way to open lips of pigeon, sledgehammer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: GDM users list

2009-05-10 Thread Giorgos Keramidas
On Mon, 11 May 2009 01:07:10 +0200 (CEST), Marco Beishuizen mb...@xs4all.nl 
wrote:
 When I use GDM for logging in, the only possible users I can choose
 from are the logcheck system account and other, but not my regular
 user account. Why is that?

FWIW, the gdm user list applet seems to be having a few problems in
8.0-CURRENT too.

It is auto-enabled when procfs(5) is mounted at `/proc' but it only
shows `other' a few dozen times on my laptop, and clicking on them
sometimes crashes gdm.  I'm still trying to find out why, but you may
find it easier to get help by posting to the freebsd-gnome list.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: GDM users list

2009-05-10 Thread Marco Beishuizen

On Mon, 11 May 2009, Giorgos Keramidas wrote:


FWIW, the gdm user list applet seems to be having a few problems in
8.0-CURRENT too.

It is auto-enabled when procfs(5) is mounted at `/proc' but it only
shows `other' a few dozen times on my laptop, and clicking on them
sometimes crashes gdm.  I'm still trying to find out why, but you may
find it easier to get help by posting to the freebsd-gnome list.


Procfs is mounted at /proc on my system, but I'm not experiencing crashes. 
I'll send my question to the freebsd-gnome mailing list. Thanks.


Marco

--
Mustgo, n.:
Any item of food that has been sitting in the refrigerator so
long it has become a science project.
-- Rich Hall  Friends, Sniglets
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


group credentials cache in X11-session (xfce4, gdm) question

2009-04-30 Thread Harald Schmalzbauer

Hello,

I'm wondering why and how it comes that after altering /etc/groups `id` 
doesn't give me the additional group, while `id harry` does.
If I quit my X session and relogin it works as expected. Does gdm cache 
credentials? Hard to find useful documentation for gdm...


Thanks in advance,

-Harry



signature.asc
Description: OpenPGP digital signature


Re: group credentials cache in X11-session (xfce4, gdm) question

2009-04-30 Thread Dan Nelson
In the last episode (Apr 30), Harald Schmalzbauer said:
 I'm wondering why and how it comes that after altering /etc/groups `id`
 doesn't give me the additional group, while `id harry` does.  If I quit my
 X session and relogin it works as expected.  Does gdm cache credentials? 
 Hard to find useful documentation for gdm...

id tells you the credentials of the current process, while id harry
tells you the group memberships in /etc/groups.  Your credentials are set
when you log in, and do not change ( unless you are root and call
setgroups() or initgroups() ).

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gdm wont start

2009-02-09 Thread Brent Clark

Hiya

I upgraded to 7.1 and did a portupgrade and I think I broke something 
and for the likes of me .. I dont know how to fix this.


I havnt changed my /etc/rc.conf, and it all looks the same / untouched.

When ever I restart gdm I get the following.

** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed 
to connect to socket /var/run/dbus/system_bus_socket: No such file or 
directory


%grep gdm /etc/rc.conf
gdm_enable=YES

If anyone could assist I would really appreciate the assistance.

Kind Regards
Brent Clark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gdm wont start

2009-02-09 Thread Anton Shterenlikht
On Mon, Feb 09, 2009 at 12:45:30PM +0200, Brent Clark wrote:
 Hiya
 
 I upgraded to 7.1 and did a portupgrade and I think I broke something 
 and for the likes of me .. I dont know how to fix this.
 
 I havnt changed my /etc/rc.conf, and it all looks the same / untouched.
 
 When ever I restart gdm I get the following.
 
 ** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed 
 to connect to socket /var/run/dbus/system_bus_socket: No such file or 
 directory
 
 %grep gdm /etc/rc.conf
 gdm_enable=YES
 
 If anyone could assist I would really appreciate the assistance.

similar things happended to me with firefox and kazehakase ports.
I never figured it out. I blame dbus and hal ports, but couldn't
investigate this fully as after the 23-24 Jan port upgrages my
X failed alltogether.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gdm wont start

2009-02-09 Thread cwt

Anton Shterenlikht wrote:

On Mon, Feb 09, 2009 at 12:45:30PM +0200, Brent Clark wrote:
  

Hiya

I upgraded to 7.1 and did a portupgrade and I think I broke something 
and for the likes of me .. I dont know how to fix this.


I havnt changed my /etc/rc.conf, and it all looks the same / untouched.

When ever I restart gdm I get the following.

** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed 
to connect to socket /var/run/dbus/system_bus_socket: No such file or 
directory


%grep gdm /etc/rc.conf
gdm_enable=YES

If anyone could assist I would really appreciate the assistance.



similar things happended to me with firefox and kazehakase ports.
I never figured it out. I blame dbus and hal ports, but couldn't
investigate this fully as after the 23-24 Jan port upgrages my
X failed alltogether.

  
on a similar problem with new gdm and dbus errors, i deleted/moved 
(backuped) all folders that have to do with .gconf or .gtk from my home 
directory. something worked for me, but i have no idea which.


give it a try and see how it goes?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-02-05 Thread Klaus Friis Østergaard
2009/2/1 Klaus Friis Østergaard farremo...@gmail.com:
On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis Østergaard wrote:

I tried to remove the directories that was not removed by deinstall
manually, and then installed again, now no complaints about not being
able to uninstall I can now start gdm again, with out any complaints,
but when I run sockstat I cannot see gdm-binary active nor any listen
on udp 177.

Any suggestions?


GDM 2.24 ist broken, not only on FreeBSD but also on other systems like
Fedora. My personal workaround ist to keep using 2.20 for now, which
seems to be the last working version that came from the gnome team.

 gdm-2.24.1_5 is not broken, else I couldn't have logged onto my
 gnome-desktop some minutes ago. But there are some feature-regressions
 compared to 2.20 - developers say they have rewritten important parts
 of the code.

 Greetings,

 Uli.

 Thanks, but how do I reverse back to gdm 2.20? Is this possible with
 the portupgrade tools?

 /Klaus


 --
 Klaus F. Østergaard, farremosen(at)gmail dot com

Thanks, it worked with portdowngrade and then I just used the
portupgrade -a -x /x11/gdm



-- 
Klaus F. Østergaard, farremosen(at)gmail dot com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-02-02 Thread Uwe Laverenz
On Sun, Feb 01, 2009 at 10:34:46PM +0100, Klaus Friis Østergaard wrote:

 Thanks, but how do I reverse back to gdm 2.20? Is this possible with
 the portupgrade tools?

You could use ports-mgmt/portdowngrade for this or you could download
http://www.laverenz.de/gdm-2.20.tar.gz and extract in in the
/usr/ports/x11 directory.

Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-02-01 Thread Klaus Friis Østergaard
On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis Østergaard wrote:

I tried to remove the directories that was not removed by deinstall
manually, and then installed again, now no complaints about not being
able to uninstall I can now start gdm again, with out any complaints,
but when I run sockstat I cannot see gdm-binary active nor any listen
on udp 177.

Any suggestions?


GDM 2.24 ist broken, not only on FreeBSD but also on other systems like
Fedora. My personal workaround ist to keep using 2.20 for now, which
seems to be the last working version that came from the gnome team.

gdm-2.24.1_5 is not broken, else I couldn't have logged onto my
gnome-desktop some minutes ago. But there are some feature-regressions
compared to 2.20 - developers say they have rewritten important parts
of the code.

Greetings,

Uli.

Thanks, but how do I reverse back to gdm 2.20? Is this possible with
the portupgrade tools?

/Klaus


-- 
Klaus F. Østergaard, farremosen(at)gmail dot com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-01-31 Thread Uwe Laverenz

Peter Ulrich Kruppa schrieb:

That's a really thin client and it seems to work (for me - I can logon 
to my wifes Debian machine).


Yes, this works because Debian still uses GDM 2.20. :)

The new GDM 2.24 is broken on _both_ sides (local and remote):

- there is no XDMCP-Chooser anymore on the local side (rewritten ;))

- GDM does not listen to XDMCP requests on the remote side (this is
  a bug I think, not rewritten)


Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem gdm 2.24, xdmcp D-BUS?

2009-01-30 Thread Klaus Friis Østergaard
Hi

I have an amd64 box with FreeBSD 7.0, just upgrade to gnome 2.24.

No I have a problem with getting gdm to start.

I have trieded to:
make deinstall

results in problem with deleting following directories:

pkg_delete: unable to completely remove directory '/usr/local/share/gdm'
pkg_delete: unable to completely remove directory
'/usr/local/etc/gdm/PreSession'
pkg_delete: unable to completely remove directory
'/usr/local/etc/gdm/PostSession'
pkg_delete: unable to completely remove directory '/usr/local/etc/gdm/Init'

Should I just manually remove these directories?

recompiling and installing gdm again when I try to start gdm

/usr/local/etc/rc.d/gdm start

I get following:

** (gdm-binary:5267): WARNING **: Failed to acquire org.gnome.DisplayManager

** (gdm-binary:5267): WARNING **: Could not acquire name; bailing out

When I run sockstat I can see that gdm-binary is not running.

I have googled and found some mentioning something about the dbus
system and programs not running as root, but how do I proceed.

any help apriciated

By the way, I need this box as a server where thin clients connect to
via xdmcp and get to login via gdm on the server.

All I did was upgrading from Gnome 2.22 to 2.24 via ports.

/klaus







-- 
Klaus F. Østergaard, farremosen(at)gmail dot com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-01-30 Thread Klaus Friis Østergaard
2009/1/30 Klaus Friis Østergaard farremo...@gmail.com:
 Hi

 I have an amd64 box with FreeBSD 7.0, just upgrade to gnome 2.24.

 No I have a problem with getting gdm to start.

 I have trieded to:
 make deinstall

 results in problem with deleting following directories:

 pkg_delete: unable to completely remove directory '/usr/local/share/gdm'
 pkg_delete: unable to completely remove directory
 '/usr/local/etc/gdm/PreSession'
 pkg_delete: unable to completely remove directory
 '/usr/local/etc/gdm/PostSession'
 pkg_delete: unable to completely remove directory '/usr/local/etc/gdm/Init'

 Should I just manually remove these directories?

 recompiling and installing gdm again when I try to start gdm

 /usr/local/etc/rc.d/gdm start

 I get following:

 ** (gdm-binary:5267): WARNING **: Failed to acquire org.gnome.DisplayManager

 ** (gdm-binary:5267): WARNING **: Could not acquire name; bailing out

 When I run sockstat I can see that gdm-binary is not running.

 I have googled and found some mentioning something about the dbus
 system and programs not running as root, but how do I proceed.

 any help apriciated

 By the way, I need this box as a server where thin clients connect to
 via xdmcp and get to login via gdm on the server.

 All I did was upgrading from Gnome 2.22 to 2.24 via ports.

 /klaus

I tried to remove the directories that was not removed by deinstall
manually, and then installed again, now no complaints about not being
able to uninstall I can now start gdm again, with out any complaints,
but when I run sockstat I cannot see gdm-binary active nor any listen
on udp 177.

Any suggestions?

In /usr/local/etc/gdm/custum.conf

I have only
[xdmcp]
 Enable=true
 Port=177

/Klaus
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-01-30 Thread Uwe Laverenz
On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis Østergaard wrote:

 I tried to remove the directories that was not removed by deinstall
 manually, and then installed again, now no complaints about not being
 able to uninstall I can now start gdm again, with out any complaints,
 but when I run sockstat I cannot see gdm-binary active nor any listen
 on udp 177.
 
 Any suggestions?

GDM 2.24 ist broken, not only on FreeBSD but also on other systems like
Fedora. My personal workaround ist to keep using 2.20 for now, which
seems to be the last working version that came from the gnome team.

There is a thread about this at the freebsd-gnome mailing list.

Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-01-30 Thread Peter Ulrich Kruppa

On Fri, 30 Jan 2009, Uwe Laverenz wrote:


On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis Østergaard wrote:


I tried to remove the directories that was not removed by deinstall
manually, and then installed again, now no complaints about not being
able to uninstall I can now start gdm again, with out any complaints,
but when I run sockstat I cannot see gdm-binary active nor any listen
on udp 177.

Any suggestions?


GDM 2.24 ist broken, not only on FreeBSD but also on other systems like
Fedora. My personal workaround ist to keep using 2.20 for now, which
seems to be the last working version that came from the gnome team.
gdm-2.24.1_5 is not broken, else I couldn't have logged onto my 
gnome-desktop some minutes ago. But there are some 
feature-regressions compared to 2.20 - developers say they have 
rewritten important parts of the code.


Greetings,

Uli.




There is a thread about this at the freebsd-gnome mailing list.

Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




| Peter Ulrich Kruppa
| Wuppertal
| Germany___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Problem gdm 2.24, xdmcp D-BUS?

2009-01-30 Thread Uwe Laverenz

Peter Ulrich Kruppa schrieb:

gdm-2.24.1_5 is not broken, else I couldn't have logged onto my 
gnome-desktop some minutes ago. But there are some feature-regressions 


Sorry, do you mean you logged into a _remote_ machine (via XDMCP) that 
is running GDM 2.24 and listens to UDP 177? Because this is the thing 
that doesn't work for us. When I said broken, I meant that XDMCP does 
not work anymore (and a few other things that users were comfortable with).


compared to 2.20 - developers say they have rewritten important parts of 
the code.


Rewritten? Yes, that's what they call it these days when they remove 
features without getting the new stuff working. :-(


Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-01-30 Thread Peter Ulrich Kruppa

On Fri, 30 Jan 2009, Uwe Laverenz wrote:


Peter Ulrich Kruppa schrieb:

gdm-2.24.1_5 is not broken, else I couldn't have logged onto my 
gnome-desktop some minutes ago. But there are some feature-regressions 


Sorry, do you mean you logged into a _remote_ machine (via XDMCP) that is 
running GDM 2.24 and listens to UDP 177? Because this is the thing that 
doesn't work for us. When I said broken, I meant that XDMCP does not work 
anymore (and a few other things that users were comfortable with).
Sorry, I didn't catch the original posters second last line, my 
fault. Xdmcp is not available via gdm-2.24 .


Greetings

Uli.





compared to 2.20 - developers say they have rewritten important parts of 
the code.


Rewritten? Yes, that's what they call it these days when they remove features 
without getting the new stuff working. :-(


Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




| Peter Ulrich Kruppa
| Wuppertal
| Germany
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem gdm 2.24, xdmcp D-BUS?

2009-01-30 Thread Peter Ulrich Kruppa

Peter Ulrich Kruppa schrieb:

On Fri, 30 Jan 2009, Uwe Laverenz wrote:


Peter Ulrich Kruppa schrieb:

gdm-2.24.1_5 is not broken, else I couldn't have logged onto my 
gnome-desktop some minutes ago. But there are some feature-regressions 


Sorry, do you mean you logged into a _remote_ machine (via XDMCP) that 
is running GDM 2.24 and listens to UDP 177? Because this is the thing 
that doesn't work for us. When I said broken, I meant that XDMCP 
does not work anymore (and a few other things that users were 
comfortable with).
Sorry, I didn't catch the original posters second last line, my fault. 
Xdmcp is not available via gdm-2.24 .


Greetings

Uli.

As a little excuse to the original poster I did some research:
How about using

# Xorg -query IP-address :display-number

from command line? (Mind: you have to set display number to 
something different from default 0 (p.ex. 1 or 2) if you are 
calling from inside an already running Xorg).


That's a really thin client and it seems to work (for me - I 
can logon to my wifes Debian machine).


Greetings

Uli.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Nvidia, GDM, Xorg 7.4

2009-01-26 Thread Jeff Molofee
Surprised I don't see more postings, find it hard to believe I'm the 
only one unable to resolve this issue...


Still can't get GDM working (gnome). Machine boots and drops back to 
console. Have tried playing with every setting in xorg.conf I can think 
of, have even tried nuking it completely. System will not boot to GUI. I 
can type startx and X... just fine... screen shows up, everything 
working (mouse/kb, etc). If I do GDM restart/stop, etc... nothing.


I have no idea what the error is in Xorg.0.log that's causing an 
issue... I doesn't seem to me that there is a serious error.


I have tried with x11/nvidia-driver, with driver off nvidia site, with 
nv, and with vesa. I can't get anything to work.


Even more odd, is if I do a X -configure, my xorg.conf file has 32 of 
everything... 32 monitors, 32 drivers, 32 etc... and it will still not boot


FreeBSD 7.1, Xorg 7.4, i386, intel cpu, system running fine before xorg 
7.4, hald running, rc.conf should be fine, nvidia driver was working 
fine with compiz, etc.


Have gone through all the steps in UPDATING, have even tried 
-ignoreABI... nothing working. I should at the very least be able to get 
Vesa or NV to work shouldn't I?


Ports are all up to date with portmanager -u

Have tried reinstall everything to do with xorg, etc (let machine run 
all night rebuilding everything).


As I said before, don't care about 3d right now, would just like to see 
good old gnome once again.


... help :)


Sorry for the log... didn't want to leave anything out in case I'm 
overlooking something.



X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.1-STABLE i386 
Current Operating System: FreeBSD nehe 7.1-STABLE FreeBSD 7.1-STABLE #13: Sun 
Jan 25 07:41:34 MST 2009 je...@nehe:/usr/obj/usr/src/sys/NeHe i386
Build Date: 26 January 2009  05:46:26PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon Jan 26 20:24:19 2009
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Including the default font path 
/usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/.
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(**) ModulePath set to /usr/local/lib/xorg/modules
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be 
disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x81b3460
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on freebsd
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(--) PCI:*(0...@1:0:0) nVidia Corporation G80 [GeForce 8800 GTS] rev 0, Mem @ 
0xcc00/0, 0xb000/0, 0xca00/0, I/O @ 0x9c00/0, BIOS @ 
0x/65536
(II) System resource ranges:
[0] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x00ff (0x100) IX[B]
(II) extmod will be loaded. This was enabled by default and also specified in 
the config file.
(II) dbe will be loaded. This was enabled by default and also specified in 
the config file.
(II) glx will be loaded. This was enabled by default and also specified in 
the config file.
(II) freetype will be loaded. This was enabled by default and also specified 
in the config file.
(II) dri will be loaded. This was enabled by default and also specified in 
the config file.
(II) LoadModule: glx

(II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor=X.Org Foundation

Re: Nvidia, GDM, Xorg 7.4

2009-01-26 Thread Glen Barber
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/131016

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Nvidia, GDM, Xorg 7.4

2009-01-26 Thread Da Rock
On Tue, 2009-01-27 at 01:23 -0500, Glen Barber wrote:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/131016
 

According to the latest UPDATING (thanks for the reminder Robert) this
shouldn't be a problem anymore. Not that I should talk- my X hasn't
started since I ran portupgrade -a last :D hopefully the portupgrade
-a -rf I'm running currently will have success for me.

Read that and try some of the tips there- in particular have you got any
errors on the RGBPath?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: GDM login without using a password

2008-11-04 Thread Craig Butler
On Tue, 2008-11-04 at 16:32 +0200, Roey Dror wrote:
  AFAIK the automatic login feature allows you to nominate a user to
  automatically log in as... it doesn't ask for the password but I think
  one can be set (so it doesn't need to be empty).
 
 As I said, the automatic login feature is not what I'm looking for.
 I need to set up more than one user that is able to login without a password.
 The computer is a home computer, so local security is not an issue.
 

OK the pam stuff that is talked about online is found in /etc/pam.d/gdm.
I have seen a few suggestions to change the auth to optional instead of
required.  However there would be nothing to stop some one logging in as
root through gdm.

Maybe there is some way of fudging gnome to accept more than one
passwordless user account good luck finding it

Regards

Craig B

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM login without using a password

2008-11-04 Thread Roey Dror
 AFAIK the automatic login feature allows you to nominate a user to
 automatically log in as... it doesn't ask for the password but I think
 one can be set (so it doesn't need to be empty).

As I said, the automatic login feature is not what I'm looking for.
I need to set up more than one user that is able to login without a password.
The computer is a home computer, so local security is not an issue.

-- 
Roey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM login without using a password

2008-11-04 Thread Craig Butler


On Tue, 2008-11-04 at 16:02 +0200, Roey Dror wrote:
 I've searched around the internet for a way to allow a user to login
 into GDM without using a password.
 I know that GDM has an automatic login feature, but that's not what I'm 
 looking.
 I really do not wish to create a user with an empty password, in order
 not to compromise the entire system security.
 I found a mini-HOWTO which suggests using the pam_filelist module.
 Unfortunately, I couldn't find this module in the ports system.
 
 Is there any other way to allow this user to login without using a
 password only using GDM?
 

AFAIK the automatic login feature allows you to nominate a user to
automatically log in as... it doesn't ask for the password but I think
one can be set (so it doesn't need to be empty).  Automatic login is a
security risk in its self, the cracker is already one step closer.

It is all controlled through gdmsetup.

Regards

Craig B



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GDM login without using a password

2008-11-04 Thread Roey Dror
I've searched around the internet for a way to allow a user to login
into GDM without using a password.
I know that GDM has an automatic login feature, but that's not what I'm looking.
I really do not wish to create a user with an empty password, in order
not to compromise the entire system security.
I found a mini-HOWTO which suggests using the pam_filelist module.
Unfortunately, I couldn't find this module in the ports system.

Is there any other way to allow this user to login without using a
password only using GDM?

-- 
Roey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM login without using a password

2008-11-04 Thread Roey Dror

 OK the pam stuff that is talked about online is found in /etc/pam.d/gdm.
 I have seen a few suggestions to change the auth to optional instead of
 required.  However there would be nothing to stop some one logging in as
 root through gdm.


Is there any other pam module which can supply a passwordless login?
maybe pam_guest?

-- 
Roey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM login without using a password

2008-11-04 Thread Roey Dror

 Is there any other pam module which can supply a passwordless login?
 maybe pam_guest?


I figured it out.  Adding this line:
authsufficient  pam_guest.soguests=username nopass
to /etc/pam.d/gdm
did the trick.

-- 
Roey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


password X GDM

2008-06-07 Thread luizbcampos
After I had installed FreeBSD-7.0-R and enabled gdm in
/etc/rc.conf, the system freezes when I try to enter gnome interface
through GDM. When I type my blank password, the script fails to go on
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: password X GDM

2008-06-07 Thread Matthew Donovan
On Sat, Jun 07, 2008 at 12:20:46PM -0500, luizbcampos wrote:
 After I had installed FreeBSD-7.0-R and enabled gdm in
 /etc/rc.conf, the system freezes when I try to enter gnome interface
 through GDM. When I type my blank password, the script fails to go on
I believe gdm/kdm/xdm hates blank passwords just as the system hates it 



 


pgp7ADONKJqSM.pgp
Description: PGP signature


gdm sessions - xfce + fluxbox

2008-05-01 Thread Aijaz Baig
Hello,

I would want to have a choice at login time between xfce (my default desktop
wm) and fluxbox. I have followed the steps from this document :
http://geek00l.blogspot.com/2006/06/freebsd-fluxbox-gdm.html

but i did not have the xsessions directory under /usr/X11R6/share/gnome/.

so i created one and created another file called Fluxbox.desktop inside it.
Then followed the rest of the document as is.  Additionally I copied the
startfluxbox binary to the ~/.Xclients file under the binary for xfce.

What has happened now is that I still dont see no choice under the sessions
menu in gdm morever i get logged on to xfce first.

Now when I log on from xfce I get logged on to fluxbox meaning the fluxbox
desktop may be waiting for the x-resources like the screen, mouse etc to
become available and then when it does become available it starts to run.

Im rather confused. Please help me with this and perhaps give me some
insight as to why it is the wa it is if you can

Hope to hear from you fellas
-- 
Best Regards,

Aijaz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


List of active users, logged in with gdm

2008-03-12 Thread Laszlo Nagy


 Hi,

I would like to get the list of the users who are actively logged in 
remotely with gdm, along with their IP address. The commands 'w' and 
'users' does not work. What is the right command to get this list?


uname:

FreeBSD test.dyndns.org 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #4: Wed 
Aug 29 14:01:04 CEST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DARKSUN  i386


(The computer is an application server, serving applications to diskless 
machines with gdm + gnome.)


Thanks,

  Laszlo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: List of active users, logged in with gdm

2008-03-12 Thread Matthew Seaman

Laszlo Nagy wrote:

I would like to get the list of the users who are actively logged in 
remotely with gdm, along with their IP address. The commands 'w' and 
'users' does not work. What is the right command to get this list?


Let me turn that question around slightly:

  How can I get gdm(8) to record user logins in /var/run/utmp ?

It's the utmp file that commands like w(1) and users(1) read in order
to present the list of logged-in users.  As far as I know this is the
only effective means the system uses to record who is logged in when --
I'm not aware of any gdm(1) specific equivalent.

Now, in order for a login to be recorded in utmp(5) it should suffice to
have a line like:

 session requiredpam_lastlog.so  no_fail

in the appropriate file under /etc/pam.d or /usr/local/etc/pam.d

I'm using /etc/pam.d/xdm as a reference -- xdm(8) is functionally
similar to gdm(8) and I'd think it would have a very similar PAM
configuration.  However I haven't positively verified that, and you'ld
do well to search for PAM-related info in gdm documentation and so
forth.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re:[solved] gdm + xdmcp

2008-03-02 Thread Daniel Iliev
On Sat, 1 Mar 2008 06:31:39 +0530
Girish Venkatachalam [EMAIL PROTECTED] wrote:

 On 01:10:06 Mar 01, Daniel Iliev wrote:
  Hi, people
  
  
  I installed FreeBSD using the 7.0-RELEASE-i386-bootonly.iso CD
  image. After I installed Gnome (pkg_add -r gnome2), I was able to
  start it on the FreeBSD and show it on my GNU/Linux workstation
  like this:
  
  1) (Xnest :1 ) ; terminal --display=:1
  2) in the Xnested terminal:
  ssh -Y bsd.example.org gnome-session 
  (Ctrl+D)
  
  Next I started gdmsetup on the FreeBSD system and enabled Remote
  Login (XDMCP). It was followed by a gdm-restart. No error
  messages, everything seems fine, but I can not connect to the
  FreeBSD box issuing Xnest -query bsd.example.org :2 from the
  workstation.
  
  The above steps are usually enough to get XDMCP working between
  GNU/Linux hosts. Actually the reverse scenario works just fine - I
  was able to get my GNU/Linux Gnome showing on the FreeBSD system via
  XDMCP. The two hosts are on the same HUB and in the same /24 private
  network.
  
  
  What am I missing in the FreeBSD setup?
  
 


I'm posting this one just for future reference if someone else hits the
same problem.

I rebuilt the kernel w/o IPv6 support (and a bunch of other things I
don't need but they seem irrelevant). After rebooting into the kernel
the gdm started crashing.

cd /usr/ports/*/gdm ; make deinstall ; make install clean.

The last command brings a configuration menu where I disabled the IPv6
support. After building and installing gdm this way the new instance
speaks XDMCP as expected.



-- 
Best regards,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm + xdmcp

2008-03-01 Thread clemens fischer
On Sat, 1 Mar 2008 12:20:40 +0530 Girish Venkatachalam wrote:

 I personally do not run gdm or kdm. So I would not know how to get
 this working but I *think* you already picked the right file. The one
 you quoted in your last mail. I think the key lies there. You have to
 modify it and restart gdm and see if it listens for XDMCP requests
 locally.

sockstat -4

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm + xdmcp

2008-02-29 Thread Daniel Iliev
Hi, people


I installed FreeBSD using the 7.0-RELEASE-i386-bootonly.iso CD image.
After I installed Gnome (pkg_add -r gnome2), I was able to start it on
the FreeBSD and show it on my GNU/Linux workstation like this:

1) (Xnest :1 ) ; terminal --display=:1
2) in the Xnested terminal:
ssh -Y bsd.example.org gnome-session 
(Ctrl+D)

Next I started gdmsetup on the FreeBSD system and enabled Remote
Login (XDMCP). It was followed by a gdm-restart. No error messages,
everything seems fine, but I can not connect to the FreeBSD box issuing
Xnest -query bsd.example.org :2 from the workstation.

The above steps are usually enough to get XDMCP working between
GNU/Linux hosts. Actually the reverse scenario works just fine - I
was able to get my GNU/Linux Gnome showing on the FreeBSD system via
XDMCP. The two hosts are on the same HUB and in the same /24 private
network.


What am I missing in the FreeBSD setup?



P.S.

/* off-topic
I'm new to the *BSD world and it's my first message to this list.
So, I'd like to ask if there are any special rules here that I should
know about? Would no html, no thread-hijacking, no top-posting be
enough to avoid offending the more sensitive folks on the list when it
comes to correct e-mail formatting?
*/



-- 
Best regards,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm + xdmcp

2008-02-29 Thread Girish Venkatachalam
On 01:10:06 Mar 01, Daniel Iliev wrote:
 Hi, people
 
 
 I installed FreeBSD using the 7.0-RELEASE-i386-bootonly.iso CD image.
 After I installed Gnome (pkg_add -r gnome2), I was able to start it on
 the FreeBSD and show it on my GNU/Linux workstation like this:
 
 1) (Xnest :1 ) ; terminal --display=:1
 2) in the Xnested terminal:
 ssh -Y bsd.example.org gnome-session 
 (Ctrl+D)
 
 Next I started gdmsetup on the FreeBSD system and enabled Remote
 Login (XDMCP). It was followed by a gdm-restart. No error messages,
 everything seems fine, but I can not connect to the FreeBSD box issuing
 Xnest -query bsd.example.org :2 from the workstation.
 
 The above steps are usually enough to get XDMCP working between
 GNU/Linux hosts. Actually the reverse scenario works just fine - I
 was able to get my GNU/Linux Gnome showing on the FreeBSD system via
 XDMCP. The two hosts are on the same HUB and in the same /24 private
 network.
 
 
 What am I missing in the FreeBSD setup?
 

I am confused why you need Xnest.

If you want the XDMCP of the remote host there are other means. Xnest is
meant for running multiple X sessions in the same server.

If you want to access a remote machine's gdm, then you don't need Xnest
for that.

You can test for UDP port 177 along with the TCP ports 6000 and above
with the nmap command.

# nmap -sT -p 6000-6005 bsd.example.org # For X
# nmap -sU -p 177 bsd.example.org # For XDMCP

Most likely you have to enable TCP listening in gdm.conf. Just
uncomment the relevant line and you should be all set.

Best of luck!

-Girish

 
 
 P.S.
 
 /* off-topic
 I'm new to the *BSD world and it's my first message to this list.
 So, I'd like to ask if there are any special rules here that I should
 know about? Would no html, no thread-hijacking, no top-posting be
 enough to avoid offending the more sensitive folks on the list when it
 comes to correct e-mail formatting?
 */
 
You seem to know everything already. ;)

This list is specifically meant for newbies and is very very friendly.

-- 
unix soi qui mal y pense

UNIX to him who evil thinks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm + xdmcp

2008-02-29 Thread Daniel Iliev
On Sat, 1 Mar 2008 06:31:39 +0530
Girish Venkatachalam [EMAIL PROTECTED] wrote:

 On 01:10:06 Mar 01, Daniel Iliev wrote:

== snip ==

  I started gdmsetup on the FreeBSD system and enabled Remote
  Login (XDMCP). It was followed by a gdm-restart. No error
  messages, everything seems fine, but I can not connect to the
  FreeBSD box issuing Xnest -query bsd.example.org :2 from the
  workstation.
  

== snip ==

   The two hosts are on the same HUB and in the same /24 private
  network.
  
  
  What am I missing in the FreeBSD setup?
  
 
 I am confused why you need Xnest.
 
 If you want the XDMCP of the remote host there are other means. Xnest
 is meant for running multiple X sessions in the same server.
 
 If you want to access a remote machine's gdm, then you don't need
 Xnest for that.
 

Indeed. It is not my intention to use XDMCP like that (although it has
some advantages in some cases), but since the remote host wasn't on the
local XDMCP list I tried a more direct approach.


 You can test for UDP port 177 along with the TCP ports 6000 and above
 with the nmap command.
 
 # nmap -sT -p 6000-6005 bsd.example.org # For X
 # nmap -sU -p 177 bsd.example.org # For XDMCP
 

Sorry, I forgot to mention that. nmap gives:

PORTSTATE  SERVICE
177/udp closed xdmcp
6000/tcp open  X11

Actually I think the latter is not required, but I'll let everything be
open and allowing until I get it working, then I'll disable the
unnecessary options afterwards.


 Most likely you have to enable TCP listening in gdm.conf. Just
 uncomment the relevant line and you should be all set.
 

Now, this is where I get confused. In the gdm(1) man page it is stated
the configuration file should be gdm.conf. Well, the man page is from
2003 and pkg_info -L doesn't show such a file. Instead there is
custom.conf{,.default} and gdmsetup seems to be writing to this one.
Its content seems OK (meaning policy=allow all) to me:

sed -e '/^$/d;/#/d' /usr/local/etc/gdm/custom.conf
[daemon]
[security]
AllowRemoteRoot=true
DisallowTCP=false
[xdmcp]
Enable=true
[gui]
[greeter]
Use24Clock=yes
[chooser]
[debug]
[servers]


So, I believe there's something about gdm that I'm still missing or
it's just not working on FreeBSD. (bug?)


 Best of luck!
 
 -Girish


Thanks and the same to you!

(Although I'd appreciate more help than luck in this case.)

 :)



-- 
Best regards,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm + xdmcp

2008-02-29 Thread Girish Venkatachalam
On 04:37:58 Mar 01, Daniel Iliev wrote:
 Indeed. It is not my intention to use XDMCP like that (although it has
 some advantages in some cases), but since the remote host wasn't on the
 local XDMCP list I tried a more direct approach.
 

Okay.

 Sorry, I forgot to mention that. nmap gives:
 
 PORTSTATE  SERVICE
 177/udp closed xdmcp
 6000/tcp open  X11
 
 Actually I think the latter is not required, but I'll let everything be
 open and allowing until I get it working, then I'll disable the
 unnecessary options afterwards.
 

Then your problem is right here.

The XDMCP port is closed.

 Now, this is where I get confused. In the gdm(1) man page it is stated
 the configuration file should be gdm.conf. Well, the man page is from
 2003 and pkg_info -L doesn't show such a file. Instead there is
 custom.conf{,.default} and gdmsetup seems to be writing to this one.
 Its content seems OK (meaning policy=allow all) to me:
 
 sed -e '/^$/d;/#/d' /usr/local/etc/gdm/custom.conf
 [daemon]
 [security]
 AllowRemoteRoot=true
 DisallowTCP=false

The above line seems fine to me.

 [xdmcp]
 Enable=true
 [gui]
 [greeter]
 Use24Clock=yes
 [chooser]
 [debug]
 [servers]
 
 
 So, I believe there's something about gdm that I'm still missing or
 it's just not working on FreeBSD. (bug?)
 

Don't think so.

 
 Thanks and the same to you!
 
 (Although I'd appreciate more help than luck in this case.)
 
  :)
 

Open the XDMCP port and you are done.

-Girish
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm + xdmcp

2008-02-29 Thread Daniel Iliev
On Sat, 1 Mar 2008 10:22:29 +0530
Girish Venkatachalam [EMAIL PROTECTED] wrote:

  Sorry, I forgot to mention that. nmap gives:
  
  PORTSTATE  SERVICE
  177/udp closed xdmcp
  6000/tcp open  X11
  
  Actually I think the latter is not required, but I'll let
  everything be open and allowing until I get it working, then I'll
  disable the unnecessary options afterwards.
  
 
 Then your problem is right here.
 
 The XDMCP port is closed.
 

Agreed.

 
 Open the XDMCP port and you are done.
 


How am I supposed to do that? I believe it's up to gdm to open the port
it should be listening on. Just like Xorg did. If you mean I should
allow access to this port in the firewall, I must say I've not
(explicitly) enabled one on this system because it's connected to a
private (in the sense of RFC1918) LAN with no offenders other than me
and my family. :)


[EMAIL PROTECTED] ~]# /etc/rc.d/ipfw rcvar
# ipfw
firewall_enable=NO
[EMAIL PROTECTED] ~]# /etc/rc.d/ipfilter rcvar
# ipfilter
ipfilter_enable=NO
[EMAIL PROTECTED] ~]# /etc/rc.d/pf rcvar
# pf
pf_enable=NO
[EMAIL PROTECTED] ~]# 


-- 
Best regards,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm + xdmcp

2008-02-29 Thread Girish Venkatachalam
On 07:56:29 Mar 01, Daniel Iliev wrote:
 
 How am I supposed to do that? I believe it's up to gdm to open the port
 it should be listening on. Just like Xorg did. If you mean I should
 allow access to this port in the firewall, I must say I've not
 (explicitly) enabled one on this system because it's connected to a
 private (in the sense of RFC1918) LAN with no offenders other than me
 and my family. :)
 
 
 [EMAIL PROTECTED] ~]# /etc/rc.d/ipfw rcvar
 # ipfw
 firewall_enable=NO
 [EMAIL PROTECTED] ~]# /etc/rc.d/ipfilter rcvar
 # ipfilter
 ipfilter_enable=NO
 [EMAIL PROTECTED] ~]# /etc/rc.d/pf rcvar
 # pf
 pf_enable=NO
 [EMAIL PROTECTED] ~]# 
 

To rule out a firewall issue try running nmap on the localhost and
check. Or you could use the RFC1918 address of bsd.example.org from the
same machine.

In case that shows the port open then you can go the firewall route.

I personally do not run gdm or kdm. So I would not know how to get this
working but I *think* you already picked the right file. The one you
quoted in your last mail. I think the key lies there. You have to modify
it and restart gdm and see if it listens for XDMCP requests locally.

Hope this helps. And sorry if it doesn't. ;)

Thanks.

-Girish

-- 
unix soi qui mal y pense

UNIX to him who evil thinks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm-binary: Unable to connect to socket: hostname nor servname provided (SOLVED)

2007-11-21 Thread Laszlo Nagy
The problem was that gdm was compiled with IPv6 support but the kernel 
wasn't. This should not cause the gdm process to freeze and only exit 
with kill -9 right?



Thanks,

  Laszlo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm-binary: Unable to connect to socket: hostname nor servname provided

2007-11-20 Thread Laszlo Nagy


 Hi All,

Do you have any idea what is the problem with my settings? gdm places 
this message in /var/log/messages:


Nov 20 12:19:05 cassiopeia gdm-binary[1167]: ERROR: Unable to connect to 
socket: hostname nor servname provided, or not known aborting...


The local X server starts, but gdm is not accepting connections on 
TCP/177. This is the problem, because I want many clients connect to 
this computer with xdmcp.


My ports tree was first downloaded via portsnap fetch three days ago. 
All ports have been compiled from this ports tree.  My 
/usr/local/etc/gdm/custom.conf file has these modifications:


snip
[security]
DisallowTCP=false

[xdmcp]
Enable=true
/snip

Here is some more information:


snip
cassiopeia# uname -a
FreeBSD cassiopeia.ronet 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Thu 
Nov 15 17:19:45 EST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CASSIOPEIA  amd64

cassiopeia# hostname
cassiopeia.ronet
cassiopeia# cat /etc/resolv.conf
search ronet
nameserver 192.168.0.1
cassiopeia# host cassiopeia
cassiopeia.ronet has address 192.168.0.1
cassiopeia# ipfw show
00050 4320 696526 divert 8668 ip4 from any to any via rl0
00100  112   8560 allow ip from any to any via lo0
002000  0 deny ip from any to 127.0.0.0/8
003000  0 deny ip from 127.0.0.0/8 to any
65000 4320 696526 allow ip from any to any
655350  0 deny ip from any to any
cassiopeia# pkg_info | grep gdm
gdm-2.20.1_1GNOME 2 version of xdm display manager
cassiopeia#ifconfig
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet 192.168.1.105 netmask 0xff00 broadcast 192.168.1.255
   ether 00:0e:2e:8f:13:03
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
   ether 00:1a:4d:7b:cf:d6
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00
cassiopeia# cat /etc/rc.conf
moused_flags=
moused_port=/dev/psm0
moused_type=auto
moused_enable=YES

gateway_enable=YES
hostname=cassiopeia.ronet

ifconfig_rl0=inet 192.168.1.105 netmask 255.255.255.0
ifconfig_re0=inet 192.168.0.1 netmask 255.255.255.0

firewall_enable=YES
firewall_type=/etc/ipfw.conf

local_startup=/usr/local/etc/rc.d

gnome_enable=YES


inetd_enable=YES  # TFTP
named_enable=YES  # DNS cache, local DNS 
(diskless1XX.ronet)


dhcpd_enable=YES  # dhcpd enabled?
dhcpd_flags=-q# command option(s)
dhcpd_conf=/usr/local/etc/dhcpd.conf  # configuration file
dhcpd_ifaces=re0  # ethernet interface(s)
dhcpd_withumask=022   # file creation mask


nfs_server_enable=YES
nfs_reserved_port_only=YES
rcpbind_enable=YES
mountd_flags=-r
rpc_lockd_enable=YES
rpc_statd_enable=YES

natd_enable=YES
natd_interface=rl0
natd_flags=

/snip

Thanks,

  Laszlo



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Greeter application missing (??) gdm login ?

2007-10-30 Thread Gary Kline
On Mon, Oct 29, 2007 at 10:39:29PM +, Tino Engel wrote:
 Stupid question:
 Have you reinstalled gdm? That should fix missing files.


Hmm.  I figured that gdm was part of the gnome2 built.
I'll look for a seperate gdm utility/daemon.  

danke,

gary

 
 Best regards, Tino
 
 Am Montag 29 Oktober 2007 06:24 schrieb Gary Kline:
  Well, I managed to hose my gnome config *thoroughly*.  Can
  anybody clue me in how to set things right?
 
  /home is now where /usr/home was before.  I have a dummy
  acccolunt that when I typr (as root) kdm, KDE starts up.
  But trying gdm (or automating this in /etc/rc.conf) gets me
  nowhere.  I deleted ~/.gnome2 thinking that itwould be rebuilt on
  my next login. Nope.  --i Also messed with the login screen
  andnow I see a large daisy on the lower right.  There is a dialog
  about my missing some files in /var/tmp.
 
  Any/all insights welcome here!
 
  gary
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Greeter application missing (??) gdm login ?

2007-10-29 Thread Gary Kline
Well, I managed to hose my gnome config *thoroughly*.  Can
anybody clue me in how to set things right?

/home is now where /usr/home was before.  I have a dummy
acccolunt that when I typr (as root) kdm, KDE starts up.
But trying gdm (or automating this in /etc/rc.conf) gets me
nowhere.  I deleted ~/.gnome2 thinking that itwould be rebuilt on
my next login. Nope.  --i Also messed with the login screen
andnow I see a large daisy on the lower right.  There is a dialog
about my missing some files in /var/tmp.  

Any/all insights welcome here!

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Greeter application missing (??) gdm login ?

2007-10-29 Thread James
On 10/29/07, Gary Kline [EMAIL PROTECTED] wrote:

 Well, I managed to hose my gnome config *thoroughly*.  Can
 anybody clue me in how to set things right?

 /home is now where /usr/home was before.  I have a dummy
 acccolunt that when I typr (as root) kdm, KDE starts up.
 But trying gdm (or automating this in /etc/rc.conf) gets me
 nowhere.  I deleted ~/.gnome2 thinking that itwould be rebuilt on
 my next login. Nope.  --i Also messed with the login screen
 andnow I see a large daisy on the lower right.  There is a dialog
 about my missing some files in /var/tmp.

 Any/all insights welcome here!

 gary



 --
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
   http://jottings.thought.org   http://transfinite.thought.org

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


Have you tried following the handbook's setup tips again?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

I don't *imagine* that'll get it, and you should make sure that your xinitrc
doesn't contain two copies of the line, but it mightn't be bad to start at
the beginning.

James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Greeter application missing (??) gdm login ?

2007-10-29 Thread Tino Engel
Stupid question:
Have you reinstalled gdm? That should fix missing files.

Best regards, Tino

Am Montag 29 Oktober 2007 06:24 schrieb Gary Kline:
   Well, I managed to hose my gnome config *thoroughly*.  Can
   anybody clue me in how to set things right?

   /home is now where /usr/home was before.  I have a dummy
   acccolunt that when I typr (as root) kdm, KDE starts up.
   But trying gdm (or automating this in /etc/rc.conf) gets me
   nowhere.  I deleted ~/.gnome2 thinking that itwould be rebuilt on
   my next login. Nope.  --i Also messed with the login screen
   andnow I see a large daisy on the lower right.  There is a dialog
   about my missing some files in /var/tmp.

   Any/all insights welcome here!

   gary
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Greeter application missing (??) gdm login ?

2007-10-29 Thread Gary Kline
On Mon, Oct 29, 2007 at 03:13:55PM -0600, James wrote:
 On 10/29/07, Gary Kline [EMAIL PROTECTED] wrote:
 
  Well, I managed to hose my gnome config *thoroughly*.  Can
  anybody clue me in how to set things right?
 
  /home is now where /usr/home was before.  I have a dummy
  acccolunt that when I typr (as root) kdm, KDE starts up.
  But trying gdm (or automating this in /etc/rc.conf) gets me
  nowhere.  I deleted ~/.gnome2 thinking that itwould be rebuilt on
  my next login. Nope.  --i Also messed with the login screen
  andnow I see a large daisy on the lower right.  There is a dialog
  about my missing some files in /var/tmp.
 
  Any/all insights welcome here!
 
  gary
 
 
 
  --
Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 Have you tried following the handbook's setup tips again?
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
 
 I don't *imagine* that'll get it, and you should make sure that your xinitrc
 doesn't contain two copies of the line, but it mightn't be bad to start at
 the beginning.
 
 James


Thanks for the pointer to the handbook;  I never have done much
Gnome setup work.  I decided to bite the bullet and upgrade alll
four BSD servers to the lastest Gnome.  A fault in portupgrade
caused me to pkg_delete kde3, so I'm rebuuilding that too.  ...At
least, after hours of pounding keys, the computers are doing the
work.

(*whew*)

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xvnc query to gdm failing

2007-07-27 Thread Adam J Richardson

Hi all,

I'm trying to use VNC to log into my FreeBSD laptop from another laptop 
[why? to learn how], but I'm stuck. I'm logged into gdm using display 0, 
typing this email at the keyboard that's physically attached to the gdm 
box. I'm getting the grey screen problem when I log in remotely though. 
The VNC client connects to Xvnc fine, but the gdm login client does not 
appear on the VNC display.


A quick netstat -an | grep 177 shows port udp/177 in LISTEN mode, as 
expected.


I figure perhaps it's a user permissions problem. I'm using xinetd to 
run Xvnc as user nobody, so perhaps nobody has no access rights to 
gdm? The only problem is, I can't seem to find gdm.conf. It doesn't 
exist on the system. The command


sudo find / | grep gdm.conf

yields nothing. Where is it storing its settings if not in gdm.conf?

Adam J Richardson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xvnc query to gdm failing

2007-07-27 Thread Pollywog

 sudo find / | grep gdm.conf

 yields nothing. Where is it storing its settings if not in gdm.conf?

Did you check /usr/local/etc/gdm/  ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xvnc query to gdm failing

2007-07-27 Thread Adam J Richardson

Pollywog wrote:

sudo find / | grep gdm.conf

yields nothing. Where is it storing its settings if not in gdm.conf?


Did you check /usr/local/etc/gdm/  ?


Ah... thanks. We both got halfway there, thus yielding a complete 
solution. For some reason gdm.conf exists in some versions of gdm before 
2.18, but not in 2.18 itself. Guess who updated recently? :D


Presumably users were having terrible difficulties with a file called 
gdm.conf. Possibly it was confusing or something. Anyway, the gdm devs 
changed it to custom.conf in /usr/local/etc/gdm/ and I'm sure they were 
right to do so.


Sigh.

Hey, I said something pretty stupid... I said the UDP port was in LISTEN 
mode. Of course UDP ports normally wait for datagrams, not listen for 
connections. Although as I understand it UDP sockets can be configured 
for streams. But that's not the point, because I was reading the line 
above in error. Whoops! :D


No luck with Xvnc/gdm yet. I tried setting the gdm user to nobody as 
well, but it hasn't helped. I'll go back to this tomorrow, my brain 
hurts. I'll get on with some nice simple Apache chrooting instead.


Thanks,
Adam J Richardson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: starting GDM gets me an xterm, not the Gnome desktop

2007-05-10 Thread Lowell Gilbert
[EMAIL PROTECTED] (Bob Middaugh) writes:

 Hi everyone,
 I installed 6.2 and chose X-Developer for the distribution.  After the 
 install, but still in sysinstall, chose gnome from the packages.  When gnome 
 finished installing, I rebooted.  I did startx as root and got the xterm, but 
 when I typed gdm from the prompt, nothing happened.  

 So, I went back into sysinstall and chose gdm(usually it gets installed as a 
 D).  After the gdm install, I did startx as root, got the xterm, typed gdm, 
 got the gdm dialog box and logged in.  Instead of getting the gnome desktop, 
 I got an xterm session.  This has never happened to me before, and I know 
 I've been doing it this way since 6.1 for sure, but probably 6.0 as well.  

 Does anyone have any insight as to why I'm not getting the gnome desktop?

Don't start gdm with X already running.
To start it automatically, use the rc.d script.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


starting GDM gets me an xterm, not the Gnome desktop

2007-05-07 Thread Bob Middaugh
Hi everyone,
I installed 6.2 and chose X-Developer for the distribution.  After the install, 
but still in sysinstall, chose gnome from the packages.  When gnome finished 
installing, I rebooted.  I did startx as root and got the xterm, but when I 
typed gdm from the prompt, nothing happened.  

So, I went back into sysinstall and chose gdm(usually it gets installed as a 
D).  After the gdm install, I did startx as root, got the xterm, typed gdm, got 
the gdm dialog box and logged in.  Instead of getting the gnome desktop, I got 
an xterm session.  This has never happened to me before, and I know I've been 
doing it this way since 6.1 for sure, but probably 6.0 as well.  

Does anyone have any insight as to why I'm not getting the gnome desktop?

Thanks,
Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm automatic login

2007-01-03 Thread Lowell Gilbert
Alla Gofman [EMAIL PROTECTED] writes:

 Hello Joe!

  

 I followed the suggestion that you gave in following link about gdm
 automatic login

 http://lists.freebsd.org/pipermail/freebsd-questions/2004-August/054439.
 html

 and my portable computer also hangs on login screen after I reboot.

 The message is Authentication failed. Letters must be typed in the
 correct case.

That advice doesn't seem to be correct any more; the default PAM
configuration should be appropriate for use with GDM.  [I think; 
I don't actually use gdm, so I can't test this.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm automatic login

2007-01-02 Thread Alla Gofman
Hello Joe!

 

I followed the suggestion that you gave in following link about gdm
automatic login

http://lists.freebsd.org/pipermail/freebsd-questions/2004-August/054439.
html

and my portable computer also hangs on login screen after I reboot.

The message is Authentication failed. Letters must be typed in the
correct case.

 

 

Please advice me.

 

Thank you in advance.

 

Regards

 

Alla Gofman | SW Validation Engineer | EMS Division | SanDisk | t. +972
(9) 7632546 | f. +972 (3) 5488666

 


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm-autologin not working properly

2006-12-03 Thread Lars Udo

Hello folks.

I'v set up gdm-autologin at /etc/pam.d/ and done everything as told in faq
( http://www.freebsd.org/gnome/docs/faq2.html#q23 )

It asks for user to pass in, is this normal behavior.. because i expected
that when i fire up my computer, it automatically logs in and starts gnome
session.. as windows does naturally..

am i missing something here or does freebsd faq mislead me?

*(gdm)*
FILE: /etc/pam.d/gdm
clip---
#
# $FreeBSD: src/etc/pam.d/gdm,v 1.7 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the gdm service
#

# auth
auth required pam_nologin.so no_warn
#auth sufficient pam_krb5.so no_warn try_first_pass
#auth sufficient pam_ssh.so no_warn try_first_pass
auth required pam_unix.so no_warn try_first_pass

# account
#account required pam_krb5.so
account required pam_unix.so

# session
#session optional pam_ssh.so
session required pam_permit.so
---clip-

*(gdm-autologin)*
FILE: /etc/pam.d/gdm-autologin
---clip-
auth required pam_nologin.so
auth required pam_permit.so
account required pam_unix.so
session required pam_permit.so
--clip-

*(custom.conf)*
gdm's config-file:
FILE: /usr/local/etc/gdm/custom.conf
--clip
[security]
AutomaticLoginEnable=true
AutomaticLogin=lasse
--clip-

i'm running FreeBSD 6.1 with fresh install and i got gnome 2.16.2 binarys
from GNOME Tinderbox..
as told on section 21. at same FAQ

help needed..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gdm-autologin not working properly

2006-12-03 Thread trip
The fingers of Lars Udo typed on 03/12/06 12:08:
 Hello folks.
 
 I'v set up gdm-autologin at /etc/pam.d/ and done everything as told in faq
 ( http://www.freebsd.org/gnome/docs/faq2.html#q23 )
 
 It asks for user to pass in, is this normal behavior.. because i expected
 that when i fire up my computer, it automatically logs in and starts gnome
 session.. as windows does naturally..
 
 am i missing something here or does freebsd faq mislead me?
 
 *(gdm)*
 FILE: /etc/pam.d/gdm
 clip---
 
 #
 # $FreeBSD: src/etc/pam.d/gdm,v 1.7 2003/04/30 21:57:54 markm Exp $
 #
 # PAM configuration for the gdm service
 #
 
 # auth
 auth required pam_nologin.so no_warn
 #auth sufficient pam_krb5.so no_warn try_first_pass
 #auth sufficient pam_ssh.so no_warn try_first_pass
 auth required pam_unix.so no_warn try_first_pass
 
 # account
 #account required pam_krb5.so
 account required pam_unix.so
 
 # session
 #session optional pam_ssh.so
 session required pam_permit.so
 ---clip-
 
 
 *(gdm-autologin)*
 FILE: /etc/pam.d/gdm-autologin
 ---clip-
 
 auth required pam_nologin.so
 auth required pam_permit.so
 account required pam_unix.so
 session required pam_permit.so
 --clip-
 
 *(custom.conf)*
 gdm's config-file:
 FILE: /usr/local/etc/gdm/custom.conf
 --clip
 [security]
 AutomaticLoginEnable=true
 AutomaticLogin=lasse
 --clip-

Try setting automatic login through the gnome-control panel (gdmsetup):
System - Administration - Login Window - Security tab - Enable
Automatic Login
Right now i'm sitting in front of an ubuntu-box, running gnome 2.14.2,
but this way you could check into which file and under which directive
the settings are written. Funny enough, my auto-login settings are in
the [daemon] section of the conf.

 
 i'm running FreeBSD 6.1 with fresh install and i got gnome 2.16.2 binarys
 from GNOME Tinderbox..
 as told on section 21. at same FAQ
 
 help needed..
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gnome 2.16 - gdm ignores modelines or mode in xorg.conf

2006-10-31 Thread Gobbledegeek

Hi all

Got the following in xorg.conf

Section Monitor:
Modeline 1280x1024  135.00  1280 1296 1440 1688  1024 1025 1028 1066
+hsync +vsync

Section Screen:
Modes   1280x1024 1024x768

Login screen is  flickering at max  resolution of my radeon  7500 @60hz

Setup  resolution from  within  gnome and  now it changes resolution
correctly after  login. I want the default resolution  at login
screen  also.

This  is for gnome 2.16  compiled  from source.

Any  help deeply  appreciated.

Please cc  me  as I am  not subscribed.

--
Rgrds
GobbledeGeek
[Everything but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


changing the gdm resolution

2006-09-03 Thread Jordi Carrillo

Is there a way to change the gdm resolution (login screen).  It's a little
bit low for me and I need 1280x1024
thanks
--
http://jordilin.wordpress.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing the gdm resolution

2006-09-03 Thread stan
On Sun, Sep 03, 2006 at 11:52:46PM +0200, Jordi Carrillo wrote:
 Is there a way to change the gdm resolution (login screen).  It's a little
 bit low for me and I need 1280x1024
 thanks

Doesn't kdm just use the X settings? If so, you can fix this in your
X config file.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changing the gdm resolution

2006-09-03 Thread Jordi Carrillo

Already solved, thanks
Just tweaking the /etc/X11/xorg.conf has solved the problem

2006/9/4, stan [EMAIL PROTECTED]:


On Sun, Sep 03, 2006 at 11:52:46PM +0200, Jordi Carrillo wrote:
 Is there a way to change the gdm resolution (login screen).  It's a
little
 bit low for me and I need 1280x1024
 thanks

Doesn't kdm just use the X settings? If so, you can fix this in your
X config file.

--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)





--
http://jordilin.wordpress.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Session Menu xdm/gdm problem

2006-06-06 Thread Mike Hunter
On Jun 05 at 21:39, Eric Schuele wrote:

 Mike Hunter wrote:
 Hey everybody,
 
 I'm having a frustrating X problem.  I installed X via portupgrade and
 hacked /etc/ttys to enable xdm.  I can log in successfully both as root
 and as a non-priv user, but either way I get to a screen that says:
 
 Session Menu
 
 Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel
 
 But if I disable xdm and simply use startx, it launches X and my window
 manager fine.  I tried deleting my .xinitrc but that didn't help.
 
 I have a feeling some X component isn't in place.  I tried compiling gdm
 as a replacement but that didn't help (same symptoms).  I was able to run
 gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
 I could change some of the GDM settings, but I didn't see anything that I
 could twist to fix the problem.
 
 FreeBSD 6.1-RELEASE May 12
 xorg-6.9.0
 
 For xdm:
 copy your .xinitrc to .xsession and see if that helps.
 
 gdm:
 is a bit more complicated.

Thanks!  It did fix the xdm side and it did not (as you predicted) fix
gdm.

What am I missing?  What's supposed to be the difference between .xinitrc
and .xsession?

How would I fix it for gdm?

Thanks again!

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Session Menu xdm/gdm problem

2006-06-06 Thread Eric Schuele

Mike Hunter wrote:

On Jun 05 at 21:39, Eric Schuele wrote:


Mike Hunter wrote:

Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0


For xdm:
copy your .xinitrc to .xsession and see if that helps.

gdm:
is a bit more complicated.


Thanks!  It did fix the xdm side and it did not (as you predicted) fix
gdm.


NP.  Glad it fixed it.



What am I missing?  What's supposed to be the difference between .xinitrc
and .xsession?


The difference...  well...  for your intents and purposes, .xinitrc is 
run via 'startx', while .xsession is used by xdm.  But that's not really 
a good answer to the question.  Google will be your friend here.




How would I fix it for gdm?


Try this:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/119887.html



Thanks again!

Mike




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Session Menu xdm/gdm problem

2006-06-05 Thread Mike Hunter
Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Session Menu xdm/gdm problem

2006-06-05 Thread Vitaly D

From: Mike Hunter [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: Session Menu xdm/gdm problem Date: Mon, 5 Jun 2006 14:47:09 
-0700


Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0


you should place .xinitrc file in your home directory a model can be found 
in /etc/X11/xinitrc


simply copy it to .xinitrc in your homedir

_
Windows Live Mail : découvrez et testez la version bêta ! 
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Session Menu xdm/gdm problem

2006-06-05 Thread Vitaly D

From: Mike Hunter [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: Session Menu xdm/gdm problem Date: Mon, 5 Jun 2006 14:47:09 
-0700


Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0



You should place .xinitrc in your home directory. simply copy 
/etc/X11/xinit/xinitrc to ~/.xinitrc

that should work

_
Retrouvez tout en un clin d'oeil avec la barre d'outil MSN Search ! 
http://desktop.msn.fr/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Session Menu xdm/gdm problem

2006-06-05 Thread Eric Schuele

Mike Hunter wrote:

Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


For xdm:
copy your .xinitrc to .xsession and see if that helps.

gdm:
is a bit more complicated.

--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing gdm themes?

2006-05-19 Thread Angelin Lalev
On Thu, 18 May 2006 19:18:25 -0400
Lowell Gilbert [EMAIL PROTECTED] wrote:

 Angelin Lalev [EMAIL PROTECTED] writes:
 
  gdmsetup binary seem to miss from the last gnome gdm port.
 
 Look in /usr/X11R6/sbin.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
There it is. Thanks. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing gdm themes?

2006-05-18 Thread Lowell Gilbert
Angelin Lalev [EMAIL PROTECTED] writes:

 gdmsetup binary seem to miss from the last gnome gdm port.

Look in /usr/X11R6/sbin.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing gdm themes?

2006-05-17 Thread Angelin Lalev
gdmsetup binary seem to miss from the last gnome gdm port.
If that's normal, what is the proper manual way of installing 
themes?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble setting up GDM

2006-05-02 Thread Peter
Hi everyone.  I am running fluxbox on my 5.4 system and I am having
trouble setting up gdm.  Can anyone help?

$ ls -lh /usr/X11R6/etc/gdm
total 38
drwxr-xr-x  2 root  wheel   512B May  2 11:00 Init
drwxr-xr-x  2 root  wheel   512B May  2 11:00 PostLogin
drwxr-xr-x  2 root  wheel   512B May  2 11:00 PostSession
drwxr-xr-x  2 root  wheel   512B May  2 11:00 PreSession
drwxr-xr-x  2 root  wheel   512B May  2 16:12 Sessions
-r-xr-xr-x  1 root  wheel   5.4K May  2 11:00 XKeepsCrashing
-r-xr-xr-x  1 root  wheel   6.2K May  2 11:00 Xsession
-rw-r--r--  1 root  wheel   1.8K May  2 16:09 custom.conf
-r--r--r--  1 root  wheel   1.8K May  2 11:00 custom.conf.default
-r--r--r--  1 root  wheel   4.0K May  2 11:00 locale.alias
-r--r--r--  1 root  wheel   4.0K May  2 11:00 locale.alias.orig
drwxr-xr-x  2 root  wheel   512B May  2 11:00 modules


The fluxbox docs say to create the script 'fluxbox' under the Sessions
directory:

$ cat fluxbox
#!/bin/sh
exec /usr/X11R6/etc/gdm/Xsession /usr/X11R6/bin/fluxbox


But it doesn't work.  This is what I get:

$ cat .xsession-errors 
/usr/X11R6/etc/gdm/PreSession/Default: Registering your session with
wtmp and utmp
/usr/X11R6/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg
-a -w /var/log/wtmp -u /var/run/utmp -x /var/gdm/:1.Xservers -h  -l
:1 peter
/usr/X11R6/etc/gdm/Xsession: Beginning session setup...
/usr/X11R6/etc/gdm/Xsession: Cannot find Xclients
/usr/X11R6/etc/gdm/Xsession: Setup done, will execute:
/usr/bin/ssh-agent -- xsm
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  202
  Current serial number in output stream:  203


Also, the gdmsetup utility (that edits custom.conf above) does not
start no matter what I do with the DISPLAY variable:

(gdmsetup:804): Gtk-WARNING **: cannot open display:

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-26 Thread Norberto Meijome
On Mon, 24 Apr 2006 09:13:02 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

 Yeah... that's why I started out with XDM.  However, after some time, 
 and loading apps I was interested in, I turned around and noticed I was 
 only missing two GDM dependencies anyway... so I figured a little eye 
 candy can't hurt.

i'll be d... I just checked, andi think i have 1 or 2 packages missing...none
of the big gnome ones (i already have those!)... i think it's back to gdm
then :D... though I do seem to remember some kind of issue with sessions ;)

thanks for the info :)
B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions.... [Solved]

2006-04-24 Thread Eric Schuele

Joseph Vella wrote:

On Sunday 23 April 2006 19:35, Eric Schuele wrote:

Norberto Meijome wrote:

On Sun, 23 Apr 2006 11:02:53 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

I have GDM installed and working.  I *do not* have gnome installed.  I 
was hoping GDM would do as XDM and just run my .xsession.  But it does 
not.  I would simply like it to be an XDM replacement.  I


I stuck my head in a gnome IRC channel and got some pointers.  Got it 
running well now.





So what got it working for you?


Ah, yes... sorry.

So... I had found a few HowTo's on customizing GDM on the web.  All said 
similar things but nothing worked for me.  What they said to do *was* 
important, and in fact was 99% of the work.  So here's what I did to get 
GDM to run my .xsession file (last step did the trick):


 1) install /x11/gdm
 2) make sure you have an ~/.xsession file (setup however you like)
 3) make sure you have #!/bin/sh as first line
 4) make sure ~/.xsession is executable
 5) create a file /usr/X11R6/etc/gdm/Sessions/MySession.desktop
(replace MySession with whatever name you like)
 6) Give it the following contents
[Desktop Entry]
Encoding=UTF-8
Name=XSession
Comment=This session will run your ~/.xsession
Exec=~/.xsession
Icon=
Type=Application
(feel free to change name and comment to liking)
 7) Edit your /usr/X11R6/etc/gdm/gdm.conf. Search for 
SessionDesktopDir.  In my conf file it was commented out (plus a typo). 
 So I created a new SessionDesktopDir and pointed it where I placed my 
*.desktop file.  Such as SessionDesktopDir=/usr/X11R6/etc/gdm/Sessions/.


That's it.  My new session is now visible, and runs my .xsession 
seemingly just as XDM had.


There's plenty of eye candy for GDM.  I'm sure there is a port in ports 
that will install some, but haven't looked.  I simply copied a dir of 
themes from a gentoo box.


HTH.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-24 Thread Eric Schuele

Norberto Meijome wrote:

On Sun, 23 Apr 2006 21:35:21 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

Though I am starting to experiment with various display managers.  Can 
you tell me what it is you like (and dislike) about wdm (i've not heard 
much about wdm)?


port = x11/wdm

Very few dependencies (in particular, it doesnt depend on the GNOME or KDE lot).


Yeah... that's why I started out with XDM.  However, after some time, 
and loading apps I was interested in, I turned around and noticed I was 
only missing two GDM dependencies anyway... so I figured a little eye 
candy can't hurt.



Quite configurable.

it just works. looks better than the original XDM, though i didnt spend too
much time playing with XDM itself... i may go back to XDM, just to have less
ports on my system.

B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GDM sessions....

2006-04-23 Thread Eric Schuele

Hello,

I am toying with GDM a bit.  And am having some difficulties configuring 
it the way I want.  I had looked at the FreeBSD/GNOME handbook and found 
no mention of places for 'support' (mailing-lists, irc, etc).  I was 
hoping someone could point me towards a good source of info.


Should anyone be interested in the problem at hand:
I have GDM installed and working.  I *do not* have gnome installed.  I 
was hoping GDM would do as XDM and just run my .xsession.  But it does 
not.  I would simply like it to be an XDM replacement.  I've googled a 
bit and not found the answer.  I did find a reference to creating a 
.xprofile file.  I copied my .xsession file to .xprofile, and it at 
first appeared to be exactly what I wanted except... when I exit my 
windowmanager (hoping to logout), I was then sent to a twm session.  I 
must exit the twm session to get returned back to GDM.  Any tips would 
be appreciated.


--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-23 Thread Pete Slagle

Eric Schuele wrote:

I have GDM installed and working.  I *do not* have gnome installed.  I 
was hoping GDM would do as XDM and just run my .xsession.  But it does 
not.  I would simply like it to be an XDM replacement.


I use KDM for this. Configuration is quite flexible.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-23 Thread Eric Schuele

Pete Slagle wrote:

Eric Schuele wrote:

I have GDM installed and working.  I *do not* have gnome installed.  I 
was hoping GDM would do as XDM and just run my .xsession.  But it does 
not.  I would simply like it to be an XDM replacement.


I use KDM for this. Configuration is quite flexible.



Yeah... I know.  I'll eventually get around to KDM, just playing with 
GDM presently.  GDM is supposed to be flexible as well.  I just can't 
seem to make it flex for me.  :)




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-23 Thread Norberto Meijome
On Sun, 23 Apr 2006 11:02:53 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

 I have GDM installed and working.  I *do not* have gnome installed.  I 
 was hoping GDM would do as XDM and just run my .xsession.  But it does 
 not.  I would simply like it to be an XDM replacement.  I

I use wdm instead of XDM, KDM or GDM. I use xfce4, and launch xfce session from
my .xsession file. 

If you cant figure out how to tie it all together i can send relevant config
files.

Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-23 Thread Eric Schuele

Norberto Meijome wrote:

On Sun, 23 Apr 2006 11:02:53 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

I have GDM installed and working.  I *do not* have gnome installed.  I 
was hoping GDM would do as XDM and just run my .xsession.  But it does 
not.  I would simply like it to be an XDM replacement.  I


I use wdm instead of XDM, KDM or GDM. I use xfce4, and launch xfce session from
my .xsession file. 


If you cant figure out how to tie it all together i can send relevant config
files.


I stuck my head in a gnome IRC channel and got some pointers.  Got it 
running well now.


Though I am starting to experiment with various display managers.  Can 
you tell me what it is you like (and dislike) about wdm (i've not heard 
much about wdm)?




Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-23 Thread Norberto Meijome
On Sun, 23 Apr 2006 21:35:21 -0500
Eric Schuele [EMAIL PROTECTED] wrote:

 Though I am starting to experiment with various display managers.  Can 
 you tell me what it is you like (and dislike) about wdm (i've not heard 
 much about wdm)?

port = x11/wdm

Very few dependencies (in particular, it doesnt depend on the GNOME or KDE lot).
Quite configurable.

it just works. looks better than the original XDM, though i didnt spend too
much time playing with XDM itself... i may go back to XDM, just to have less
ports on my system.

B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM sessions....

2006-04-23 Thread Joseph Vella
On Sunday 23 April 2006 19:35, Eric Schuele wrote:
 Norberto Meijome wrote:
  On Sun, 23 Apr 2006 11:02:53 -0500
  Eric Schuele [EMAIL PROTECTED] wrote:
  
  I have GDM installed and working.  I *do not* have gnome installed.  I 
  was hoping GDM would do as XDM and just run my .xsession.  But it does 
  not.  I would simply like it to be an XDM replacement.  I
  
  I use wdm instead of XDM, KDM or GDM. I use xfce4, and launch xfce session 
from
  my .xsession file. 
  
  If you cant figure out how to tie it all together i can send relevant 
config
  files.
 
 I stuck my head in a gnome IRC channel and got some pointers.  Got it 
 running well now.
 


So what got it working for you?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm

2006-02-28 Thread RYAN M. vAN GINNEKEN
I am using the gdm interface to gnome however i also have fluxbox and kde 
installed i have tried adding files to the gdm/xsession directory but nothing 
happens

[EMAIL PROTECTED] cd /usr/X11R6/etc/gdm/Sessions/
[EMAIL PROTECTED] ls -l
total 4
-rwxr-xr-x  1 root  wheel  165 Feb 23 03:32 fluxbox
-rwxr-xr-x  1 root  wheel   95 Feb 19 04:35 kde

here are the contains of my kde file for example

#!/bin/sh
#
# /etc/gdm/Sessions/kde
#
# global kde session file -- used by gdm

exec startkde


-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm, dbus or xscreensaver...?

2005-12-31 Thread Jeff Molofee
I've had a serious problem this past week. I did an update last week, 
and after rebooting, I noticed an odd bar of scrambled graphics at the 
top of the screen in gdm/gnome. When I moved the mouse the bar would 
change, my keyboard would lock, etc. I ended up removing everything, and 
reinstalling clean.


For the past 3 nights everything has been fine. Until I updated my ports 
today.


From console I watched the system upgrade GDM, DBUS and XSCREENSAVER. I 
shutdown, restarted my machine, and as soon as the gdm login screen 
appears I see this scrambled bar of color at the top of the screen. It 
looks like the mouse is somehow causing data to write directly to the 
display. I can still see my mouse pointer, and everything seems to be 
fine (keyboard works), but this bar of about 20-50 pixels full of random 
colors wont go away. The minute I move the mouse those lines are filled 
with colors.


I tried disabling dbus. This didn't help. I removed, and reinstalled 
gdm, nothing. I removed and reinstalled xscreensaver, still nothing. I 
know those were the only threee ports upgraded. Does anyone know what's 
going on?


releng_6
intel cpu
sata drives
usb mouse/keyboard
gnome2
all ports up to date
kernel/world up to date
nvidia 5900fx

all worked fine a few hours ago :)

I can send a screenshot if anyone would like to see the problem.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GDM, Xscreensaver, DBus follow up...

2005-12-31 Thread Jeff Molofee
Well, it turns out my video related problems are tied to Webmin. If I 
remove or disable webmin I no longer have colored bars of random data at 
the top of my screen. I'm not sure if this problem directly relates to 
one of the above 3 programs, but I can tell you without a doubt that if 
I enable webmin, the problem appears. Was anything changed in the above 
programs that may cause this to happen?


Also, can anyone tell me where I can read about the new changes to the 
sound system in FreeBSD 6 stable?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is GDM ?

2005-11-10 Thread Peter Clutton
On 11/10/05, ptitoliv [EMAIL PROTECTED] wrote:
 Oops sorry it was my fault. Just a little path problem.

Also for future, you asked the correct question: Where is gdm. Typing
it in thus, will give you the answer for future path problems.

%whereis gdm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is GDM ?

2005-11-10 Thread Garrett Cooper

On Nov 9, 2005, at 1:51 PM, Peter Clutton wrote:


On 11/10/05, ptitoliv [EMAIL PROTECTED] wrote:

Oops sorry it was my fault. Just a little path problem.


Also for future, you asked the correct question: Where is gdm. Typing
it in thus, will give you the answer for future path problems.

%whereis gdm


Of course, that is without the percent sign.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where is GDM ?

2005-11-09 Thread ptitoliv
Hello everybody,

I am trying to install GDM on a new BSD 6.0 box. I tried to compile the
port and to install the package but there is the sameproblem, gdm binaries
are not available after the install ?

Did I do something wrong or is there a bug ?

Thank you for your answers

Best regards

ptitoliv

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >